Re: [mythtv-users] More problems with non-master backend
[EMAIL PROTECTED] 06/22/05 10:16 AM PAUL WILLIAMSON wrote: mythtvbe1 is the machine where I'm trying to get the non-master running. When I try to start up mythbackend, I get this in my log: 2005-06-21 10:44:46.453 Failed to init MythContext, exiting. 2005-06-22 09:46:54.686 New DB connection, total: 1 2005-06-22 09:46:54.691 Unable to connect to database! 2005-06-22 09:46:54.693 Driver error was [1/2002]: QMYSQL3: Unable to connect Database error was: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 2005-06-22 09:46:54.695 Failed to init MythContext, exiting. I don't have mysql running on the non-master, so there's no mysql.sock to connect to. I can run the frontend on the machine ok. Edit your mysql.txt file (or whatever that filename is, I'm not at my machine right now) to point to the right database Kevin Thanks for the pointer. I double checked that entry in both the mythtv (user for frontend) and made sure it was the same for the root entry. Do I need to nfs mount the location where the master backend mysql.sock is? That doesn't seem right, as the frontend runs perfectly fine on this box. Paul ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] More problems with non-master backend
PAUL WILLIAMSON wrote: Hi all, Back again with a question. I have a master backend with two pvr-250s, which doubles as a workroom frontend. All is working on that. I've got 3 frontend only machines that work fine with every feature. I also have two mediamvp's running mvpmc. They work great too. Using .18.1 from atrpms. I went to add a non-master backend/frontend and followed this: http://mythtv.org/docs/mythtv-HOWTO-9.html#nonmaster_backend I must have done something close to right, because mythweb can see it (sort of). Clicking on Backend Status I get: Encoder status: Encoder 1 is local on mythtvmbe and is not recording. Encoder 2 is local on mythtvmbe and is not recording. Encoder 3 is remote on mythtvbe1 (currently not connected). mythtvbe1 is the machine where I'm trying to get the non-master running. When I try to start up mythbackend, I get this in my log: 2005-06-21 10:44:46.453 Failed to init MythContext, exiting. 2005-06-22 09:46:54.686 New DB connection, total: 1 2005-06-22 09:46:54.691 Unable to connect to database! 2005-06-22 09:46:54.693 Driver error was [1/2002]: QMYSQL3: Unable to connect Database error was: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 2005-06-22 09:46:54.695 Failed to init MythContext, exiting. I don't have mysql running on the non-master, so there's no mysql.sock to connect to. I can run the frontend on the machine ok. What do I need to do to the mythbackend startup scripts to tell it to connect to a remote mysql installation for mythtv? Edit your mysql.txt file (or whatever that filename is, I'm not at my machine right now) to point to the right database Kevin ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] More problems with non-master backend
PAUL WILLIAMSON wrote: What do I need to do to the mythbackend startup scripts to tell it to connect to a remote mysql installation for mythtv? Run mythtv-setup on the new machine and configure the database address and credentials in there I think Cheers, Michael ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
Re: [mythtv-users] More problems with non-master backend
[EMAIL PROTECTED] 06/22/05 10:54 AM PAUL WILLIAMSON wrote: What do I need to do to the mythbackend startup scripts to tell it to connect to a remote mysql installation for mythtv? Run mythtv-setup on the new machine and configure the database address and credentials in there I think Cheers, Michael I don't need to run the setup (already did), but I did modify mysql.txt in both /root/.mythtv/mysql.txt and /home/mythtv/.mythtv/mysql.txt to point to the master db ip address and it has the correct user name and password. I can run the frontend on this new machine ok, I just can't get the backend started. Paul ___ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users