Hello,

I am trying to post my messages atomically: one topic at a time.  Please
let me know if this is not correct...

I am trying to see why my cron job "amdump Daily" is sometimes failing
with the message:

        "amdump: amdump or amflush is already running, or you must run
        amcleanup"

This configuration has functioned before.  Cron is executing as my
amanda user, and all permissions (I believe) are correct.  Running
"amcleanup Daily" produces "amcleanup: no unprocessed logfile to clean
up."

I looked in the amdump script to find the line "amdump or amflush is
already running":

        if test -f $errfile || test -f $logdir/log; then
                echo "amdump: amdump or amflush is already running, 
                or you must run amcleanup" >&2
                exit 1
        fi

Well, $errfile corresponds to "/var/amanda/DailySet1/amdump" and
$logdir/log corresponds to "/var/amanda/DailySet1/log".  Neither one of
these files exist, so why is amdump balking at this point?

--jason




-- 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jason Brooks ~ (503) 641-3440 x1861
      Direct ~ (503) 924-1861
System / Network Administrator 
Wind River Systems
8905 SW Nimbus ~ Suite 255      
Beaverton, Or 97008

Reply via email to