[mythtv-users] monit on ubuntu not working...
Steven Adeff
adeffs.mythtv at gmail.com
Tue Jul 17 03:37:34 UTC 2007
On 7/16/07, Tom Greer <trgreer at gmail.com> wrote:
> On 7/15/07, Steven Adeff <adeffs.mythtv at gmail.com> wrote:
> > monit doesn't seem to be monitoring mythbackend. the pid I gave it is
> > correct and gets created by my mythbackend init.d script. but if I
> > kill mythbackend monit never restarts it and the monit web service
> > manager shows that monit doesn't seem to realize its dead. As well, if
> > I run monit after killing mythbackend the web service manager doesn't
> > show it as being dead but as "running". the web service manager also
> > shows "System" status as always "initializing".
> >
> > anyone have an idea of whats going wrong?
> >
> > is there a way to increase the verbosity of the log?
> >
> > here's whats in my monitrc,
> >
> > ################### MythBackend
> ####################################
> > check process mythbackend with pidfile /var/run/mythtv/mythbackend.pid
> > group mythtv
> > start program = "/etc/init.d/mythbackend start"
> > stop program = "/etc/init.d/mythbackend stop"
> > if failed port 6544 proto http then restart
> > if 5 restarts within 5 cycles then timeout
> > depends on mysql
> >
> > ################### MySQL
> ####################################
> > check process mysql with pidfile /var/run/mysqld/mysqld.pid
> > group mythtv
> > start program = "/etc/init.d/mysql start"
> > stop program = "/etc/init.d/mysql stop"
> > if failed port 3306 then restart
> > if 5 restarts within 5 cycles then timeout
> >
> >
> >
> >
> > thanks!
> > --
> > Steve
> >
>
> I've got a similar setup and the same results.
>
> I'm sure this used to work; but lately I find times when the backend process
> disappears - and I end up restarting by hand.
disappointing, but at least I'm not alone. I'll assume ubuntu's
package of monit is messed up.
--
Steve
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/index.php/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette -
http://www.mythtv.org/wiki/index.php/Mailing_List_etiquette
More information about the mythtv-users
mailing list