[mythtv-users] 23.1 backend sockets not listening

Ross Camm rossco at whyza.net
Tue May 24 21:21:00 UTC 2011


same again this morning  ;(

Do the logs below indicate a mysql issue instead ?

Here are the logs on a restart that fails to open listening sockets

2011-05-25 07:10:21.172 mythbackend version: branches/release-0-23-fixes
[26437] www.mythtv.org
2011-05-25 07:10:21.222 Using runtime prefix = /usr
2011-05-25 07:10:21.247 Using configuration directory = /home/mythtv/.mythtv
2011-05-25 07:10:21.266 Using localhost value of sun
2011-05-25 07:10:21.299 New DB connection, total: 1
2011-05-25 07:10:21.317 Connected to database 'mythconverg' at host:
localhost
2011-05-25 07:10:21.328 Closing DB connection named 'DBManager0'
2011-05-25 07:10:21.354 Connected to database 'mythconverg' at host:
localhost
2011-05-25 07:10:21.383 Current MythTV Schema Version (DBSchemaVer): 1254
2011-05-25 07:10:21.396 MythBackend: Starting up as the master server.
2011-05-25 07:10:21.437 New DB connection, total: 2
2011-05-25 07:10:21.452 Connected to database 'mythconverg' at host:
localhost


here are the logs after a restart

2011-05-25 07:12:12.374 mythbackend version: branches/release-0-23-fixes
[26437] www.mythtv.org
2011-05-25 07:12:12.460 Using runtime prefix = /usr
2011-05-25 07:12:12.481 Using configuration directory = /home/mythtv/.mythtv
2011-05-25 07:12:12.505 Using localhost value of sun
2011-05-25 07:12:12.548 New DB connection, total: 1
2011-05-25 07:12:12.616 Connected to database 'mythconverg' at host:
localhost
2011-05-25 07:12:12.646 Closing DB connection named 'DBManager0'
2011-05-25 07:12:12.710 Connected to database 'mythconverg' at host:
localhost
2011-05-25 07:12:12.885 Current MythTV Schema Version (DBSchemaVer): 1254
2011-05-25 07:12:13.037 MythBackend: Starting up as the master server.
2011-05-25 07:12:13.364 New DB connection, total: 2
2011-05-25 07:12:13.398 Connected to database 'mythconverg' at host:
localhost
2011-05-25 07:12:17.505 New DB connection, total: 3
2011-05-25 07:12:17.538 Connected to database 'mythconverg' at host:
localhost
2011-05-25 07:12:36.175 New DB scheduler connection
2011-05-25 07:12:38.026 Connected to database 'mythconverg' at host:
localhost
2011-05-25 07:12:39.258 Enabling Upnpmedia rebuild thread.
2011-05-25 07:12:41.376 Main::Registering HttpStatus Extension
2011-05-25 07:12:41.414 Enabled verbose msgs:  important general
2011-05-25 07:12:41.468 AutoExpire: CalcParams(): Max required Free Space:
1.0 GB w/freq: 15 min
2011-05-25 07:12:42.238 Reschedule requested for id -1.
2011-05-25 07:12:44.418 ProgramInfo(): Updated pathname '':'' ->
'1021_20110521193100.mpg'
2011-05-25 07:12:44.558 MainServer::ANN Monitor




> logs
>
> /usr/bin/mythbackend --user root -v most
> 2011-05-24 05:31:57.224 Already running as 'root'
> 2011-05-24 05:31:57.224 mythbackend version: branches/release-0-23-fixes
> [26437] www.mythtv.org
> 2011-05-24 05:31:57.224 (old)Settings::ReadSettings(settings.txt) - No
> such file
> 2011-05-24 05:31:57.224 Using runtime prefix = /usr
> 2011-05-24 05:31:57.225 Using configuration directory = /root/.mythtv
> 2011-05-24 05:31:57.225
> (old)Settings::ReadSettings(/usr/share/mythtv/mysql.txt) - No such file
> 2011-05-24 05:31:57.225
> (old)Settings::ReadSettings(/usr/etc/mythtv/mysql.txt) - No such file
> 2011-05-24 05:31:57.225
> (old)Settings::ReadSettings(/root/.mythtv/mysql.txt) - 'DBHostName' =
> '192.168.0.11'.
> 2011-05-24 05:31:57.225
> (old)Settings::ReadSettings(/root/.mythtv/mysql.txt) - 'DBUserName' =
> 'mythtv'.
> 2011-05-24 05:31:57.225
> (old)Settings::ReadSettings(/root/.mythtv/mysql.txt) - 'DBPassword' =
> 'XXX'.
> 2011-05-24 05:31:57.225
> (old)Settings::ReadSettings(/root/.mythtv/mysql.txt) - 'DBName' =
> 'mythconverg'.
> 2011-05-24 05:31:57.225
> (old)Settings::ReadSettings(/root/.mythtv/mysql.txt) - 'DBType' =
> 'QMYSQL3'.
> 2011-05-24 05:31:57.225 (old)Settings::ReadSettings(./mysql.txt) - No such
> file
> 2011-05-24 05:31:57.225 Empty LocalHostName.
> 2011-05-24 05:31:57.225 Using localhost value of sun
> 2011-05-24 05:31:57.225 MCP::DefaultUPnP() - No default UPnP backend
> 2011-05-24 05:31:57.225 Testing network connectivity to '192.168.0.11'
> 2011-05-24 05:31:57.231 New DB connection, total: 1
> 2011-05-24 05:31:57.235 Connected to database 'mythconverg' at host:
> 192.168.0.11
> 2011-05-24 05:31:57.235 Closing DB connection named 'DBManager0'
> 2011-05-24 05:31:57.237 Connected to database 'mythconverg' at host:
> 192.168.0.11
> 2011-05-24 05:31:57.241 Current MythTV Schema Version (DBSchemaVer): 1254
> 2011-05-24 05:31:57.242 MythBackend: Starting up as the master server.
> 2011-05-24 05:31:57.253 New DB connection, total: 2
> 2011-05-24 05:31:57.254 Connected to database 'mythconverg' at host:
> 192.168.0.11
> 2011-05-24 05:31:57.268 TVRec(1): Start channel: 73.
>
>
>> ubuntu 10.10
>>
>> upon a reboot, and a normal command line restart of mythbackend 23.1
>> master, all listening sockets are created and all is good
>>
>> netstat -na | grep 654[3-4]
>> tcp        0      0 0.0.0.0:6543            0.0.0.0:*
>> LISTEN
>> tcp        0      0 0.0.0.0:6544            0.0.0.0:*
>> LISTEN
>>
>> but mythbackend stops responding after a day or so...and all is bad
>>
>> and a command line restart of mythbackend does not result in the
>> listening sockets being created.
>>
>> the mythbackend logs dont offer any clues, and I have tried using the
>> verbose levels without success of discovering a pointer to the issue.
>>
>> -v socket
>>
>> does not help.
>>
>> How can I diagnose why mythbackend cant open the sockets ?
>> What logging/diagnostics can I enable to assist ?
>>
>> thanks in advance
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>




More information about the mythtv-users mailing list