monit-general
[Top][All Lists]
Advanced

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

Re: monit suddenly won't start


From: Martin Pala
Subject: Re: monit suddenly won't start
Date: Sun, 09 Apr 2006 11:25:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051007 Debian/1.7.12-1

... what monit version is used? Can you send the configuration files?

Martin

Mike Pepe wrote:
I edited out a couple of extraneous lines from my process monitor rc files. I was checking the lockfiles to stop monitoring, but I found out they didn't work- so they were removed.

Now monit won't start. It gives syntax errors on everything.

address@hidden monit.d]# monit -vI
monit: Debug: Adding host allow 'localhost' (127.0.0.1).
monit: Debug: Adding host allow 'home.doki-doki.net' (68.197.111.48).
monit: Debug: Adding credentials for user 'admin'.
/etc/monit.d/dovecot:1: Error: syntax error 'process'

the dovecot file is:

check process dovecot with pidfile /var/run/dovecot/master.pid
   start program = "/etc/init.d/dovecot start"
   stop  program = "/etc/init.d/dovecot stop"
   if failed host mail.doki-doki.net port 143 type TCP protocol IMAP
        then restart
   if 5 restarts within 5 cycles then timeout

it does this for all of them...

what happened?




reply via email to

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