[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Syntax error
From: |
Martin Pala |
Subject: |
Re: Syntax error |
Date: |
Wed, 25 Jun 2014 22:36:52 +0200 |
Does the group exist? (grep mmonit /etc/group)
On 25 Jun 2014, at 22:34, Bruce MacKenzie <address@hidden> wrote:
> Thanks for your reply. Now I get this;
> Requested group not found on the system ''mmonit''
> Bruce
> address@hidden
>
>
>
> On Jun 25, 2014, at 12:05 PM, Martin Pala <address@hidden> wrote:
>
>> "mmonit" is reserved word (for "set mmonit" statement) ... you need to quote
>> it when used in the uid/gid options:
>>
>> --8<--
>> check process mmonit with pidfile /usr/local/mmonit/logs/mmonit.pid
>> start program = "/usr/local/mmonit/bin/mmonit" as uid "mmonit" and gid
>> "mmonit"
>> stop program = "/usr/local/mmonit/bin/mmonit stop" as uid "mmonit" and gid
>> "mmonit"
>> --8<--
>>
>> Regards,
>> Martin
>>
>>
>> On 25 Jun 2014, at 20:06, Bruce MacKenzie <address@hidden> wrote:
>>
>>> I’m trying to monitor mmonit. I set up monitrc as so;
>>> check process mmonit with pidfile /usr/local/mmonit/logs/mmonit.pid
>>> start program = "/usr/local/mmonit/bin/mmonit" as uid mmonit and gid mmonit
>>> stop program = "/usr/local/mmonit/bin/mmonit stop" as uid mmonit and gid
>>> mmonit
>>> When I check monit -t I get;
>>>
>>> /root/monit-5.8.1/monitrc:224: syntax error ‘mmonit'
>>>
>>> Anyone have any ideas?
>>>
>>> Bruce
>>> address@hidden
>>>
>>>
>>>
>>>
>>> --
>>> To unsubscribe:
>>> https://lists.nongnu.org/mailman/listinfo/monit-general
>>
>>
>> --
>> To unsubscribe:
>> https://lists.nongnu.org/mailman/listinfo/monit-general
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general