Upstart conflict with mythtv-backend

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
Glb1945
Junior
Posts: 28
Joined: Sat Jul 08, 2017 10:39 pm
United States of America

Upstart conflict with mythtv-backend

Post by Glb1945 »

I am having the problem with Upstart on Ubuntu 16.04. I do not understand the suggestion about adding the link to /etc/init.d which is a directory. Can you be more specific where the link goes (which file in that directory)? Thank you for your help.

Jerry (newbie)
User avatar
bill6502
Developer
Posts: 2325
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Upstart conflict with mythtv-backend

Post by bill6502 »

Hi,

While you can use Upstart with 16.04, systemd is the default, but maybe you already know that.
I haven't heard of the suggestion you mentioned, can you add a link to it.

This will tell you if systemd already has a .system file for the backend:

Code: Select all

systemctl cat mythtv-backend
Glb1945
Junior
Posts: 28
Joined: Sat Jul 08, 2017 10:39 pm
United States of America

Re: Upstart conflict with mythtv-backend

Post by Glb1945 »

jerry@zbox-id83-office:~$ systemctl cat mythtv-backend
# /lib/systemd/system/mythtv-backend.service
[Unit]
Description=MythTV Backend
Documentation=https://www.mythtv.org/wiki/Mythbackend
After=mysql.service network.target

[Service]
User=mythtv
EnvironmentFile=-/etc/mythtv/additional.args
ExecStart=/usr/bin/mythbackend --quiet --syslog local7 $ADDITIONAL_ARGS
StartLimitBurst=10
StartLimitInterval=10m
Restart=on-failure
RestartSec=1

[Install]
WantedBy=multi-user.target
jerry@zbox-id83-office:~$
Glb1945
Junior
Posts: 28
Joined: Sat Jul 08, 2017 10:39 pm
United States of America

Re: Upstart conflict with mythtv-backend

Post by Glb1945 »

Glb1945
Junior
Posts: 28
Joined: Sat Jul 08, 2017 10:39 pm
United States of America

Re: Upstart conflict with mythtv-backend

Post by Glb1945 »

bill,

Here is the error message I receive:

jerry@zbox-id83-office:~$ ssh -X jerry@192.168.0.108 /usr/bin/mythtv-setup
mysql: [Warning] Using a password on the command line interface can be insecure.
status: Name "com.ubuntu.Upstart" does not exist

Jerry
User avatar
bill6502
Developer
Posts: 2325
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re:Ubuntu/mythtv-setup: Name "com.ubuntu.Upstart" does not e

Post by bill6502 »

Good info. The Wiki page you cited has been updated to mention that
systemd is now the default. And your cat of the .service looks good.
That also suggests that you're able to ssh into the backend OK.

No need to link anything. I'm assuming that you haven't selected any options
at boot time that cause Upstart to run as opposed to systemd.

The mysql warning is harmless. And I don't know where the Name "com.ubuntu.Upstart"
is coming from. Sounds like a Dbus thing.

I'd edit the Subject: box on your initial post as I did on this response.
That will attract more eyes to the actual problem.

Maybe a Mythbuntu user can chime in here.
Post Reply