[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Control file errors: Error: syntax error 'start program = "'
From: |
zareh |
Subject: |
Re: Control file errors: Error: syntax error 'start program = "' |
Date: |
Wed, 8 Dec 2004 14:17:59 -0800 (PST) |
User-agent: |
DSL Extreme Webmail (www.dslextreme.com) |
Try this:
check process zope with pidfile /home/zope/zopehome/var/Z2.pid
start program = "/etc/init.d/zope start"
stop program = "/etc/init.d/zope stop"
group zope
if failed host 198.1.100.37 port 8080 protocol HTTP then restart
if 5 restarts within 5 cycles then timeout
set alert address@hidden
set alert address@hidden on { timeout }
I just moved the alerts to be below the if statements, and got rid of
every 5
alert
Paul Sue
> Hi,
>
> Installed monit-4.4-1.1.fc2.dag.i386.rpm on my RH FC2 server. Copied the
> config. for Zope server from the Web site:
>
> http://www.tildeslash.com/monit/doc/examples.php
>
> Ran monit -tc <config. file) and got an error:
>
> /etc/monit.conf:374: Error: syntax error 'start program = "'
>
> The offending line (nad context) is:
>
> check process zope with pidfile /home/zope/zopehome/var/Z2.pid
> set alert address@hidden
> set alert address@hidden on { timeout }
> start program = "/etc/init.d/zope start" <---------------- line
> 374
> stop program = "/etc/init.d/zope stop"
> group zope
> if failed host 198.1.100.37 port 8080 protocol HTTP then restart
> if 5 restarts within 5 cycles then timeout
> every 5
> alert
>
> What's the problem?????
>
> Thanks,
>
> Paul
>
>
>
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general
>