Amanda-Users

Re: selfcheck request timed out

2006-01-23 11:05:46
Subject: Re: selfcheck request timed out
From: Leonid Shulov <lshulov AT arabellasw DOT com>
To: amanda-users AT amanda DOT org
Date: Mon, 23 Jan 2006 17:56:55 +0200
Paul Bijnens wrote:

Leonid Shulov wrote:

Paul Bijnens wrote:

Leonid Shulov wrote:

Paul Bijnens wrote:

Leonid Shulov wrote:

Suddenly my amanda stoped backup one of my users PC and I don't found why.
amcheck report:
WARNING: astp0002: selfcheck request timed out.  Host down?



Did you check all the items in:

http://wiki.zmanda.com/index.php/Amcheck:_selfcheck_request_timed_out



Yes.


Apparently you missed the first sentence:
"Locate the AMANDA_DBGDIR directory" :-)

Because /tmp/amanda is not your debug directory.
See below...

Fine!


/tmp
drwx--S---  2 backup backup  1024 2006-01-23 12:53 amanda/




Look in the amandad.DATETIME.debug file inside that directory
for clues.




In /tmp/amanda I don't have any amandad.DATETIME.debug file



any other files?
If there is no such file at all, then it means that amandad isn't
even starting.


No files complitely

When you start as user amanda "/usr/lib/amanda/amandad" manually
from a shell, it should sit there for about 30 seconds and then
time out.  Or do you get any errors about libraries not being found
etc.?


astp0002:/var/log# /usr/lib/amanda/amandad
amandad: create debug directory "/var/log/amanda": Permission denied
astp0002:/var/log# sudo -u backup /usr/lib/amanda/amandad
amandad: create debug directory "/var/log/amanda": Permission denied

I changed  permission to 777 - but without any changing


OK, so your debug directory seems to be "/var/log/amanda".
Is that a directory?   Or did you create a file instead?
The permissions of the debug directory should not be 777, but 700
or 2700.

Now /var/log/amanda:
drwx--S---  2 backup backup    1024 2006-01-23 12:50 amanda/

but:
astp0002:/var/log# sudo -u backup /usr/lib/amanda/amandad
amandad: create debug directory "/var/log/amanda": Permission denied
and /var/log/syslog:
Jan 23 17:11:12 astp0002 inetd[30734]: /usr/lib/amanda/amandad: exit status 0x1
Jan 23 17:11:12 astp0002 last message repeated 38 times
Jan 23 17:11:12 astp0002 inetd[30734]: amanda/udp server failing (looping), service terminated