[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: multiple monit instances running.
From: |
Peter Holdaway |
Subject: |
RE: multiple monit instances running. |
Date: |
Fri, 25 Jul 2003 21:00:45 -0700 |
Hi,
In addition I just noticed that the extra instances of monit that are
running are not owned by root, but by the 'lxs' user.
I am using "as uid lxs" as a qualifier to the start and stop program
directives.
Perhaps a fork was not followed by an exec?
Peter
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden
> On Behalf Of Peter Holdaway
> Sent: Friday, July 25, 2003 8:54 PM
> To: address@hidden
> Subject: multiple monit instances running.
>
>
> Hi,
>
> I am running the version of monit in CVS on Solaris running under init.
>
> I sometimes see multiple copies of the monit daemon running. This seems
> to
> be related to monit reload commands.
>
> address@hidden $ ps -fe | grep monit
> lxs 14345 1 0 18:45:36 ? 0:00
> /opt/technocom/SOL_5_8_SPC/bin/monit -Ic /etc/monitrc
> root 16418 21194 0 20:45:08 pts/7 0:00 grep monit
> lxs 14488 1 0 18:46:35 ? 0:00
> /opt/technocom/SOL_5_8_SPC/bin/monit -Ic /etc/monitrc
> lxs 14333 1 0 18:45:36 ? 0:00
> /opt/technocom/SOL_5_8_SPC/bin/monit -Ic /etc/monitrc
>
> While monit status seems to work, most other things including the httpd do
> not.
>
> When I try and reload monit ...
>
> address@hidden $ monit reload
> Reinitializing monit daemon
> monit: No daemon process found
>
> Something has broken the pid files?
>
> address@hidden $ ls -la /var/run/monit.pid /etc/monit.pid
> gls: /var/run/monit.pid: No such file or directory
> gls: /etc/monit.pid: No such file or directory
>
>
> --
> Peter Holdaway TechnoCom
> Phone: 760 943 6858 ext 132 681 Encinitas Blvd., Suite 406
> Fax: 760 943 6619 Encinitas, CA 92024
> Email: address@hidden http://www.technocom-
> wireless.com/
>
>
>
>
> --
> To unsubscribe:
> http://mail.nongnu.org/mailman/listinfo/monit-general