Re: AIDE problems

From: Adam Aube (aaube01_at_baker.edu)
Date: 02/12/04

  • Next message: John W Clark: "Re: Adjusting the speed of mouse-wheel scrolling [repost]"
    To: debian-user@lists.debian.org
    Date: Wed, 11 Feb 2004 21:39:27 -0500
    
    

    On Wednesday 11 February 2004 12:49 pm, Keith Nasman wrote:
    > When my cronjob is run, it reports that it could not access
    > /var/lib/aide.db.

    > Here are what I think the relative lines are in /etc/cron.daily/aide

    > CONFFILE="/floppy/aide/aide.conf"
    > DATABASE=`grep "^database=file:/" $CONFFILE | head -1 | cut -d: -f2`
    > [ -z "$DATABASE" ] && DATABASE="/var/lib/aide/aide.db"

    The -z test returns true if the variable being tested is unset. The fact
    that DATABASE is getting the default value indicates that the script is
    having problems reading your configuration file.

    Are you mounting the floppy drive via autofs (or similar)? If not, are you
    ensuring the floppy is mounted before the script gets run? What happens
    if you run this script from the command line?

    Adam

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: John W Clark: "Re: Adjusting the speed of mouse-wheel scrolling [repost]"

    Relevant Pages

    • Cron quirk
      ... that mails me some reports. ... If I run the script ... me anything as a cronjob... ...
      (RedHat)
    • Re: Cron quirk
      ... > that mails me some reports. ... If I run the script ... > me anything as a cronjob... ...
      (RedHat)
    • RE: Cron quirk
      ... > that mails me some reports. ... If I run the script ... > me anything as a cronjob... ... Check your path/environment variables in your cron script. ...
      (RedHat)
    • Re: Cron quirk
      ... It might be that cron doesn't know what shell to use, to run the script. ... > that mails me some reports. ... > me anything as a cronjob... ...
      (RedHat)
    • Re: Copy file with multiple names
      ... be reaching to assume thet I use a flawed concept just because I do not take ... Jeff C ... but I was asking for assistance on the script. ... I have automated pivot table reports generated from data. ...
      (microsoft.public.scripting.vbscript)