[mythtv-users] mythtv-backend service stops

Paul Harrison mythtv at sky.com
Sun Nov 16 11:18:29 UTC 2014


On 16/11/14 10:56, Jan Ceuleers wrote:
> On 11/15/2014 09:14 PM, Roger Searle wrote:
>> Why does the backend service stop almost immediately?
> In order to answer this particular question (which may help you to
> diagnose the other issues you are facing), try running the backend
> manually from the cli instead of by starting it as a service. As a test,
> of course: I'm not suggesting that you always start the backend like
> this from now on.
>
> In order to make this test as relevant as possible, first find out how
> (i.e. with which command-line options) the backend is being started by
> looking at the relevant init script. On my 12.04 system, the following
> incantation achieves this:
>
> root at be:~# grep /usr/bin/mythbackend < /etc/init/mythtv-backend.conf
> 	LANG=$LANG exec /usr/bin/mythbackend --syslog local7 --user mythtv --daemon
>
> So then, still as root, start the backend as above (except for the
> --daemon bit) and watch its output:
>
> root at be:~# /usr/bin/mythbackend --syslog local7 --user mythtv
>
> The backend's output will tell you for sure, but I'll bet it'll start
> working if you remove options such as --nologserver and --enable-dblog
> if they are present. Because that's what happened to me recently
> (without upgrading to 14.04; a recent update from 0.27-fixes broke my
> backend in the same way as your report until I removed those options
> from my init script).
>
> HTH, Jan
>

One thing to lookout for is an illegal combination of parameters being 
passed
to the backend.

We now check that --syslog, --logpath and --enable-dblog are not used
if --nologserver is used.

https://code.mythtv.org/cgit/mythtv/commit/?id=ec06dfba

Paul H.


More information about the mythtv-users mailing list