[mythtv-users] frontend restart loop after upgrade to 0.25 - SOLVED already

Roger Searle roger.searle at gmail.com
Sat Sep 29 20:50:07 UTC 2012


continuing to top post and reply to myself: in case anyone thinks I know 
what I'm doing and follows the suggestion below, it did allow my FE to 
connect but broke a previously functioning mythweb anywhere on the 
network.  Commenting out any bind-address line fixes both situations 
though I'm not convinced this is the right/best approach and I'll start 
a new thread to explore this.

Cheers,
Me.

On 28/09/12 16:53, Roger Searle wrote:
> Hi, I have managed to rectify.  I found I could log in to mysql from 
> the backend but not from the frontend.  So mysql stopped listening 
> onthe network after the upgrade.  The solution was the following 
> change in /etc/mysql/my.conf:
>
> # bind-address        = 127.0.0.1
> bind-address        = 192.168.1.100
>
> followed by:
>
> sudo service mysql restart
>
> Cheers,
> Roger
>
>
>
> On 28/09/12 16:20, Roger Searle wrote:
>> Hi, have finally undertaken an upgrade to 0.25 from a stable 0.24 
>> +fixes on both front end and back end. The backend box is running OK, 
>> and I can run mythfrontend fine, view recordings.  Both FE and BE 
>> boxes are running the same version:
>>
>> roger at mythfe1:~$ mythfrontend --version
>> xprop:  unable to open display ''
>> Please attach all output as a file in bug reports.
>> MythTV Version : v0.25.2-25-g0817eb2
>> MythTV Branch : fixes/0.25
>> Network Protocol : 72
>> Library API : 0.25.20120506-1
>>
>> The front end box started via the gui menu will only presents the 
>> "choose country and language" screen, which I can save, then on 
>> completing the database configuration screens will enter a restart 
>> loop which will only stop if all myth processes are killed. Perhaps 
>> my backend database isn't listening on the network?  I'm not sure 
>> how/where I would check or rectify.  Can anyone assist?
>>
>> Here's the log I start mythfrontend from a terminal, which also will 
>> only display the country/language/database config windows but doesn't 
>> enter the restart loop if quit:
>>
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: C thread_unknown 
>> mythcommandlineparser.cpp:2534 (ConfigureLogging) mythfrontend 
>> version: fixes/0.25 [v0.25.2-25-g0817eb2] www.mythtv.org
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: C thread_unknown 
>> mythcommandlineparser.cpp:2536 (ConfigureLogging) Qt version: 
>> compile: 4.8.1, runtime: 4.8.1
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: N thread_unknown 
>> mythcommandlineparser.cpp:2538 (ConfigureLogging) Enabled verbose 
>> msgs:  general
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: N thread_unknown 
>> logging.cpp:1176 (logStart) Setting Log Level to LOG_INFO
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: I thread_unknown 
>> logging.cpp:229 (FileLogger) Added logging to the console
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: I thread_unknown 
>> logging.cpp:369 (SyslogLogger) Added syslogging to facility local7
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: I thread_unknown 
>> logging.cpp:425 (DatabaseLogger) Added database logging to table logging
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: N thread_unknown 
>> logging.cpp:1215 (logStart) Setting up SIGHUP handler
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: N thread_unknown 
>> mythdirs.cpp:51 (InitializeMythDirs) Using runtime prefix = /usr
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: N thread_unknown 
>> mythdirs.cpp:64 (InitializeMythDirs) Using configuration directory = 
>> /home/roger/.mythtv
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: I CoreContext 
>> mythcorecontext.cpp:227 (Init) Assumed character encoding: en_NZ.UTF-8
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: N CoreContext 
>> mythcontext.cpp:477 (LoadDatabaseSettings) Empty LocalHostName.
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: I CoreContext 
>> mythcontext.cpp:481 (LoadDatabaseSettings) Using localhost value of 
>> mythfe1
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: I CoreContext 
>> mythcontext.cpp:608 (TestDBconnection) Testing network connectivity 
>> to '192.168.1.100'
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: I SystemIOHandlerW 
>> system-unix.cpp:90 (run) Starting IO manager (write)
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: I SystemIOHandlerR 
>> system-unix.cpp:90 (run) Starting IO manager (read)
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: I SystemSignalManager 
>> system-unix.cpp:485 (run) Starting process signal handler
>> Sep 28 16:03:46 mythfe1 mythfrontend[2443]: I SystemManager 
>> system-unix.cpp:263 (run) Starting process manager
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: E CoreContext 
>> mythdbcon.cpp:213 (OpenDatabase) Unable to connect to database!
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: E CoreContext 
>> mythdbcon.cpp:214 (OpenDatabase) Driver error was 
>> [1/2003]:#012QMYSQL: Unable to connect#012Database error 
>> was:#012Can't connect to MySQL server on '192.168.1.100' (111)
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: A CoreContext 
>> mythcontext.cpp:414 (FindDatabase) Cannot login to database?
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: N CoreContext 
>> DisplayRes.cpp:64 (Initialize) Desktop video mode: 1920x1080 50.000 Hz
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: E CoreContext 
>> lirc.cpp:208 (Init) LIRC: Failed to connect to Unix socket 
>> '/var/run/lirc/lircd'#012#011#011#011eno: No such file or directory (2)
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: E CoreContext 
>> jsmenu.cpp:91 (Init) JoystickMenuThread: Joystick disabled - Failed 
>> to read /home/roger/.mythtv/joystickmenurc
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: E CoreContext 
>> cecadapter.cpp:146 (Open) CECAdapter: Failed to find any CEC devices.
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: I CoreContext 
>> cecadapter.cpp:216 (Close) CECAdapter: Closing down CEC.
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: I CoreContext 
>> serverpool.cpp:482 (bind) Binding to UDP 127.0.0.1:0
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: I CoreContext 
>> serverpool.cpp:482 (bind) Binding to UDP 192.168.1.125:0
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: I CoreContext 
>> serverpool.cpp:482 (bind) Binding to UDP [::1]:0
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: I CoreContext 
>> serverpool.cpp:482 (bind) Binding to UDP 
>> [fe80::5604:a6ff:feb4:723e%eth0]:0
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: I CoreContext 
>> serverpool.cpp:482 (bind) Binding to UDP 192.168.1.255:0
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: I CoreContext 
>> mythmainwindow.cpp:948 (Init) Using Frameless Window
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: I CoreContext 
>> mythmainwindow.cpp:961 (Init) Using Full Screen Window
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: I CoreContext 
>> mythmainwindow.cpp:1051 (Init) Using the Qt painter
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: N CoreContext 
>> mythcorecontext.cpp:1270 (InitLocale) Setting QT default locale to en_NZ
>> Sep 28 16:03:47 mythfe1 mythfrontend[2443]: I CoreContext 
>> langsettings.cpp:104 (Load) System Locale (en_NZ), Country (NZ), 
>> Language (en)
>> Sep 28 16:04:02 mythfe1 mythfrontend[2443]: I CoreContext 
>> mythtranslation.cpp:66 (load) Loading en_us translation for module 
>> mythfrontend
>> Sep 28 16:04:31 mythfe1 mythfrontend[2443]: N CoreContext 
>> mythdb.cpp:970 (SaveDatabaseParamsToDisk) Writing settings file 
>> /home/roger/.mythtv/mysql.txt
>> Sep 28 16:04:31 mythfe1 mythfrontend[2443]: I CoreContext 
>> mythcontext.cpp:608 (TestDBconnection) Testing network connectivity 
>> to '192.168.1.100'
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: C thread_unknown 
>> mythcommandlineparser.cpp:2534 (ConfigureLogging) mythfrontend 
>> version: fixes/0.25 [v0.25.2-25-g0817eb2] www.mythtv.org
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: C thread_unknown 
>> mythcommandlineparser.cpp:2536 (ConfigureLogging) Qt version: 
>> compile: 4.8.1, runtime: 4.8.1
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: N thread_unknown 
>> mythcommandlineparser.cpp:2538 (ConfigureLogging) Enabled verbose 
>> msgs:  general
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: N thread_unknown 
>> logging.cpp:1176 (logStart) Setting Log Level to LOG_INFO
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I thread_unknown 
>> logging.cpp:229 (FileLogger) Added logging to the console
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I thread_unknown 
>> logging.cpp:369 (SyslogLogger) Added syslogging to facility local7
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I thread_unknown 
>> logging.cpp:425 (DatabaseLogger) Added database logging to table logging
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: N thread_unknown 
>> logging.cpp:1215 (logStart) Setting up SIGHUP handler
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: N thread_unknown 
>> mythdirs.cpp:51 (InitializeMythDirs) Using runtime prefix = /usr
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: N thread_unknown 
>> mythdirs.cpp:64 (InitializeMythDirs) Using configuration directory = 
>> /home/roger/.mythtv
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I CoreContext 
>> mythcorecontext.cpp:227 (Init) Assumed character encoding: en_NZ.UTF-8
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: N CoreContext 
>> mythcontext.cpp:477 (LoadDatabaseSettings) Empty LocalHostName.
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I CoreContext 
>> mythcontext.cpp:481 (LoadDatabaseSettings) Using localhost value of 
>> mythfe1
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I CoreContext 
>> mythcontext.cpp:608 (TestDBconnection) Testing network connectivity 
>> to '192.168.1.100'
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I SystemManager 
>> system-unix.cpp:263 (run) Starting process manager
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I SystemIOHandlerR 
>> system-unix.cpp:90 (run) Starting IO manager (read)
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I SystemSignalManager 
>> system-unix.cpp:485 (run) Starting process signal handler
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I SystemIOHandlerW 
>> system-unix.cpp:90 (run) Starting IO manager (write)
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: E CoreContext 
>> mythdbcon.cpp:213 (OpenDatabase) Unable to connect to database!
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: E CoreContext 
>> mythdbcon.cpp:214 (OpenDatabase) Driver error was 
>> [1/2003]:#012QMYSQL: Unable to connect#012Database error 
>> was:#012Can't connect to MySQL server on '192.168.1.100' (111)
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: A CoreContext 
>> mythcontext.cpp:414 (FindDatabase) Cannot login to database?
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: N CoreContext 
>> DisplayRes.cpp:64 (Initialize) Desktop video mode: 1920x1080 50.000 Hz
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: E CoreContext 
>> lirc.cpp:208 (Init) LIRC: Failed to connect to Unix socket 
>> '/var/run/lirc/lircd'#012#011#011#011eno: No such file or directory (2)
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: E CoreContext 
>> jsmenu.cpp:91 (Init) JoystickMenuThread: Joystick disabled - Failed 
>> to read /home/roger/.mythtv/joystickmenurc
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: E CoreContext 
>> cecadapter.cpp:146 (Open) CECAdapter: Failed to find any CEC devices.
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I CoreContext 
>> cecadapter.cpp:216 (Close) CECAdapter: Closing down CEC.
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I CoreContext 
>> serverpool.cpp:482 (bind) Binding to UDP 127.0.0.1:0
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I CoreContext 
>> serverpool.cpp:482 (bind) Binding to UDP 192.168.1.125:0
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I CoreContext 
>> serverpool.cpp:482 (bind) Binding to UDP [::1]:0
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I CoreContext 
>> serverpool.cpp:482 (bind) Binding to UDP 
>> [fe80::5604:a6ff:feb4:723e%eth0]:0
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I CoreContext 
>> serverpool.cpp:482 (bind) Binding to UDP 192.168.1.255:0
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I CoreContext 
>> mythmainwindow.cpp:948 (Init) Using Frameless Window
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I CoreContext 
>> mythmainwindow.cpp:961 (Init) Using Full Screen Window
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I CoreContext 
>> mythmainwindow.cpp:1051 (Init) Using the Qt painter
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: N CoreContext 
>> mythcorecontext.cpp:1270 (InitLocale) Setting QT default locale to en_NZ
>> Sep 28 16:10:25 mythfe1 mythfrontend[2507]: I CoreContext 
>> langsettings.cpp:104 (Load) System Locale (en_NZ), Country (NZ), 
>> Language (en)
>> Sep 28 16:10:27 mythfe1 mythfrontend[2507]: I CoreContext 
>> mythtranslation.cpp:66 (load) Loading en_us translation for module 
>> mythfrontend
>> Sep 28 16:10:28 mythfe1 mythfrontend[2507]: A CoreContext 
>> mythcontext.cpp:503 (PromptForDatabaseParams) User cancelled database 
>> configuration
>> Sep 28 16:10:28 mythfe1 mythfrontend[2507]: E CoreContext 
>> main.cpp:1542 (main) Failed to init MythContext, exiting.
>> Sep 28 16:10:28 mythfe1 mythfrontend[2507]: I CoreContext 
>> mythraopdevice.cpp:82 (Cleanup) RAOP Device: Cleaning up.
>> Sep 28 16:10:28 mythfe1 mythfrontend[2507]: I CoreContext 
>> mythairplayserver.cpp:260 (Cleanup) AirPay: Cleaning up.
>>
>>
>



More information about the mythtv-users mailing list