monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Control file errors: Error: syntax error 'start program = "'


From: Jan-Henrik Haukeland
Subject: Re: Control file errors: Error: syntax error 'start program = "'
Date: Thu, 09 Dec 2004 00:31:51 +0100

The problem is the two set alert statements you have added in the middle
of the check-entry. They are wrong in this context. All set-statements
are global and belongs at the top of the config file. BTW I would remove
the every statement unless your zope server is very slow at startup.




On Wed, 2004-12-08 at 13:48 -0800, Paul Sue wrote:
> 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
-- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]