>When cron is execute amdump, fabio (not a backup user)  user received from
>root a e-mail like this:
>
>Subject: Cron <amanda@sam> /usr/sbin/amdump DailySet1

There are two many variables in the above :-).  The Subject line implies
the cron job is being run by "amanda".  The mail came from "root"
(which might just be the way cron works on your system).  Yet "fabio"
got the mail.

Can you determine which user actually tried to run "/usr/sbin/amdump
DailySet1"?

>"amanda.conf", line 26: configuration keyword expected
>"amanda.conf", line 26: end of line expected
>...

What happens if you run "/usr/sbin/amgetconf DailySet1 logdir" as the
same user that ran the cron job (I assume amgetconf is in the same
directory as amdump)?

Look at the beginning of /usr/sbin/amdump (it's a shell script) for
the assignment to variable "confdir".  What is it set to?  Is it set
to "/etc/amanda"?

Do /usr/sbin/amdump and /usr/sbin/amgetconf have roughly the same
modification timestamp?  If so, what is the "SUF" variable set to in
amdump (just a few lines after the "confdir" assignment)?

>Fabio.

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Reply via email to