[mythtvnz] Backend fails to start

Paulgir paulgir at gmail.com
Tue Apr 17 07:10:20 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?
>

Here's more from mythbackend.log after another reboot.

BTW "You have the commands, use them." is not helpful.we are not all  
experts.

Apr 17 17:24:24 myth mythbackend[1822]: N thread_unknown  
mythcommandlineparser.cpp:2536 (ConfigureLogging) Enabled verbose msgs:   
general
Apr 17 17:24:24 myth mythbackend[1822]: N thread_unknown logging.cpp:1176  
(logStart) Setting Log Level to LOG_INFO
Apr 17 17:24:24 myth mythbackend[1822]: I thread_unknown logging.cpp:229  
(FileLogger) Added logging to the console
Apr 17 17:24:24 myth mythbackend[1822]: I thread_unknown logging.cpp:369  
(SyslogLogger) Added syslogging to facility local7
Apr 17 17:24:24 myth mythbackend[1822]: I thread_unknown logging.cpp:425  
(DatabaseLogger) Added database logging to table logging
Apr 17 17:24:24 myth mythbackend[1822]: N thread_unknown logging.cpp:1215  
(logStart) Setting up SIGHUP handler
Apr 17 17:24:24 myth mythbackend[1822]: N thread_unknown mythdirs.cpp:51  
(InitializeMythDirs) Using runtime prefix = /usr
Apr 17 17:24:24 myth mythbackend[1822]: N thread_unknown mythdirs.cpp:64  
(InitializeMythDirs) Using configuration directory = /home/mythtv/.mythtv
Apr 17 17:24:24 myth mythbackend[1822]: I CoreContext  
mythcorecontext.cpp:227 (Init) Assumed character encoding: en_NZ.UTF-8
Apr 17 17:24:24 myth mythbackend[1822]: N CoreContext mythcontext.cpp:477  
(LoadDatabaseSettings) Empty LocalHostName.
Apr 17 17:24:24 myth mythbackend[1822]: I CoreContext mythcontext.cpp:481  
(LoadDatabaseSettings) Using localhost value of myth
Apr 17 17:24:24 myth mythbackend[1822]: N CoreContext  
mythcorecontext.cpp:1270 (InitLocale) Setting QT default locale to en_NZ
Apr 17 17:24:24 myth mythbackend[1822]: I CoreContext  
mythcorecontext.cpp:1303 (SaveLocaleDefaults) Current locale en_NZ
Apr 17 17:24:24 myth mythbackend[1822]: E CoreContext mythlocale.cpp:108  
(LoadDefaultsFromXML) No locale defaults file for en_NZ, skipping
Apr 17 17:24:24 myth mythbackend[1822]: I CoreContext schemawizard.cpp:117  
(Compare) Current MythTV Schema Version (DBSchemaVer): 1299
Apr 17 17:24:24 myth mythbackend[1822]: I CoreContext  
mythtranslation.cpp:66 (load) Loading en_gb translation for module  
mythfrontend
Apr 17 17:24:24 myth mythbackend[1822]: N CoreContext main_helpers.cpp:556  
(run_backend) MythBackend: Starting up as the master server.
Apr 17 17:24:28 myth mythbackend[1822]: I CoreContext programinfo.cpp:2052  
(CheckProgramIDAuthorities) Found 2 distinct programid authorities
Apr 17 17:24:28 myth mythbackend[1822]: I Scheduler mythdbcon.cpp:422  
(getStaticCon) New static DB connectionSchedCon
Apr 17 17:24:28 myth mythbackend[1822]: I CoreContext serverpool.cpp:306  
(listen) Listening on TCP 127.0.0.1:6544
Apr 17 17:24:28 myth mythbackend[1822]: I CoreContext serverpool.cpp:306  
(listen) Listening on TCP [0:0:0:0:0:0:0:1]:6544
Apr 17 17:24:28 myth mythbackend[1822]: N CoreContext mediaserver.cpp:169  
(Init) MediaServer:: Loopback address specified - 127.0.0.1. Disabling UPnP
Apr 17 17:24:28 myth mythbackend[1822]: I CoreContext main_helpers.cpp:626  
(run_backend) Main::Registering HttpStatus Extension
Apr 17 17:24:28 myth mythbackend[1822]: I CoreContext serverpool.cpp:306  
(listen) Listening on TCP 127.0.0.1:6543
Apr 17 17:24:28 myth mythbackend[1822]: I CoreContext serverpool.cpp:306  
(listen) Listening on TCP [0:0:0:0:0:0:0:1]:6543
Apr 17 17:24:28 myth mythbackend[1822]: N CoreContext autoexpire.cpp:263  
(CalcParams) AutoExpire: CalcParams(): Max required Free Space: 1.0 GB  
w/freq: 15 min
Apr 17 17:24:31 myth mythbackend[1822]: I Scheduler scheduler.cpp:2010  
(HandleReschedule) Reschedule requested for id -1.
Apr 17 17:24:31 myth mythbackend[1822]: I Scheduler scheduler.cpp:2068  
(HandleReschedule) Scheduled 2 items in 0.2 = 0.06 match + 0.19 place
Apr 17 17:24:31 myth mythbackend[1822]: I Scheduler scheduler.cpp:2135  
(HandleRunSchedulerStartup) Scheduler: Seem to be woken up by USER
Apr 17 17:24:37 myth mythbackend[1822]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Monitor
Apr 17 17:24:37 myth mythbackend[1822]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 0)
Apr 17 17:24:37 myth mythbackend[1822]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Monitor
Apr 17 17:24:37 myth mythbackend[1822]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 1)
Apr 17 17:24:38 myth mythbackend[1822]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Apr 17 17:25:47 myth mythbackend[1822]: N Expire autoexpire.cpp:263  
(CalcParams) AutoExpire: CalcParams(): Max required Free Space: 1.0 GB  
w/freq: 15 min
Apr 17 17:28:31 myth mythbackend[1822]: I SystemIOHandlerW  
system-unix.cpp:90 (run) Starting IO manager (write)
Apr 17 17:28:31 myth mythbackend[1822]: I SystemIOHandlerR  
system-unix.cpp:90 (run) Starting IO manager (read)
Apr 17 17:28:31 myth mythbackend[1822]: I SystemSignalManager  
system-unix.cpp:485 (run) Starting process signal handler
Apr 17 17:28:31 myth mythbackend[1822]: I SystemManager  
system-unix.cpp:263 (run) Starting process manager
Apr 17 17:28:31 myth mythbackend[1822]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Monitor
Apr 17 17:28:31 myth mythbackend[1822]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 0)
Apr 17 17:28:31 myth mythbackend[1822]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Monitor
Apr 17 17:28:31 myth mythbackend[1822]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 1)
Apr 17 17:28:44 myth mythbackend[1822]: I Scheduler scheduler.cpp:2010  
(HandleReschedule) Reschedule requested for id 778.
Apr 17 17:28:44 myth mythbackend[1822]: I Scheduler scheduler.cpp:2068  
(HandleReschedule) Scheduled 3 items in 0.1 = 0.01 match + 0.12 place
Apr 17 17:28:46 myth mythbackend[1822]: I Scheduler scheduler.cpp:2010  
(HandleReschedule) Reschedule requested for id 779.
Apr 17 17:28:46 myth mythbackend[1822]: I Scheduler scheduler.cpp:2068  
(HandleReschedule) Scheduled 4 items in 0.1 = 0.01 match + 0.13 place
Apr 17 17:28:53 myth mythbackend[1822]: I Scheduler scheduler.cpp:2010  
(HandleReschedule) Reschedule requested for id 780.
Apr 17 17:28:53 myth mythbackend[1822]: I Scheduler scheduler.cpp:2068  
(HandleReschedule) Scheduled 5 items in 0.1 = 0.01 match + 0.11 place
Apr 17 17:29:02 myth mythbackend[1822]: I Scheduler scheduler.cpp:2010  
(HandleReschedule) Reschedule requested for id 781.
Apr 17 17:29:02 myth mythbackend[1822]: I Scheduler scheduler.cpp:2068  
(HandleReschedule) Scheduled 6 items in 0.1 = 0.00 match + 0.09 place
Apr 17 17:29:08 myth mythbackend[1822]: I Scheduler scheduler.cpp:2010  
(HandleReschedule) Reschedule requested for id 782.
Apr 17 17:29:08 myth mythbackend[1822]: I Scheduler scheduler.cpp:2068  
(HandleReschedule) Scheduled 7 items in 0.1 = 0.00 match + 0.11 place
Apr 17 17:29:14 myth mythbackend[1822]: I Scheduler scheduler.cpp:2010  
(HandleReschedule) Reschedule requested for id 783.
Apr 17 17:29:15 myth mythbackend[1822]: I Scheduler scheduler.cpp:2068  
(HandleReschedule) Scheduled 8 items in 0.1 = 0.00 match + 0.12 place
Apr 17 17:29:17 myth mythbackend[1822]: I Scheduler scheduler.cpp:2010  
(HandleReschedule) Reschedule requested for id 784.
Apr 17 17:29:17 myth mythbackend[1822]: I Scheduler scheduler.cpp:2068  
(HandleReschedule) Scheduled 9 items in 0.1 = 0.00 match + 0.11 place
Apr 17 17:29:26 myth mythbackend[1822]: I Scheduler scheduler.cpp:2010  
(HandleReschedule) Reschedule requested for id 785.
Apr 17 17:29:26 myth mythbackend[1822]: I Scheduler scheduler.cpp:2068  
(HandleReschedule) Scheduled 10 items in 0.1 = 0.01 match + 0.09 place
Apr 17 17:29:33 myth mythbackend[1822]: I Scheduler scheduler.cpp:2010  
(HandleReschedule) Reschedule requested for id 786.
Apr 17 17:29:33 myth mythbackend[1822]: I Scheduler scheduler.cpp:2068  
(HandleReschedule) Scheduled 11 items in 0.1 = 0.00 match + 0.09 place
Apr 17 17:29:38 myth mythbackend[1822]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Apr 17 17:29:40 myth mythbackend[1822]: I Scheduler scheduler.cpp:2010  
(HandleReschedule) Reschedule requested for id 787.
Apr 17 17:29:40 myth mythbackend[1822]: I Scheduler scheduler.cpp:2068  
(HandleReschedule) Scheduled 12 items in 0.1 = 0.00 match + 0.09 place
Apr 17 17:29:41 myth mythbackend[1822]: I Scheduler scheduler.cpp:2010  
(HandleReschedule) Reschedule requested for id 788.
Apr 17 17:29:41 myth mythbackend[1822]: I Scheduler scheduler.cpp:2068  
(HandleReschedule) Scheduled 13 items in 0.1 = 0.00 match + 0.14 place
Apr 17 17:29:57 myth mythbackend[1822]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Monitor
Apr 17 17:29:57 myth mythbackend[1822]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 0)
Apr 17 17:29:57 myth mythbackend[1822]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Monitor



More information about the mythtvnz mailing list