View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Oct 29, 2007 7:12 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
All of a sudden yesterday, neither of my frontends (the one on the backend or the remote frontend), nor MythWeb, is talking to the backend. So recorded programs don't appear and MythWeb doesn't show me anything either.

Here's what I've tried:

* mythbackend and mysql appears to be running (using the ps -ef commands and by doing /etc/init.d/ restarts)
* checking /var/log/mythtv/mythbackend.log files doesn't show anything out of the ordinary. Here's after a recent system restart:

Code:
2007-10-29 09:01:35.882 Using runtime prefix = /usr
2007-10-29 09:01:35.919 New DB connection, total: 1
2007-10-29 09:01:35.926 Connected to database 'mythconverg' at host: localhost
2007-10-29 09:01:35.932 Current Schema Version: 1160
Starting up as the master server.
2007-10-29 09:01:35.939 New DB connection, total: 2
2007-10-29 09:01:35.940 Connected to database 'mythconverg' at host: localhost
2007-10-29 09:01:35.943 EITHelper: localtime offset -4:00:00
2007-10-29 09:01:35.947 New DB connection, total: 3
2007-10-29 09:01:35.948 Connected to database 'mythconverg' at host: localhost
2007-10-29 09:01:36.046 EITHelper: localtime offset -4:00:00


* Here's my mythfrontend.log just after that same restart

Code:
2007-10-29 09:06:36.697 Current Schema Version: 1160
2007-10-29 09:06:36.698 mythfrontend version: 0.20.20070821-1 www.mythtv.org
2007-10-29 09:06:36.699 Enabled verbose msgs:  important general
2007-10-29 09:06:38.767 Total desktop dim: 960x480, with 1 screen[s].
2007-10-29 09:06:38.769 Using screen 0, 960x480 at 0,0
2007-10-29 09:06:38.769 Switching to wide mode (MePo-wide)
2007-10-29 09:06:38.800 Using the OpenGL painter
2007-10-29 09:06:39.190 New DB connection, total: 2
2007-10-29 09:06:39.190 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-10-29 09:06:40.473 Loading from: /usr/share/mythtv/themes/MePo-wide/base.xm
l
2007-10-29 09:06:40.525 Loading from: /usr/share/mythtv/themes/default/base.xml
2007-10-29 09:06:40.635 Registering Internal as a media playback plugin.
2007-10-29 09:06:40.773 Registering MythDVD DVD Media Handler as a media handler
 ext()
2007-10-29 09:06:40.775 Mediamonitor: Adding /dev/cdrom
2007-10-29 09:06:40.821 Mediamonitor: AddDevice() -- Not adding '/dev/hdc', it a
ppears to be a duplicate.
2007-10-29 09:06:40.825 Registering MythDVD VCD Media Handler as a media handler
 ext()
2007-10-29 09:06:40.913 Registering MythGallery Media Handler 1/2 as a media han
dler ext()
2007-10-29 09:06:40.913 Registering MythGallery Media Handler 2/2 as a media han
dler ext(gif,jpg,png)
2007-10-29 09:06:40.913 MonitorRegisterExtensions(0x100, gif,jpg,png)
2007-10-29 09:06:41.295 Using NV NPOT texture extension
Failed to run 'cdrecord --scanbus'
Failed to run 'cdrecord --scanbus'
2007-10-29 09:06:44.428 Registering MythMusic Media Handler 1/2 as a media handl
er ext()
2007-10-29 09:06:44.429 Registering MythMusic Media Handler 2/2 as a media handl
er ext(ogg,mp3,aac,flac)
2007-10-29 09:06:44.429 MonitorRegisterExtensions(0x40, ogg,mp3,aac,flac)
SIP listening on IP Address 192.168.1.30:5060 NAT address 192.168.1.30
SIP: Cannot register; proxy, username or password not set
2007-10-29 09:06:44.627 Unable to initialize plugin 'mythstream'.
2007-10-29 09:06:44.712 Starting media monitor.


I tried looking up that JSIOCGAXES bad file descriptor but didn't find anything that specifically called that out as a problem. The SIP problem seems significant but tried to search for that error and again didn't find anything that seemed to deal with that specific error message.

* I tried fixing loopback as described in this thread with no apparent luck.

* df -h shows no filled partitions

Not sure what else to do. Sorry if I've missed something obvious.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 29, 2007 7:41 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
Has anything changed on your front/back ends?

Try
Code:
mythfrontend -v all
from an Xterm. This should help pinpoint the culprit...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 29, 2007 3:54 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Have you made any changes to your tuner card setup? I'd recommend double checking them.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 29, 2007 3:59 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
Thanks cecil and slowtolearn as always.

I didn't physically add or remove any cards, but I think somehow they got reordered during some reboot (I have two PVR cards and one HD3000).

I ran mythtv-setup and deleted/re-added all my tuner cards and everything seems to be back to working.

I did log mythfrontend -v all's output and will look to see if there's any clues that would have tipped me off to this happening.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 31, 2007 11:07 am 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Ultimately, the solution to the problem would be to use udev. Based on the characteristics of the card, udev can have the card symlinked to a name. That name is then what you use to configure MythTV. For instance, in my MBE I have a PVR 150 . Using udev, I symlink whatever device it grabs as /dev/pvr150. Sorry, I cannot access my systems at the moment to share the rules. You'll find several examples in the MythTV achieve. Let, me know if you'd like to see my rules as I'll post them.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 31, 2007 11:22 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
Whenever you get a chance, sure, please post them. I just had a look at the udev page on the MythTV wiki and I might be able to muddle through getting it set up. That or I just won't reboot anymore. :) Thanks again cecil.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu