mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #02536
[Bug 609402] [NEW] mythtv-backend upstart config should wait for mysql
Public bug reported:
mythtv-backend requires mysql, so it should not start until mysql has
started and it should stop when mysql is stopping.
Due to bug #608423 mysql fails to start on my machine. Because of the
'respawn' directive in /etc/init/mythtv-backend.conf, my /var/log/syslog
was quickly filled with the following:
...
Jul 23 19:18:01 myth init: mythtv-backend main process (26729) terminated with status 254
Jul 23 19:18:01 myth init: mythtv-backend main process ended, respawning
Jul 23 19:18:04 myth init: mythtv-backend main process (26735) terminated with status 254
Jul 23 19:18:04 myth init: mythtv-backend main process ended, respawning
Jul 23 19:18:08 myth init: mythtv-backend main process (26741) terminated with status 254
Jul 23 19:18:08 myth init: mythtv-backend main process ended, respawning
...
and my /var/log/mythtv/mythbackend.log was filled with "Can't connect to
MySQL server on 'myth' (111)" errors.
The attached patch modifies the upstart config file to wait until mysql
starts before starting mythtv-backend and stop mythtv-backend when mysql
is stopping.
** Affects: mythbuntu
Importance: Undecided
Status: New
--
mythtv-backend upstart config should wait for mysql
https://bugs.launchpad.net/bugs/609402
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
Status in Mythbuntu, Ubuntu derivative focused upon MythTV: New
Bug description:
mythtv-backend requires mysql, so it should not start until mysql has started and it should stop when mysql is stopping.
Due to bug #608423 mysql fails to start on my machine. Because of the 'respawn' directive in /etc/init/mythtv-backend.conf, my /var/log/syslog was quickly filled with the following:
...
Jul 23 19:18:01 myth init: mythtv-backend main process (26729) terminated with status 254
Jul 23 19:18:01 myth init: mythtv-backend main process ended, respawning
Jul 23 19:18:04 myth init: mythtv-backend main process (26735) terminated with status 254
Jul 23 19:18:04 myth init: mythtv-backend main process ended, respawning
Jul 23 19:18:08 myth init: mythtv-backend main process (26741) terminated with status 254
Jul 23 19:18:08 myth init: mythtv-backend main process ended, respawning
...
and my /var/log/mythtv/mythbackend.log was filled with "Can't connect to MySQL server on 'myth' (111)" errors.
The attached patch modifies the upstart config file to wait until mysql starts before starting mythtv-backend and stop mythtv-backend when mysql is stopping.
Follow ups
-
[Bug 609402] I can't believe you helped me save over $1, 000 on this watches
From: boucek, 2012-04-13
-
[Bug 609402] Re: mythtv-backend upstart config should wait for mysql
From: Launchpad Bug Tracker, 2010-11-20
-
[Bug 609402] Re: mythtv-backend upstart config should wait for mysql
From: Mario Limonciello, 2010-11-16
-
[Bug 609402] Re: mythtv-backend upstart config should wait for mysql
From: Mario Limonciello, 2010-11-15
-
[Bug 609402] Re: mythtv-backend upstart config should wait for mysql
From: Launchpad Bug Tracker, 2010-11-15
-
[Bug 609402] Re: mythtv-backend upstart config should wait for mysql
From: Leo Arias, 2010-08-12
-
[Bug 609402] Re: mythtv-backend upstart config should wait for mysql
From: Leo Arias, 2010-08-12
-
[Bug 609402] Re: mythtv-backend upstart config should wait for mysql
From: Brian Murray, 2010-08-09
-
[Bug 609402] Re: mythtv-backend upstart config should wait for mysql
From: Mario Limonciello, 2010-07-25
-
[Bug 609402] Re: mythtv-backend upstart config should wait for mysql
From: a7x, 2010-07-25
-
[Bug 609402] Re: mythtv-backend upstart config should wait for mysql
From: a7x, 2010-07-24
-
[Bug 609402] Re: mythtv-backend upstart config should wait for mysql
From: a7x, 2010-07-24
-
[Bug 609402] [NEW] mythtv-backend upstart config should wait for mysql
From: a7x, 2010-07-24
References