On Thursday 20 May 2004 14:10, Steven Schoch wrote: >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
This is the wrong group, the group may be bin, backup or disk, but it should have essentially root rights to the system. A gid <=10 is desireable. > >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/ -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) 99.22% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attorneys please note, additions to this message by Gene Heskett are: Copyright 2004 by Maurice Eugene Heskett, all rights reserved.