Page 1 of 1

MythTV cannot connect to backend

Posted: Sat Jan 19, 2013 6:32 pm
by mark_anderson_us
Hi All

Installed fresh LinuxMint14 the other day on VMWare (just testing). Got MythTV working a bit last night (using HDHomeRun). Installed XBMC this morning and now I can't connect keep getting:

frontend could not connect to backend

I'm using a DHCP reservatio so will always get same address. Syste, may have been on other net when I installed though

This is my log file (i'm using full IP addresses not 127... as I'll be using other front-ends). I can connect to mysql OK from terminal. Nothing is running on port 6543

Jan 19 16:23:19 mark-mint mythbackend[3675]: I HouseKeeping housekeeper.cpp:225 (RunHouseKeeping) Running housekeeping thread
Jan 19 16:24:15 mark-mint mythbackend[3770]: I HouseKeeping housekeeper.cpp:225 (RunHouseKeeping) Running housekeeping thread
Jan 19 16:24:27 mark-mint mythbackend[4020]: C thread_unknown mythcommandlineparser.cpp:2534 (ConfigureLogging) mythbackend version: fixes/0.25 [v0.25.2-15-g46cab93] www.mythtv.org
Jan 19 16:24:27 mark-mint mythbackend[4020]: C thread_unknown mythcommandlineparser.cpp:2536 (ConfigureLogging) Qt version: compile: 4.8.3, runtime: 4.8.3
Jan 19 16:24:27 mark-mint mythbackend[4020]: N thread_unknown mythcommandlineparser.cpp:2538 (ConfigureLogging) Enabled verbose msgs: general
Jan 19 16:24:27 mark-mint mythbackend[4020]: N thread_unknown logging.cpp:1176 (logStart) Setting Log Level to LOG_INFO
Jan 19 16:24:27 mark-mint mythbackend[4020]: I thread_unknown logging.cpp:229 (FileLogger) Added logging to the console
Jan 19 16:24:27 mark-mint mythbackend[4020]: I thread_unknown logging.cpp:369 (SyslogLogger) Added syslogging to facility local7
Jan 19 16:24:27 mark-mint mythbackend[4020]: I thread_unknown logging.cpp:425 (DatabaseLogger) Added database logging to table logging
Jan 19 16:24:27 mark-mint mythbackend[4020]: N thread_unknown logging.cpp:1215 (logStart) Setting up SIGHUP handler
Jan 19 16:24:27 mark-mint mythbackend[4020]: N thread_unknown mythdirs.cpp:51 (InitializeMythDirs) Using runtime prefix = /usr
Jan 19 16:24:27 mark-mint mythbackend[4020]: N thread_unknown mythdirs.cpp:64 (InitializeMythDirs) Using configuration directory = /home/mythtv/.mythtv
Jan 19 16:24:27 mark-mint mythbackend[4020]: I CoreContext mythcorecontext.cpp:227 (Init) Assumed character encoding: en_US.UTF-8
Jan 19 16:24:27 mark-mint mythbackend[4020]: N CoreContext mythcontext.cpp:477 (LoadDatabaseSettings) Empty LocalHostName.
Jan 19 16:24:27 mark-mint mythbackend[4020]: I CoreContext mythcontext.cpp:481 (LoadDatabaseSettings) Using localhost value of mark-mint
Jan 19 16:24:27 mark-mint mythbackend[4020]: N CoreContext mythcorecontext.cpp:1270 (InitLocale) Setting QT default locale to EN_US
Jan 19 16:24:27 mark-mint mythbackend[4020]: I CoreContext mythcorecontext.cpp:1303 (SaveLocaleDefaults) Current locale EN_US
Jan 19 16:24:27 mark-mint mythbackend[4020]: N CoreContext mythlocale.cpp:121 (LoadDefaultsFromXML) Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
Jan 19 16:24:27 mark-mint mythbackend[4020]: I CoreContext schemawizard.cpp:117 (Compare) Current MythTV Schema Version (DBSchemaVer): 1299
Jan 19 16:24:27 mark-mint mythbackend[4020]: I CoreContext mythtranslation.cpp:66 (load) Loading en_us translation for module mythfrontend
Jan 19 16:24:27 mark-mint mythbackend[4020]: N CoreContext main_helpers.cpp:556 (run_backend) MythBackend: Starting up as the master server.
Jan 19 16:24:27 mark-mint mythbackend[4020]: I CoreContext programinfo.cpp:2052 (CheckProgramIDAuthorities) Found 0 distinct programid authorities
Jan 19 16:24:27 mark-mint mythbackend[4020]: C CoreContext serverpool.cpp:271 (SelectDefaultListen) ServerPool: Host is configured to listen on [::], but address is not used on any local network interfaces.
Jan 19 16:24:27 mark-mint mythbackend[4020]: I CoreContext serverpool.cpp:395 (listen) Listening on TCP 127.0.0.1:6544
Jan 19 16:24:27 mark-mint mythbackend[4020]: I CoreContext serverpool.cpp:395 (listen) Listening on TCP 192.168.168.62:6544
Jan 19 16:24:27 mark-mint mythbackend[4020]: I CoreContext serverpool.cpp:395 (listen) Listening on TCP [::1]:6544
Jan 19 16:24:27 mark-mint mythbackend[4020]: E CoreContext serverpool.cpp:407 (listen) Failed listening on TCP [fe80::20c:29ff:fe5d:df31%eth0]:6544 - Error 9: The address is not available
Jan 19 16:24:27 mark-mint mythbackend[4020]: E CoreContext mediaserver.cpp:86 (Init) MediaServer::HttpServer Create Error
Jan 19 16:24:27 mark-mint mythbackend[4020]: I CoreContext serverpool.cpp:395 (listen) Listening on TCP 127.0.0.1:6543
Jan 19 16:24:27 mark-mint mythbackend[4020]: I CoreContext serverpool.cpp:395 (listen) Listening on TCP 192.168.168.62:6543
Jan 19 16:24:27 mark-mint mythbackend[4020]: I CoreContext serverpool.cpp:395 (listen) Listening on TCP [::1]:6543
Jan 19 16:24:27 mark-mint mythbackend[4020]: E CoreContext serverpool.cpp:407 (listen) Failed listening on TCP [fe80::20c:29ff:fe5d:df31%eth0]:6543 - Error 9: The address is not available
Jan 19 16:24:27 mark-mint mythbackend[4020]: C CoreContext main_helpers.cpp:639 (run_backend) Backend exiting, MainServer initialization error.
Jan 19 16:24:27 mark-mint mythbackend[4020]: I Scheduler mythdbcon.cpp:422 (getStaticCon) New static DB connectionSchedCon
Jan 19 16:24:37 mark-mint mythbackend[4020]: I HouseKeeping housekeeper.cpp:225 (RunHouseKeeping) Running housekeeping thread
Jan 19 16:24:59 mark-mint mythbackend[3084]: I HouseKeeping housekeeper.cpp:225 (RunHouseKeeping) Running housekeeping thread


Not sure why it say listening "(listen) Listening on TCP 127.0.0.1:6543"

Anyone got any ideas?

Regards

mark

Re: MythTV cannot connect to backend

Posted: Sun Jan 20, 2013 12:38 pm
by kwisher
Need a little more info. Do you already have another backend and you are just wanting to run the frontend in your VM? Or are you wanting both backend/frontend running in the VM?