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

Re: Etch: aide gives "onexit unknown error"



On Sun, 2007-01-07 at 12:07 +0000, Matthijs van Aalten wrote:
> (apologies if this turns out to be a HTML-message - I haven't found an
> option to switch to plain text in windows live mail)
> 
> Hello,
> 
> I've recently installed Etch on my server, including package 'aide'.
> The daily cron job gives the following error:
> 
> /etc/cron.daily/aide: line 117: onexit: command not found
> /etc/cron.daily/aide: line 61: onexit: command not found
> run-parts: /etc/cron.daily/aide exited with return code 127
> 
> My scripting capabilities are limited, but according to
> /etc/cron.daily/aide, function 'onexit' is defined on line 135.
> 
> Am I doing something wrong or should I report this as a bug to the
> aide maintainers?

Unless you wrote the cron script yourself, you should probably report
the bug.

If /etc/cron.daily/aide is a bash script (starts with "#! /bin/bash"),
and onexit is being called on lines 61 or 117 and being defined on 135,
it is definitely an error in the script itself and nothing you are
doing.

-davidc

-- 
gpg-key: http://www.zettazebra.com/files/key.gpg

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: