Thanks for the clarification... I went ahead and tried that one after
thinking about it a bit and it worked.


On 6/26/09 1:09 AM, "Dominik Klein" <[email protected]> wrote:

> David Hoskinson wrote:
>> I tested the lsb for amavis and it passed all the tests.  I was seeing
>> timeout errors in the logs saying over 20s.  By specifying only timeout
>> instead of both interval and timeout in my start op is that what you mean...
>> Such as
>> 
>> Primitive amavisd lsb:amavisd op monitor timeout=45s
> 
> You're supposed to add a _start_ op, not a _monitor_ op.
> 
> Like
> 
> primitive ... op start timeout=45s
> 
> Regards
> Dominik
> 
>> Thanks for the help
>> 
>> 
>> On 6/25/09 8:44 AM, "David Hoskinson" <[email protected]> wrote:
>> 
>>> Hmmm.... I understand I will try this in a bit, thanks for the tip
>>> 
>>> 
>>> On 6/25/09 1:20 AM, "Dominik Klein" <[email protected]> wrote:
>>> 
>>>> David Hoskinson wrote:
>>>>> Thanks.... Got it going again.  However my amavisd service fails with a
>>>>> unknown exec error.  Its the only one that won't work, and isn't related
>>>>> to
>>>>> the group question.  I have it setup the same as postfix, dovecot, etc.
>>>>> 
>>>>> Primitive amavisd lsb:amavisd op monitor interval=30s timeout=30s
>>>> Is that amavisd script LSB compliant? See
>>>> http://www.linux-ha.org/LSBResourceAgent for how to check on that.
>>>> 
>>>>> Just wondering if its taking too long to start or what...  If you have any
>>>>> ideas that would be great.
>>>> If start takes longer than the default operation timeout (20s by
>>>> default), then you should see that in the logs.
>>>> 
>>>> You can work around that by specifying a start op with timeout=whatever
>>>> amount of time you need. Make sure you do NOT set an interval for the
>>>> start op. Seems to be a common mistake.
>>>> 
>>>> Regards
>>>> Dominik
>>>> _______________________________________________
>>>> Linux-HA mailing list
>>>> [email protected]
>>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>>>> See also: http://linux-ha.org/ReportingProblems
>>> 
>>> _______________________________________________
>>> Linux-HA mailing list
>>> [email protected]
>>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>>> See also: http://linux-ha.org/ReportingProblems
>> 
>> 
>> _______________________________________________
>> Linux-HA mailing list
>> [email protected]
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
>> 
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to