LinHES Forums http://forum.linhes.org/ |
|
Myth Archive http://forum.linhes.org/viewtopic.php?f=6&t=17446 |
Page 1 of 2 |
Author: | Digriz77 [ Wed Dec 19, 2007 5:22 pm ] |
Post subject: | Myth Archive |
gday, Im having trouble with myth archive. When i select it from the menu it loads for about 10 minutes on the same screen then drops out to the penguine screen and stops the backend. I tried again this morning and this time it got to the find files to burn menu but when I clicked it 10 minutes latter after reading the hardrive none stop.... it dropped back to the penguine and stopped the backend. I also have the same problem with myth music when i go into the music settings to scan for new music. has anyone else faced this problem? i have a pentium 4 2.66gig running with a fx5200 and a dvico plus pci card. Im running r5f1 |
Author: | slowtolearn [ Wed Dec 19, 2007 5:37 pm ] |
Post subject: | |
Check your log files - See http://www.knoppmythwiki.org/index.php? ... ngLogFiles You probably want to key on the mythbackend.log and .xsession-errors files at first. Another thing you can try is running mythfrontend from an xterm with the "-v all" option. When the frontend bombs some indication of the problem should be evident in the output on your screen. |
Author: | mjl [ Wed Dec 19, 2007 7:18 pm ] |
Post subject: | |
Hi, Not sure about the archive issue however it sounds as if you may have a double link in /myth/music . If you do ls -al /myth/music and then see another music then it will try to repeat forever doing a search. Simply remove the extra link and should be good. It may be the same for the archive. Mike |
Author: | tjc [ Wed Dec 19, 2007 8:19 pm ] |
Post subject: | |
Have you tried all the suggestions in the thread linked to in the R5F27 Hints under Known Change 7.4? (The R5F1 Hints say exactly the same thing.) |
Author: | tscholl [ Wed Dec 19, 2007 11:38 pm ] |
Post subject: | |
Have you configure MythArchive in Setup? If you haven't , you need to. It sets the location for the tmp files. If you omit this step it will do that as well. |
Author: | Digriz77 [ Thu Dec 20, 2007 5:08 am ] |
Post subject: | |
Sorry, I hadnt named a temp directory in archive settings. Thanks for all your help. Also when i ran ls -al /myth/music i got the following. drwxrwxr-x 23 mythtv mythtv 4096 Dec 1 17:47 . drwxr-xr-x 23 root root 4096 Jun 22 22:34 .. is that my problem with the music. should there be these two files or only one. |
Author: | slowtolearn [ Thu Dec 20, 2007 6:53 am ] |
Post subject: | |
Digriz77 wrote: Also when i ran ls -al /myth/music i got the following. Those aren't files, they are directories (specifically, This Directory (the single . ) and it's Parent Directory (..) )
drwxrwxr-x 23 mythtv mythtv 4096 Dec 1 17:47 . drwxr-xr-x 23 root root 4096 Jun 22 22:34 .. is that my problem with the music. should there be these two files or only one. There are no files in the listing you show above, did you have files in /myth/music at one time? |
Author: | tscholl [ Thu Dec 20, 2007 9:09 am ] |
Post subject: | |
Code: I hadnt named a temp directory in archive settings.
Did the same thing myself first time I set it up. You might want to add Solved to the end of the title if that fixed your problem. Tim |
Author: | Digriz77 [ Thu Dec 20, 2007 6:42 pm ] |
Post subject: | |
Bugger, I thought that would have fixed it. I have followed the advice in the known issues and created the directory. But Im still crashing back to the penguine screen. I had a look at my error logs and cant see anything that has been written during one of these crashes. One thing I have noticed in my error log is that i am having errors intermitantly about insuficient memory. I only have a 256 meg of ram.... could this be whats causing my problems? |
Author: | slowtolearn [ Thu Dec 20, 2007 9:06 pm ] |
Post subject: | |
Digriz77 wrote: Bugger, I thought that would have fixed it. I have followed the advice in the known issues and created the directory. But Im still crashing back to the penguine screen. I had a look at my error logs and cant see anything that has been written during one of these crashes. One thing I have noticed in my error log is that i am having errors intermitantly about insuficient memory. Can you post a snippet of the log file you are referring to? I wouldn't think 256Mb of memory would cause the problems you are describing.
I only have a 256 meg of ram.... could this be whats causing my problems? Have you tried running mythfrontend with the -v all option? |
Author: | Digriz77 [ Fri Dec 21, 2007 3:47 am ] |
Post subject: | |
Here are some of the errors I get from the mythbackendlog [code]2007-12-21 18:14:13.494 New DB connection, total: 2 2007-12-21 18:14:13.548 Connected to database 'mythconverg' at host: localhost 2007-12-21 18:14:13.581 EITHelper: localtime offset 10:00:00 2007-12-21 18:14:13.693 New DB connection, total: 3 2007-12-21 18:14:13.731 Connected to database 'mythconverg' at host: localhost 2007-12-21 18:14:13.891 New DB scheduler connection 2007-12-21 18:14:13.927 Connected to database 'mythconverg' at host: localhost 2007-12-21 18:14:13.959 Main::Starting HttpServer 2007-12-21 18:14:14.001 Main::Registering HttpStatus Extension 2007-12-21 18:14:14.052 mythbackend version: 0.20.20060828-4 www.mythtv.org 2007-12-21 18:14:14.054 Enabled verbose msgs: important general[/code] Here is a snippet from my syslog [code]Dec 21 19:04:39 mythtv kernel: DMA32: empty Dec 21 19:04:39 mythtv kernel: Normal: 71*4kB 0*8kB 5*16kB 0*32kB 1*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 2220kB Dec 21 19:04:39 mythtv kernel: HighMem: empty Dec 21 19:04:39 mythtv kernel: Swap cache: add 514340, delete 514332, find 37777/54711, race 40618+2 Dec 21 19:04:39 mythtv kernel: Free swap = 0kB Dec 21 19:04:39 mythtv kernel: Total swap = 385552kB Dec 21 19:04:39 mythtv kernel: Free swap: 0kB Dec 21 19:04:39 mythtv kernel: 65520 pages of RAM Dec 21 19:04:39 mythtv kernel: 0 pages of HIGHMEM Dec 21 19:04:39 mythtv kernel: 2323 reserved pages Dec 21 19:04:39 mythtv kernel: 628 pages shared Dec 21 19:04:39 mythtv kernel: 8 pages swap cached Dec 21 19:04:39 mythtv kernel: 0 pages dirty Dec 21 19:04:39 mythtv kernel: 0 pages writeback Dec 21 19:04:39 mythtv kernel: 60 pages mapped Dec 21 19:04:39 mythtv kernel: 2628 pages slab Dec 21 19:04:39 mythtv kernel: 383 pages pagetables Dec 21 19:05:01 mythtv /USR/SBIN/CRON[4120]: (root) CMD ([ -x /usr/lib/sysstat/sa1 ] && { [ -r "$DEFAULT" ] && . "$DEFAULT" ; [ "$ENABLED" = "true" ] && exec /usr/lib/sysstat/sa1 $SA1_OPTIONS 1 1 ; }) Dec 21 19:09:01 mythtv /USR/SBIN/CRON[4123]: (root) CMD ( [ -d /var/lib/php4 ] && find /var/lib/php4/ -type f -cmin +$(/usr/ lib/php4/maxlifetime) -print0 | xargs -r -0 rm) 2007-12-21 18:14:14.161 AutoExpire: Found 1 recorders w/max rate of 138 MiB/min 2007-12-21 18:14:14.258 AutoExpire: Required Free Space: 3.0 GB w/freq: 10 min 2007-12-21 18:14:16.064 Reschedule requested for id -1. 2007-12-21 18:14:17.702 Scheduled 1 items in 1.6 = 1.17 match + 0.46 place 2007-12-21 18:14:17.866 Seem to be woken up by USER 2007-12-21 18:14:33.926 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074123.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-21 18:14:34.076 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074124.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-21 18:15:34.493 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074123.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-21 18:15:34.531 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074124.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-21 18:16:12.414 EITScanner: Now looking for EIT data on multiplex of channel 30 2007-12-21 18:16:34.589 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074123.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-21 18:16:34.592 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074124.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-21 18:18:12.774 MainServer::HandleAnnounce Monitor 2007-12-21 18:18:12.775 adding: mythtv as a client (events: 0) 2007-12-21 18:18:12.776 MainServer::HandleAnnounce Monitor 2007-12-21 18:18:12.778 adding: mythtv as a client (events: 1) 2007-12-21 18:18:35.162 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074123.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-21 18:18:35.252 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074124.mpg. File doesn't exis t. Database metadata will not be removed.[/code] in that file i found also this ref [code]Dec 21 06:31:08 mythtv kernel: Out of Memory: Kill process 3588 (x-window-manage) score 213915 and children. Dec 21 06:31:08 mythtv kernel: Out of memory: Killed process 3622 (ssh-agent).[/code] Im a noobie but I am trying to learn and I have tried to find answers I just dont understand fully what gets outputed. Is there somewhere to learn what the errors mean. Im in the process of doing the -v all |
Author: | tscholl [ Fri Dec 21, 2007 8:42 am ] |
Post subject: | |
Just a thought, did you create a new directory for MythArchive to use or point to an existing one? Code: I have followed the advice in the known issues and created the directory. But Im still crashing back to the penguine screen.
If you created a new directory what user did you create the directory as? It could be a permisions problem. Configure it to use /tmp anyone can write there and that would eliminate a permissions problem. |
Author: | Digriz77 [ Fri Dec 21, 2007 5:35 pm ] |
Post subject: | |
I did what you suggested and used /tmp.... no luck. It still drops out. Sometimes it drops out on the Archive menu sometimes it gets past this and when i click find files to archive it drops out there. I have about 16 gig of space left on my harddrive could that be causing it? I also tried starting from xterm with -v all but it just drops back again when i go to the archive file and all xterm says is killed. |
Author: | slowtolearn [ Sat Dec 22, 2007 9:03 am ] |
Post subject: | |
Digriz77 wrote: Code: 2007-12-21 18:15:34.493 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074123.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-21 18:15:34.531 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074124.mpg. File doesn't exis t. Database metadata will not be removed. Code: >/myth/tv/1007_20070622074123.mpg >/myth/tv/1007_20070622074124.mpg Digriz77 wrote: I also tried starting from xterm with -v all but it just drops back again when i go to the archive file and all xterm says is killed. What you are after is all the fun stuff above that - Whatever led to the "Killed".
Has this ever worked? Is this a new install or an upgrade (and if so, from what version)? Does R5F1 have the /var/log/mythtv/mythfrontend.log file? If so, that should help pinpoint the problem. |
Author: | Digriz77 [ Sun Dec 23, 2007 7:22 am ] |
Post subject: | |
Im running r5f1 and nothing occurred in my frontendlog: here it is and I ran the crash at 11:00 2007-12-23 21:22:21.864 AFD: Opened codec 0x8fece20, id(MP3) type(Audio) 2007-12-23 21:22:21.864 AFD: Opened codec 0x9e3bf00, id(MPEG2VIDEO) type(Video) 2007-12-23 21:31:42.106 Current Schema Version: 1160 2007-12-23 21:31:42.125 mythfrontend version: 0.20.20060828-4 www.mythtv.org 2007-12-23 21:31:42.125 Enabled verbose msgs: important general 2007-12-23 21:31:43.975 Total desktop dim: 800x600, with 1 screen[s]. 2007-12-23 21:31:43.977 Using screen 0, 800x600 at 0,0 2007-12-23 21:31:43.978 Switching to wide mode (blootube-wide) 2007-12-23 21:31:44.062 Using the Qt painter 2007-12-23 21:31:44.408 New DB connection, total: 2 2007-12-23 21:31:44.409 Connected to database 'mythconverg' at host: localhost Could not initialize /dev/input/js0 open: No such file or directory ioctl JSIOCGAXES: Bad file descriptor 2007-12-23 21:31:44.795 Loading from: /usr/share/mythtv/themes/blootube-wide/bas e.xml 2007-12-23 21:31:44.867 Loading from: /usr/share/mythtv/themes/default/base.xml 2007-12-23 21:31:45.056 Registering Internal as a media playback plugin. 2007-12-23 21:31:45.206 Registering MythDVD DVD Media Handler as a media handler ext() 2007-12-23 21:31:45.216 Registering MythDVD VCD Media Handler as a media handler ext() 2007-12-23 21:31:45.296 Registering MythGallery Media Handler 1/2 as a media han dler ext() 2007-12-23 21:31:45.297 Registering MythGallery Media Handler 2/2 as a media han dler ext(gif,jpg,png) Failed to run 'cdrecord --scanbus' adding: ATAPI:0,0,0 -- DVD-RW DVR-111D 2007-12-23 21:31:47.283 Registering MythMusic Media Handler 1/2 as a media handl er ext() 2007-12-23 21:31:47.283 Registering MythMusic Media Handler 2/2 as a media handl er ext(ogg,mp3,aac,flac) SIP listening on IP Address 192.168.1.1:5060 NAT address 192.168.1.1 n [u][b]HOWEVER:[/b][/u] Ive found that everytime i get a crash i find the following in my backend log; 2007-12-23 23:00:03.153 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074123.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-23 23:00:03.154 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074124.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-23 23:02:03.197 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074123.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-23 23:02:03.198 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074124.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-23 23:03:30.765 HTTPRequest::ParseRequest - Timeout waiting for request header. 2007-12-23 23:04:03.240 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074123.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-23 23:04:03.243 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074124.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-23 23:04:03.248 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074123.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-23 23:04:03.249 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074124.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-23 23:08:13.661 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074123.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-23 23:08:13.709 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074124.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-23 23:10:13.753 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074123.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-23 23:10:13.756 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074124.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-23 23:12:13.800 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074123.mpg. File doesn't exis t. Database metadata will not be removed. 2007-12-23 23:12:13.801 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1007_20070622074124.mpg. File doesn't exis t. Database metadata will not be removed. I tried the code you gave me but this is what it sais root@mythtv:/var/log/mythtv# /myth/tv/1007_20070622074123.mpg bash: /myth/tv/1007_20070622074123.mpg: No such file or directory ive checked and the files dont exist how do I get them out of the database? How much free space do you need to do a burn? Im thinking maybe its trying to free up space by auto expiring and cant so it crashes. What do you think? |
Page 1 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |