View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Apr 11, 2005 9:46 pm 
Offline
Joined: Mon Apr 04, 2005 1:20 pm
Posts: 13
Location: San Jose, Ca
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!


Top
 Profile  
 
PostPosted: Mon Apr 11, 2005 10:19 pm 
Offline
Joined: Wed Mar 23, 2005 2:33 pm
Posts: 12
Location: Ohio
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 12, 2005 2:29 pm 
Offline
Joined: Mon Apr 04, 2005 1:20 pm
Posts: 13
Location: San Jose, Ca
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!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 12, 2005 6:10 pm 
Offline
Joined: Wed Dec 03, 2003 9:46 pm
Posts: 102
Location: Provo, UT
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 12, 2005 8:51 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 43 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu