Amanda-Users

amcheck/amdump fails (sometimes) to amanda client

2004-05-20 14:14:28
Subject: amcheck/amdump fails (sometimes) to amanda client
From: "Steven Schoch" <stevenschoch AT hotmail DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 20 May 2004 11:10:17 -0700
The machines in question are both on a 10Mb hub. The tape server is a new RedHat Enterprise Linux running amanda-2.4.4p1-0.3E direct from the RedHat distribution. The client (named "marge") is running FreeBSD 4.7, running amanda 2.4.4p2 compiled from source that I downloaded yesterday in an attempt to solve the problem. It is compiled with:

./configure --without-server --with-group=amanda --with-user=amanda --with-amandahosts

When I run amcheck (as amanda) manually on the RedHat machine, it reports no problems with the FreeBSD machine. The FreeBSD machine (marge) creates debug files in /tmp/amanda and everything seems to be working fine.

However, when amcheck is run from cron, as amanda, with the following line:

0 16 * * 1-5    /usr/sbin/amcheck -m KBack

... it reports, every day:

WARNING: marge: selfcheck request timed out.  Host down?

Also, the amdump command, run from crontab as this:

45 0 * * 2-6    /usr/sbin/amdump KBack

also fails with

 marge      /var RESULTS MISSING

In these cron cases, no files are created in /tmp/amanda on marge.


So why does it work in a terminal but fail when run from cron?

By the way, the RedHat tape server is new, but amanda on marge had been working fine with an older RedHat system earlier.

--
Steven Schoch

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar ? get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/