[mythtv-users] Cannot run mythbackend with init.d script - runs fine at command prompt.
drbob
drbob at gmx.co.uk
Sat Sep 30 20:29:34 UTC 2006
I've just installed mythtv from the 0.19 debian sarge package. Install
seemed to go fine but I'm running into a problem starting the backend.
If I start the backend from a terminal window it loads up and happily
sits there downloading EIT guide data and waiting for a frontend to
connect.
If I try to start it using the init script, it fails. Looking in the log
file I see:
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2006-09-30 20:57:50.580 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError? Strange...
2006-09-30 20:57:50.639 Failed to init MythContext, exiting.
2006-09-30 21:13:53.852 Using runtime prefix = /usr
2006-09-30 21:13:53.909 New DB connection, total: 1
2006-09-30 21:13:54.041 Unable to connect to database!
2006-09-30 21:13:54.044 Driver error was [1/1045]:
QMYSQL3: Unable to connect
Database error was:
Access denied for user: 'mythtv at localhost' (Using password: YES)
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2006-09-30 21:13:54.184 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError? Strange...
2006-09-30 21:13:54.243 Failed to init MythContext, exiting.
I could understand the above if there were a problem with the database
password, however it works fine if I run it from the terminal prompt,
whether logged in as root or as the mythtv user. Any help would be much
appreciated.
regards,
drbob
More information about the mythtv-users
mailing list