[mythtv-users] Can't start backend on Debian 9 (Stretch)

Stefan Davids mythtv at stefan.davids.uk.net
Thu Jul 27 21:23:03 UTC 2017


On 27/07/17 21:37, Mike Perkins wrote:
> On 27/07/17 19:28, Stefan Davids wrote:
>> On 27/07/17 18:44, Mike Perkins wrote:
>>
>>>>
>>> As I said, I don't have that file. I've checked the .deb contents and
>>> the .service file isn't in there.
>>>
>>> Since I selected "mythtv-backend" to install I'm wondering if the
>>> .service files only come with an install of everything.
>>>
>>> My big problem is that everything was working fine until I reloaded the
>>> database. Something changed and I don't know what. If I run the backend
>>> by hand it comes up fine, so I know there's nothing wrong with the
>>> database or the internal configuration, but that's not a sustainable
>>> solution.
>>
>> You could try just dropping that .service file into where I found it,
>> do "systemctl daemon-reload"
>> and see if you can start it with systemctl start then.
>>
>> I'd expect a .system to be in the mythtv-backend package since that's
>> what needs them but I didn't
>> get the deb's I used from deb-multimedia. I followed
>>
>> https://www.mythtv.org/wiki/Installing_MythTV_on_Debian
>>
>> which was pretty painless and built .debs which did all the systemd
>> stuff for me.  You'll have to
>> fiddle the dependencies since it still depends on libmysqlclient-dev
>> which doesn't seem to be in
>> stretch anymore.  I did the following:
>>
>> +++ packaging/deb/mythtv/debian/control 2017-07-27 19:20:21.543742313
>> +0100
>> @@ -71,7 +71,7 @@
>>                  libxv-dev,
>>                  libtag1-dev,
>>                  libvisual-0.4-dev,
>> +                default-libmysqlclient-dev,
>> -                libmysqlclient-dev,
>>                  libdate-manip-perl,
>>                  libxml-simple-perl,
>>                  libimage-size-perl,
>>
>> And it build and installed fine.  Probably MariaDB related.
>>
> ...and that made no difference either. Doesn't raise a ripple. No logs,
> does not exist, never runs.
>

Weird.  Does it work if you make sure it's enabled via systemd and then 
reboot?  Maybe it's all just got in a mess.

All I can say is I got it to work fine following the mythtv.org 
instructions to create debs and installing them. Installing stuff from 
the deb-multimedia repository seems to come with a bit of a health 
warning on the internet at large due to potentially overwriting other 
official debian packages too. YMMV.

Stefan







More information about the mythtv-users mailing list