[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mythbackend service
From: |
Josu Lazkano |
Subject: |
mythbackend service |
Date: |
Sun, 13 Jul 2014 20:29:06 +0200 |
Hello,
I am using monit to strat some services on my server, I have a problem
with mythbackend, it use to segfault sometimes and it does not start
automatically:
Jul 11 21:47:59 server mythbackend[16217]: I Scheduler
scheduler.cpp:2099 (HandleReschedule) Reschedule requested for MATCH 0
2 0 2014-07-11T19:58:28Z EITScanner
Jul 11 21:47:59 server mythbackend[16217]: I Scheduler
scheduler.cpp:2212 (HandleReschedule) Scheduled 1 items in 0.0 = 0.01
match + 0.00 check + 0.00 place
Jul 11 21:47:59 server mythbackend[16217]: C CoreContext
signalhandling.cpp:305 (handleSignal) Received Segmentation fault:
Code 1, PID -8, UID -1, Value 0x7f686ee8e6c0
This is the service configuration file:
# cat /etc/monit/conf.d/mythbackend.conf
check process mythbackend with pidfile /var/run/mythtv/mythbackend.pid
start program = "/etc/init.d/mythtv-backend start"
stop program = "/etc/init.d/mythtv-backend stop"
And this is what it says when executing the "start" script:
# /etc/init.d/mythtv-backend start
mythbackend already running, use restart instead.
If I restart, it works great:
# /etc/init.d/mythtv-backend restart
Restarting MythTV server: mythbackend No /usr/bin/mythbackend found
running; none killed.
.
.
How could I configure this service?
This is what monit logs says:
[CEST Jul 13 20:20:49] error : 'mythbackend' process is not running
[CEST Jul 13 20:20:49] info : 'mythbackend' trying to restart
[CEST Jul 13 20:20:49] info : 'mythbackend' start:
/etc/init.d/mythtv-backend
[CEST Jul 13 20:21:19] error : 'mythbackend' failed to start
Thanks and best regards.
--
Josu Lazkano
- mythbackend service,
Josu Lazkano <=