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)
Upstart conflict with mythtv-backend
Moderator: Forum Moderators
Re: Upstart conflict with mythtv-backend
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:
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
Re: Upstart conflict with mythtv-backend
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:~$
# /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:~$
Re: Upstart conflict with mythtv-backend
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
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
Re:Ubuntu/mythtv-setup: Name "com.ubuntu.Upstart" does not e
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.
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.