[MythDora] MythDora 4 Final

gchris gchris at bellsouth.net
Sun Jun 10 09:39:49 CEST 2007

Here's a little more info on the "unable to contact Mythbackend" 
situation.  I cold booted the machine into Mythtv and tried "Watchtv". 
I immediately got the backend error.  I then escaped out to the desktop 
and opened a terminal window.  Myth backend was running so I thought I 
might learn more by stopping it and then running it in a terminal 
window.  Here's the way that went:

[root at mediacenter mythtv]# service mythbackend stop
Stopping mythbackend:                                      [  OK  ]
[root at mediacenter mythtv]# exit
[mythtv at mediacenter ~]$ mythbackend
2007-06-10 02:51:23.078 Using runtime prefix = /usr
2007-06-10 02:51:23.089 New DB connection, total: 1
2007-06-10 02:51:23.093 Connected to database 'mythconverg' at host: 
2007-06-10 02:51:23.095 Current Schema Version: 1160
Starting up as the master server.
2007-06-10 02:51:23.102 New DB connection, total: 2
2007-06-10 02:51:23.103 Connected to database 'mythconverg' at host: 
2007-06-10 02:51:23.105 EITHelper: localtime offset -4:00:00
2007-06-10 02:51:23.110 New DB connection, total: 3
2007-06-10 02:51:23.111 Connected to database 'mythconverg' at host: 
2007-06-10 02:51:23.215 EITHelper: localtime offset -4:00:00
2007-06-10 02:51:23.311 EITHelper: localtime offset -4:00:00
2007-06-10 02:51:23.326 New DB scheduler connection
2007-06-10 02:51:23.327 Connected to database 'mythconverg' at host: 
2007-06-10 02:51:23.330 Main::Starting HttpServer
2007-06-10 02:51:23.356 Main::Registering HttpStatus Extension
2007-06-10 02:51:23.361 mythbackend version: 0.20.20060828-4 www.mythtv.org
2007-06-10 02:51:23.361 Enabled verbose msgs:  important general
/storage/recordings/nfslockfile.lock: Permission denied
Unable to open lockfile!
Be sure that '/storage/recordings' exists and that both
the directory and that file are writeable by this user.
Segmentation fault
[mythtv at mediacenter ~]$

That raises some questions.  The lockfile is currently owned by root, 
while the directories are owned by user mythtv.
Who normally owns mythbackend, mythtv or root?  If mythtv, how could 
root get to own the lockfile?
What's going on with the segmentation fault?  And FWIW, I'm running an 
i686 P4 with hyperthreading.


More information about the mythdora mailing list