[mythtv-commits] Ticket #1806: mythbackend should provide full path name when it fails to find mysql.txt
MythTV
mythtv at cvs.mythtv.org
Sat May 13 01:23:50 EDT 2006
#1806: mythbackend should provide full path name when it fails to find mysql.txt
---------------------------------+------------------------------------------
Reporter: indulis at 21Cmail.com | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone:
Component: mythtv | Version:
Severity: low |
---------------------------------+------------------------------------------
Was having problems getting mythbackend to start during boot sequence
(from /etc/init.d via /etc/rc2.d script).
Troubleshooting was a nightmare, as the mythbackend message that
complained that it couldn't find mysql.txt did not give the full path
name. Where was it looking for mysql.txt? /usr/local? /etc?
/usr/share/mythtv? It'd really help if the mythbackend log message gave
the full directory and file name.
{{{
2006-05-13 11:11:14.644 Using runtime prefix = /usr/local
2006-05-13 11:11:14.722 Unable to read configuration file mysql.txt
2006-05-13 11:11:14.722 Trying to create a basic mysql.txt file
2006-05-13 11:11:14.723 Could not create //.mythtv
}}}
More details
Recompiled mythtv 0.19 from source (9926), mythbackend would start OK when
run after boot completed, but would fail when run from inittab. The
recompiler was done using the std file prefix /usr/local. I had
previously been running debian (Ubuntu) packages and mythbackend started
correctly.
The problem was resolved by setting HOME set in the startup script to
point to mythtv user's home directory. Troubleshooting made difficult as
mythtbackend log messages do not include full path name for the mysql.txt
it is looking for.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/1806>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list