Hello,
First thing this morning:
The problem repeated itself. I even copied the configuration to a test configuration
and amdump ran just fine.
1500:
I just ran amdump by hand and got a good backup while at a doctor's office. I had
changed one thing: I commented out of my disk list all
entries with the following dumptype used:
define dumptype nocomp-root-incr {
nocomp-root
comment "incremental only"
skip-full
}
Is there anything obviously wrong about this?
2335:
Wait! the cron job just failed! Yikes!
> Is there any chance the run from the night before hasn't finished?
There are no leftover processes, and amcleanup run as my amanda user shows nothing to
recover from
[streak : bv-amanda]$ amcleanup Daily
amcleanup: no unprocessed logfile to clean up.
Scanning /amanda1...
lost+found: skipping cruft directory, perhaps you should delete it.
[streak : bv-amanda]$
I am running amanda version 2.4.2p1 on both server and all clients. The server is a
redhat linux 7.0 machine running a distclean compile of
kernel 2.2.19 (not redhat's version). I have not patched amanda with anything (yet),
but the fstab issues I mentioned in a previous post,
do not exist here. (that is, I have removed the "label" scheme used in redhat 7.0's
/etc/fstab).
I am running linux's version of dump, although that's irrelevant here.
>
> Was the machine possibly rebooted while the previous run was still
> going and amcleanup was not run during the boot sequence?
It was rebooted several times during the day (the day after the first failure), but no
amanda sequences were being run at the time. I have
also updated my rc.local with the following script exerpt:
echo "cleaning up any amanda dumps left in the lurch..."
for i in `ls /usr/local/etc/amanda |grep -v "^lbl"`
do
echo $i
su -l bv-amanda -c "/usr/local/sbin/amcleanup ${i}"
done
> If the above ideas don't help, you could add a couple of lines to the
> script right before it exits:
>
> ls -l $errfile $logdir/log 1>&2
> ps -fu AMANDA 1>&2
Here's the ouput, but it just worked when I ran amdump by hand as my amanda user. the
cron entry is in my amanda user's crontab...
start jason's debug
ls: /var/amanda/DailySet1/amdump: No such file or directory
ls: /var/amanda/DailySet1/log: No such file or directory
UID PID PPID C STIME TTY TIME CMD
11600 21886 21885 0 Apr30 pts/0 00:00:00 -bash
11600 2050 2049 0 11:36 pts/3 00:00:00 -bash
11600 2805 2050 0 11:46 pts/3 00:00:00 sh /usr/local/sbin/amdump Daily
11600 2810 2805 0 11:46 pts/3 00:00:00 ps -fu bv-amanda
I guess I will see what happens tonight...
--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