mythtv fails to connect to remote DB on inital boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mythbuntu |
Fix Released
|
Low
|
Mario Limonciello | ||
mythtv (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mythtv-backend
The backend fails to connect to the DB which his located on a different machine on boot. After it boots, if I do it manually it works fine.
Here is the log file of mythtv after it fails to boot on startup:
2007-10-04 20:33:25.401 Using runtime prefix = /usr
2007-10-04 20:33:25.631 New DB connection, total: 1
2007-10-04 20:33:25.661 Unable to connect to database!
2007-10-04 20:33:25.679 Driver error was [1/2003]:
QMYSQL3: Unable to connect
Database error was:
Can't connect to MySQL server on 'surma' (101)
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-10-04 20:33:25.813 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError? Strange...
2007-10-04 20:33:25.864 Failed to init MythContext, exiting.
Here is the log file when I do it manually:
2007-10-04 20:35:08.098 Using runtime prefix = /usr
2007-10-04 20:35:08.147 New DB connection, total: 1
2007-10-04 20:35:08.155 Connected to database 'mythconverg' at host: surma
2007-10-04 20:35:08.167 Current Schema Version: 1160
Starting up as the master server.
I think the ordering of the init script might need revising or something. Maybe my network has not been brought up when it tries to run mythtv.
Related branches
Changed in mythtv: | |
status: | Incomplete → Invalid |
Changed in mythbuntu: | |
status: | New → Confirmed |
Is this on a machine with network manager in use? If so, try to setup DHCP via the manual network configuration utility instead of using network manager.