[mythtvnz] Backend fails to start

Paulgir paulgir at gmail.com
Mon Apr 16 22:58:25 BST 2012


On Tue, 17 Apr 2012 09:32:21 +1200, Nick Rout <nick.rout at gmail.com> wrote:

> On Tue, Apr 17, 2012 at 9:01 AM, Paulgir <paulgir at gmail.com> wrote:
>>
>>>
>>> First see what is running on boot. Is mythbackend runnig at all?
>>>
>>> You have the commands, use them.
>>
>>
>>
>>
>>
>>  ps -A | grep myth   Gives no output
>>
>> sudo stop myth-backend   gives     stop:unknown instance
>>
>>  sudo stop myth-backend  starts the backend.
>>
>> So I assume the backend is not running after boot.
>
> And what does the mythbackend log file say about why it failed to start?
>
This is the latest content of mythbackend.log I wouldn't know what's  
normal anyway.
I rebooted at 09:45 the times don't seem to correlate:

Apr 17 02:11:32 myth mythbackend[1802]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 1)
Apr 17 02:11:36 myth mythbackend[1802]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Monitor
Apr 17 02:11:36 myth mythbackend[1802]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 0)
Apr 17 02:11:36 myth mythbackend[1802]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Monitor
Apr 17 02:11:36 myth mythbackend[1802]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 1)
Apr 17 07:42:36 myth mythbackend[2187]: C thread_unknown  
mythcommandlineparser.cpp:2534 (ConfigureLogging) mythbackend version:  
fixes/0.25 [v0.25-9-gefada3f] www.mythtv.org
Apr 17 07:42:36 myth mythbackend[2187]: N thread_unknown  
mythcommandlineparser.cpp:2536 (ConfigureLogging) Enabled verbose msgs:   
general
Apr 17 07:42:36 myth mythbackend[2187]: N thread_unknown logging.cpp:1176  
(logStart) Setting Log Level to LOG_INFO
Apr 17 07:42:36 myth mythbackend[2187]: I thread_unknown logging.cpp:229  
(FileLogger) Added logging to the console
Apr 17 07:42:36 myth mythbackend[2187]: I thread_unknown logging.cpp:369  
(SyslogLogger) Added syslogging to facility local7
Apr 17 07:42:36 myth mythbackend[2187]: I thread_unknown logging.cpp:425  
(DatabaseLogger) Added database logging to table logging
Apr 17 07:42:36 myth mythbackend[2187]: N thread_unknown logging.cpp:1215  
(logStart) Setting up SIGHUP handler
Apr 17 07:42:36 myth mythbackend[2187]: N thread_unknown mythdirs.cpp:51  
(InitializeMythDirs) Using runtime prefix = /usr
Apr 17 07:42:36 myth mythbackend[2187]: N thread_unknown mythdirs.cpp:64  
(InitializeMythDirs) Using configuration directory = /home/mythtv/.mythtv
Apr 17 07:42:36 myth mythbackend[2187]: I CoreContext  
mythcorecontext.cpp:227 (Init) Assumed character encoding: en_NZ.UTF-8
Apr 17 07:42:36 myth mythbackend[2187]: N CoreContext mythcontext.cpp:477  
(LoadDatabaseSettings) Empty LocalHostName.
Apr 17 07:42:36 myth mythbackend[2187]: I CoreContext mythcontext.cpp:481  
(LoadDatabaseSettings) Using localhost value of myth
Apr 17 07:42:36 myth mythbackend[2187]: N CoreContext  
mythcorecontext.cpp:1270 (InitLocale) Setting QT default locale to en_NZ
Apr 17 07:42:36 myth mythbackend[2187]: I CoreContext  
mythcorecontext.cpp:1303 (SaveLocaleDefaults) Current locale en_NZ
Apr 17 07:42:36 myth mythbackend[2187]: E CoreContext mythlocale.cpp:108  
(LoadDefaultsFromXML) No locale defaults file for en_NZ, skipping
Apr 17 07:42:36 myth mythbackend[2187]: I CoreContext schemawizard.cpp:117  
(Compare) Current MythTV Schema Version (DBSchemaVer): 1299
Apr 17 07:42:36 myth mythbackend[2187]: I CoreContext  
mythtranslation.cpp:66 (load) Loading en_gb translation for module  
mythfrontend
Apr 17 07:42:36 myth mythbackend[2187]: N CoreContext main_helpers.cpp:556  
(run_backend) MythBackend: Starting up as the master server.
Apr 17 07:42:39 myth mythbackend[2187]: I CoreContext programinfo.cpp:2052  
(CheckProgramIDAuthorities) Found 2 distinct programid authorities
Apr 17 07:42:39 myth mythbackend[2187]: I Scheduler mythdbcon.cpp:422  
(getStaticCon) New static DB connectionSchedCon
Apr 17 07:42:39 myth mythbackend[2187]: I CoreContext serverpool.cpp:306  
(listen) Listening on TCP 127.0.0.1:6544
Apr 17 07:42:39 myth mythbackend[2187]: I CoreContext serverpool.cpp:306  
(listen) Listening on TCP [0:0:0:0:0:0:0:1]:6544
Apr 17 07:42:39 myth mythbackend[2187]: N CoreContext mediaserver.cpp:169  
(Init) MediaServer:: Loopback address specified - 127.0.0.1. Disabling UPnP
Apr 17 07:42:39 myth mythbackend[2187]: I CoreContext main_helpers.cpp:626  
(run_backend) Main::Registering HttpStatus Extension
Apr 17 07:42:39 myth mythbackend[2187]: I CoreContext serverpool.cpp:306  
(listen) Listening on TCP 127.0.0.1:6543
Apr 17 07:42:39 myth mythbackend[2187]: I CoreContext serverpool.cpp:306  
(listen) Listening on TCP [0:0:0:0:0:0:0:1]:6543
Apr 17 07:42:39 myth mythbackend[2187]: N CoreContext autoexpire.cpp:263  
(CalcParams) AutoExpire: CalcParams(): Max required Free Space: 1.0 GB  
w/freq: 15 min
Apr 17 07:42:42 myth mythbackend[2187]: I Scheduler scheduler.cpp:2010  
(HandleReschedule) Reschedule requested for id -1.
Apr 17 07:42:42 myth mythbackend[2187]: I Scheduler scheduler.cpp:2068  
(HandleReschedule) Scheduled 2 items in 0.1 = 0.01 match + 0.13 place
Apr 17 07:42:42 myth mythbackend[2187]: I Scheduler scheduler.cpp:2135  
(HandleRunSchedulerStartup) Scheduler: Seem to be woken up by USER
Apr 17 07:42:49 myth mythbackend[2187]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Apr 17 07:42:49 myth mythbackend[2187]: I HouseKeeping housekeeper.cpp:299  
(RunHouseKeeping) Running mythfilldatabase
Apr 17 07:42:49 myth mythbackend[2187]: I SystemIOHandlerW  
system-unix.cpp:90 (run) Starting IO manager (write)
Apr 17 07:42:49 myth mythbackend[2187]: I SystemIOHandlerR  
system-unix.cpp:90 (run) Starting IO manager (read)
Apr 17 07:42:49 myth mythbackend[2187]: I SystemSignalManager  
system-unix.cpp:485 (run) Starting process signal handler
Apr 17 07:42:49 myth mythbackend[2187]: I SystemManager  
system-unix.cpp:263 (run) Starting process manager
Apr 17 07:42:52 myth mythbackend[2187]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Monitor
Apr 17 07:42:52 myth mythbackend[2187]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 0)
Apr 17 07:42:52 myth mythbackend[2187]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Monitor
Apr 17 07:42:52 myth mythbackend[2187]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 1)
Apr 17 07:42:52 myth mythbackend[2187]: I Scheduler scheduler.cpp:2010  
(HandleReschedule) Reschedule requested for id -1.
Apr 17 07:42:52 myth mythbackend[2187]: I Scheduler scheduler.cpp:2068  
(HandleReschedule) Scheduled 2 items in 0.1 = 0.01 match + 0.10 place
Apr 17 07:43:21 myth mythbackend[2187]: N CoreContext main_helpers.cpp:664  
(run_backend) MythBackend exiting
Apr 17 07:43:21 myth mythbackend[2187]: E CoreContext  
mmulticastsocketdevice.cpp:62 (MMulticastSocketDevice)  
MMulticastSocketDevice(239.255.255.250:25): setsockopt - IP_ADD_MEMBERSHIP  
#012#011#011#011eno: No such device (19)
Apr 17 07:43:21 myth mythbackend[2187]: I CoreContext mythcontext.cpp:1115  
(~MythContext) Waiting for threads to exit.



More information about the mythtvnz mailing list