lingenfr
January 4th, 2008, 09:11 PM
Last night, all was well. This evening, clicking Live TV brought no response. After a couple of attempts it said it couldn't connect to the backend. I had noticed last night in the jobs list what appeared to be a hung/disconnected live tv job. So when it would not start live tv this evening, I assumed that I had one or more hung jobs using the tuner. I ssh'd in and did a shutdown and restart. When it came back up, I got the frontend setup screens over and over. So, I ssh'd in and ran mybackend. I got the following:
--------------------------------
2008-01-04 20:08:30.489 Using runtime prefix = /usr
2008-01-04 20:08:30.503 New DB connection, total: 1
2008-01-04 20:08:30.504 Unable to connect to database!
2008-01-04 20:08:30.504 Driver error was [1/2002]:
QMYSQL3: Unable to connect
Database error was:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2008-01-04 20:08:30.555 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError? Strange...
2008-01-04 20:08:30.605 Failed to init MythContext, exiting.
----------------------------------
When I check, there is not even a /var/run/mysqld directory. When I run mysqld I get:
---------------------
linghome@mythbox01:/var/run$ sudo mysqld
080104 20:10:07 InnoDB: Started; log sequence number 0 43655
080104 20:10:07 [ERROR] Can't start server : Bind on unix socket: No such file or directory
080104 20:10:07 [ERROR] Do you already have another mysqld server running on socket: /var/run/mysqld/mysqld.sock ?
080104 20:10:07 [ERROR] Aborting
080104 20:10:07 InnoDB: Starting shutdown...
080104 20:10:09 InnoDB: Shutdown completed; log sequence number 0 43655
080104 20:10:09 [Note] mysqld: Shutdown complete
_________________________-
I know next to nothing about mysql. What do I need to do to get this going again? Thanks.
--------------------------------
2008-01-04 20:08:30.489 Using runtime prefix = /usr
2008-01-04 20:08:30.503 New DB connection, total: 1
2008-01-04 20:08:30.504 Unable to connect to database!
2008-01-04 20:08:30.504 Driver error was [1/2002]:
QMYSQL3: Unable to connect
Database error was:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2008-01-04 20:08:30.555 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError? Strange...
2008-01-04 20:08:30.605 Failed to init MythContext, exiting.
----------------------------------
When I check, there is not even a /var/run/mysqld directory. When I run mysqld I get:
---------------------
linghome@mythbox01:/var/run$ sudo mysqld
080104 20:10:07 InnoDB: Started; log sequence number 0 43655
080104 20:10:07 [ERROR] Can't start server : Bind on unix socket: No such file or directory
080104 20:10:07 [ERROR] Do you already have another mysqld server running on socket: /var/run/mysqld/mysqld.sock ?
080104 20:10:07 [ERROR] Aborting
080104 20:10:07 InnoDB: Starting shutdown...
080104 20:10:09 InnoDB: Shutdown completed; log sequence number 0 43655
080104 20:10:09 [Note] mysqld: Shutdown complete
_________________________-
I know next to nothing about mysql. What do I need to do to get this going again? Thanks.