"Connection to master server timed out" - Can't start MythTV

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
andrewj720
Newcomer
Posts: 7
Joined: Mon Jun 09, 2014 7:50 pm
Location: Cambridgeshire, UK
Contact:
Great Britain

"Connection to master server timed out" - Can't start MythTV

Post by andrewj720 » Mon Jun 09, 2014 7:55 pm

Whenever I start Myth frontend I get an error messaqe saying "Could not connect to master backend. Mythcontext. Could not connect to the master backend server. Is it running?"
[http://ubuntuforums]

It doesn't appear as if the backend is running. When I run sudo service mythtv-backend start I can't see the process running in top.

If I run mythfilldatabase I get the following output:

Code:

andrew@htpc:~$ mythfilldatabase 2014-06-09 11:35:17.908602 C mythfilldatabase version: fixes/0.27 [v0.27-193-g8ee257c] www.mythtv.org 2014-06-09 11:35:17.908619 C Qt version: compile: 4.8.6, runtime: 4.8.6 2014-06-09 11:35:17.908622 N Enabled verbose msgs: general 2014-06-09 11:35:17.908630 N Setting Log Level to LOG_INFO 2014-06-09 11:35:17.920768 I Added logging to the console 2014-06-09 11:35:17.921874 I Setup Interrupt handler 2014-06-09 11:35:17.921896 I Setup Terminated handler 2014-06-09 11:35:17.921914 I Setup Segmentation fault handler 2014-06-09 11:35:17.921932 I Setup Aborted handler 2014-06-09 11:35:17.921949 I Setup Bus error handler 2014-06-09 11:35:17.921967 I Setup Floating point exception handler 2014-06-09 11:35:17.921987 I Setup Illegal instruction handler 2014-06-09 11:35:17.922019 I Setup Real-time signal 0 handler 2014-06-09 11:35:17.922083 N Using runtime prefix = /usr 2014-06-09 11:35:17.922107 N Using configuration directory = /home/andrew/.mythtv 2014-06-09 11:35:17.922228 I Assumed character encoding: en_GB.UTF-8 2014-06-09 11:35:17.922866 N Empty LocalHostName. 2014-06-09 11:35:17.922883 I Using localhost value of htpc 2014-06-09 11:35:17.945417 N Setting QT default locale to en_US 2014-06-09 11:35:17.945491 I Current locale en_US 2014-06-09 11:35:17.945538 N Reading locale defaults from /usr/share/mythtv//locales/en_us.xml 2014-06-09 11:35:17.953457 I Loading en_gb translation for module mythfrontend 2014-06-09 11:35:17.955552 I Current MythTV Schema Version (DBSchemaVer): 1317 2014-06-09 11:35:17.958395 I MythCoreContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1) 2014-06-09 11:35:17.959298 E MythSocket(17b78c0:-1): Failed to connect to (127.0.0.1:6543) Connection refused 2014-06-09 11:35:17.959533 E Connection to master server timed out. Either the server is down or the master server settings in mythtv-settings does not contain the proper IP address 2014-06-09 11:35:17.959557 W Failed to connect to master backend. MythFillDatabase will continue running but will be unable to prevent backend from shutting down, or triggering a reschedule when complete. 2014-06-09 11:35:17.993616 I Source 1 configured to use only the broadcasted guide data. Skipping. 2014-06-09 11:35:17.996099 N Data fetching complete. 2014-06-09 11:35:17.996131 I Adjusting program database end times. 2014-06-09 11:35:18.013019 I 0 replacements made 2014-06-09 11:35:18.013027 I Marking generic episodes. 2014-06-09 11:35:18.022897 I New Client: (#1) 2014-06-09 11:35:18.057792 I Found 0 2014-06-09 11:35:18.057801 I Extending non-unique programids with multiple parts. 2014-06-09 11:35:18.069437 I Found 0 2014-06-09 11:35:18.069445 I Fixing missing original airdates. 2014-06-09 11:35:18.083304 I Found 0 with programids 2014-06-09 11:35:18.088927 I Found 0 without programids 2014-06-09 11:35:18.088935 I Marking repeats. 2014-06-09 11:35:18.124200 I Found 0 2014-06-09 11:35:18.124208 I Unmarking new episode rebroadcast repeats. 2014-06-09 11:35:18.159633 I Found 0 2014-06-09 11:35:18.280483 I Marking episode first showings. 2014-06-09 11:35:18.483465 I Found 4962 2014-06-09 11:35:18.483477 I Marking episode last showings. 2014-06-09 11:35:18.712727 I Found 4577 2014-06-09 11:35:18.714026 I =============================================================== | Attempting to contact the master backend for rescheduling. | | If the master is not running, rescheduling will happen when | | the master backend is restarted. | =============================================================== 2014-06-09 11:35:18.714701 I MythCoreContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1) 2014-06-09 11:35:18.715456 E MythSocket(17808d0:-1): Failed to connect to (127.0.0.1:6543) Connection refused 2014-06-09 11:35:18.715768 E Connection to master server timed out. Either the server is down or the master server settings in mythtv-settings does not contain the proper IP address 2014-06-09 11:35:18.715796 E Error rescheduling MATCH 0 0 0 - MythFillDatabase in ScheduledRecording::SendReschedule 2014-06-09 11:35:18.715992 N mythfilldatabase run complete. 2014-06-09 11:35:18.716068 I MythCoreContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1) 2014-06-09 11:35:18.716090 I Waiting for threads to exit. 2014-06-09 11:35:18.717323 E MythSocket(7f565800ba60:-1): Failed to connect to (127.0.0.1:6543) Connection refused 2014-06-09 11:35:18.717563 E Connection to master server timed out. Either the server is down or the master server settings in mythtv-settings does not contain the proper IP address 2014-06-09 11:35:18.717605 I MythCoreContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1) 2014-06-09 11:35:18.717874 E MythSocket(7f565c00c070:-1): Failed to connect to (127.0.0.1:6543) Connection refused 2014-06-09 11:35:18.717949 E Connection to master server timed out. Either the server is down or the master server settings in mythtv-settings does not contain the proper IP address

Can anyone help me to get the backend working?

Many thanks
Using Tapatalk

User avatar
rwagner
Developer
Posts: 217
Joined: Thu Feb 06, 2014 11:37 pm
United States of America

Re:

Post by rwagner » Mon Jun 09, 2014 11:16 pm

The backend is probably finding some fatal configuration error and terminating. Check your backend logs to see what it is complaining about.

brotherchris
Newcomer
Posts: 3
Joined: Tue Jun 10, 2014 5:20 pm
United States of America

Re:

Post by brotherchris » Tue Jun 10, 2014 7:28 pm

Are the frontend and backend on the same machine? Try chaning your frontend setting IP to the IP of the backend machine, even if there on the same machine. It probably doesn't like that 127.0.0.1 is in there.

11:35:18.714701 I MythCoreContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1) 2014-06-09 11:35:18.715456 E MythSocket(17808d0:-1): Failed to connect to (127.0.0.1:6543) Connection refused 2014-06-09 11:35:18.715768

Chris

Post Reply