[mythtv-users] Cannot get the backend to run

Mark Knecht markknecht at gmail.com
Fri May 22 19:27:00 UTC 2009


What am I missing to get this backend to run?

When I try to start the backend on this server it fails with a fairly
clear message:

2009-05-22 12:15:23.786 Using runtime prefix = /usr
2009-05-22 12:15:23.835 Unable to read configuration file mysql.txt
2009-05-22 12:15:23.836 Empty LocalHostName.
2009-05-22 12:15:23.836 Using localhost value of MacMini
2009-05-22 12:15:24.052 New DB connection, total: 1
2009-05-22 12:15:24.121 Connected to database 'mythconverg' at host: localhost
2009-05-22 12:15:24.181 Closing DB connection named 'DBManager0'
2009-05-22 12:15:24.188 Connected to database 'mythconverg' at host: localhost
2009-05-22 12:15:24.217 New DB connection, total: 2
2009-05-22 12:15:24.218 Connected to database 'mythconverg' at host: localhost
2009-05-22 12:15:24.271 Current Schema Version: 1214
No setting found for this machine's BackendServerIP.
Please run setup on this machine and modify the first page
of the general settings.

However when I try to run mythtv-setup it fails with a message that
looks like a privileges issue:

mark at MacMini ~ $ mythtv-setup --geometry 640x480
2009-05-22 12:22:29.884 Using runtime prefix = /usr
2009-05-22 12:22:30.019 DPMS is active.
2009-05-22 12:22:30.058 Empty LocalHostName.
2009-05-22 12:22:30.059 Using localhost value of MacMini
2009-05-22 12:22:30.067 Testing network connectivity to 192.168.1.61
2009-05-22 12:22:30.130 New DB connection, total: 1
2009-05-22 12:22:30.138 Unable to connect to database!
2009-05-22 12:22:30.139 Driver error was [1/1045]:
QMYSQL3: Unable to connect
Database error was:
Access denied for user 'mythtv'@'MacMini' (using password: YES)

QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2009-05-22 12:22:30.193 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError?  Strange...
..
2009-05-22 12:22:30.647 UPnPautoconf() - Found one UPnP backend
2009-05-22 12:22:30.689 MythXMLClient::GetConnectionInfo Failed -
(604) No Security Pin assigned. Run mythtv-setup to set one.
2009-05-22 12:22:30.840 Primary screen 0.
2009-05-22 12:22:30.841 Using screen 0, 1280x1024 at 0,0
2009-05-22 12:22:30.842 No theme dir: /home/mark/.mythtv/themes/blue
2009-05-22 12:22:30.916 Switching to square mode (blue)
2009-05-22 12:22:31.282 Using the Qt painter
2009-05-22 12:22:31.283 JoystickMenuClient Error: Joystick disabled -
Failed to read /home/mark/.mythtv/joystickmenurc
Illegal instruction
mark at MacMini ~ $


The databse is open, I think, as I can access it from the command
line, but only saying the host is localhost, not from the IP address
of the machine:

mark at MacMini ~ $ mysql -p -u mythtv -h localhost mythconverg
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.0.70-log Gentoo Linux mysql-5.0.70-r1

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> quit;
Bye
mark at MacMini ~ $ mysql -p -u mythtv -h 192.168.1.61 mythconverg
Enter password:
ERROR 1045 (28000): Access denied for user 'mythtv'@'MacMini' (using
password: YES)
mark at MacMini ~ $



Now, I've run the commands to set priviledges a couple of times, but
apparently I haven't done it right, or I'm missing some other setup
thing.

Any ideas?

Thanks,
Mark


More information about the mythtv-users mailing list