LinHES Forums http://forum.linhes.org/ |
|
Master Backend will not start anymore http://forum.linhes.org/viewtopic.php?f=6&t=4142 |
Page 1 of 1 |
Author: | chemicalspill [ Mon Apr 11, 2005 9:46 pm ] |
Post subject: | Master Backend will not start anymore |
Hey everyone! Hopefully someone can help me with this problem... I was just watching live tv and then i made some changes and when I try to watch live tv I get a message: "Could not connect to the master backend server -- Is it running? Is the ip address set for it in the setup menu correct?" I have a frontend/backend machine. I went throught the wiki's solution but it did not work for me: http://knoppmythwiki.homelinux.org/index.php?page=MythBackendNotRunning Even after I make sure that the ip address in the 'mythtv-setup' general menu are set to 127.0.0.1. (I say make sure because they were already set to 127.0.0.1) when I run 'mythfilldatabase' i runs through just fine, but at the end I get the message: Code: 2005-04-11 20:30:44.212 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5) Connection timed out. You probably should modify the Master Server settings in the setup program and set the proper IP address. error resceduling id -1 ScheduledRecording::signalChange I changed two things before I got these error messages: 1. I customized the remote button functions in the /home.mythtv/.mythtv/lircrc 2. I assigned ip addresses to the myth machine in my router. Now I am not sure if this is the expected behavior but my myth machine shows up as two ip address on my router. At any rate I set their IP addresses for the frontend 192.168.0.5 and the backend 192.168.0.6. Ever since I have had the problem. I have since removed the "assigned ip addresses for each in the router. and went through these steps... and no luck. If i set the ips in the router does that mean that I have to apply the same ip setting on this machine? I also checked the myth logs (/var/log/mythtv/mythbackend.log) and the current one is empty. Here is a snippet of my last log with data in it Code: QSettings::sync: filename is null/empty
Starting up as the master server. QSettings: error creating /.qt QSettings::sync: filename is null/empty 2005-04-10 00:48:48.414 mythbackend version: 0.17.20050130-1 www.mythtv.org 2005-04-10 00:48:48.430 Enabled verbose msgs : important general 2005-04-10 00:48:50.412 Reschedule requested for id -1. 2005-04-10 00:48:50.445 Scheduled 0 items in 0.0 = 0.02 match + 0.01 place 2005-04-10 00:48:50.454 Seem to be woken up by USER 2005-04-10 00:52:46.259 MainServer::HandleAnnounce Playback 2005-04-10 00:52:46.262 adding: mythtv as a client (events: 0) 2005-04-10 00:52:46.303 MainServer::HandleAnnounce Playback 2005-04-10 00:52:46.307 adding: mythtv as a client (events: 1) 2005-04-10 00:52:46.315 MainServer::HandleAnnounce Playback 2005-04-10 00:52:46.318 adding: mythtv as a client (events: 0) 2005-04-10 00:52:46.655 MainServer::HandleAnnounce Playback 2005-04-10 00:52:46.657 adding: mythtv as a client (events: 0) 2005-04-10 00:52:46.665 adding: mythtv as a remote ringbuffer 2005-04-10 00:52:46.675 Changing from None to WatchingLiveTV Any help would be greatly appreciated. Thanks fellas! |
Author: | ralpha6 [ Mon Apr 11, 2005 10:19 pm ] |
Post subject: | Re: Master Backend will not start anymore |
chemicalspill wrote: "Could not connect to the master backend server -- Is it running? Is the ip address set for it in the setup menu correct?"
Even after I make sure that the ip address in the 'mythtv-setup' general menu are set to 127.0.0.1. (I say make sure because they were already set to 127.0.0.1) when I run 'mythfilldatabase' i runs through just fine, but at the end I get the message: Code: 2005-04-11 20:30:44.212 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5) Connection timed out. You probably should modify the Master Server settings in the setup program and set the proper IP address. error resceduling id -1 ScheduledRecording::signalChange I changed two things before I got these error messages: 2. I assigned ip addresses to the myth machine in my router. Now I am not sure if this is the expected behavior but my myth machine shows up as two ip address on my router. At any rate I set their IP addresses for the frontend 192.168.0.5 and the backend 192.168.0.6. Ever since I have had the problem. I have since removed the "assigned ip addresses for each in the router. and went through these steps... and no luck. If i set the ips in the router does that mean that I have to apply the same ip setting on this machine? [/code] Change the 127.0.0.1 (both) to 192.168.0.6 in mythtv-setup You changed the IP address of the backend so you need to change it in mythtv-setup to be the same. |
Author: | chemicalspill [ Tue Apr 12, 2005 2:29 pm ] |
Post subject: | |
Hey ralpha6, thanks for the help. You were right. I changed both to that address and then rebooted, and it still would not work, until I ran mythbackend from root. It started up and worked fine. The only question is now.. How do I get the backend to start up on boot like it used to? Thanks again! |
Author: | masonjd [ Tue Apr 12, 2005 6:10 pm ] |
Post subject: | |
When you installed did you create a user called mythtv? It appears that when you do that the user you create conflicts with a user called mythtv that is created by default by the install process. |
Author: | tjc [ Tue Apr 12, 2005 8:51 pm ] |
Post subject: | |
I've been meaning to write a detector script for this, so here it is: Code: [ `grep mythtv /etc/passwd | wc -l` != 1 ] && echo "Your /etc/passwd is borked"
Cleaning up after this particular screw up is a slightly harder problem, but I've written an outline of that up elsewhere. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |