[mythtv-users] Back End Issues

Eric Broszeit eric.broszeit at gmail.com
Mon Feb 12 01:07:28 UTC 2007


I am running Ubuntu and followed the guidelines set here.
https://help.ubuntu.com/community/MythTV/

I am running the back end and front end from the same PC.

The mythtv-setup program seems to have connected just fine. After flushing
the privileges on the DB it stopped telling me that it would not connect,
and I was able to go through the rest of the set up program.

I tried to restart the back end and I got this.

eric at eric-desktop:~$ sudo /etc/init.d/mythtv-backend restart
Password:
Restarting MythTV server: mythbackendNo /usr/bin/mythbackend found running;
none killed.
.
Session management error: Authentication Rejected, reason : None of the
authentication protocols specified are supported and host-based
authentication failed
.

Oddly enough, if I just try to start it, it tells me that it is running.

eric at eric-desktop:~$ sudo /etc/init.d/mythtv-backend start
mythbackend already running, use restart instead.

When I run the front end, it tells me that it cannot connect to the back
end.

I changed the IP set up from 127.0.0.1 to localhost to its actual IP
address. No luck.

Here is a little of my back end log file.


QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-02-11 19:31:46.841 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-02-11 19:31:46.896 Failed to init MythContext, exiting.
2007-02-11 19:44:14.082 Using runtime prefix = /usr
2007-02-11 19:44:14.167 New DB connection, total: 1
2007-02-11 19:44:14.176 Unable to connect to database!
2007-02-11 19:44:14.176 Driver error was [1/1045]:
QMYSQL3: Unable to connect
Database error was:
Access denied for user 'mythtv'@'localhost' (using password: YES)

QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-02-11 19:44:14.232 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-02-11 19:44:14.288 Failed to init MythContext, exiting.
2007-02-11 20:01:16.935 Using runtime prefix = /usr
2007-02-11 20:01:17.023 New DB connection, total: 1
2007-02-11 20:01:17.031 Unable to connect to database!
2007-02-11 20:01:17.032 Driver error was [1/1045]:
QMYSQL3: Unable to connect
Database error was:
Access denied for user 'mythtv'@'localhost' (using password: YES)

QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-02-11 20:01:17.091 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
2007-02-11 20:01:17.146 Failed to init MythContext, exiting.

Notice the pattern?

When running my front end, I see this...

2007-02-11 20:05:52.739 New DB connection, total: 2
2007-02-11 20:05:52.753 Connected to database 'mythconverg' at host:
192.168.1.2
2007-02-11 20:05:52.812 Connecting to backend server: 192.168.1.2:6543 (try
1 of 5)
2007-02-11 20:05:52.813 Connection timed out.
                        You probably should modify the Master Server
                        settings in the setup program and set the
                        proper IP address.
2007-02-11 20:05:54.811 TV: Attempting to change from None to None
2007-02-11 20:05:58.605 Connecting to backend server: 192.168.1.2:6543 (try
1 of 5)
2007-02-11 20:05:58.606 Connection timed out.
                        You probably should modify the Master Server
                        settings in the setup program and set the
                        proper IP address.
Any ideas would be much appreciated. Thanks.

Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070211/951aa17e/attachment.htm 


More information about the mythtv-users mailing list