Amanda-Users

Re: server will not backup itself ?!?!

2003-07-02 13:38:53
Subject: Re: server will not backup itself ?!?!
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: "Michael D. Schleif" <mds AT helices DOT org>, AMANDA Users <amanda-users AT amanda DOT org>
Date: Wed, 02 Jul 2003 19:35:07 +0200
Michael D. Schleif wrote:
# sudo -u backup amcheck -c DailySet1

Amanda Backup Client Hosts Check
--------------------------------
WARNING: Bragi.private.network: selfcheck request timed out.  Host down?
Client check: 1 host checked in 30.025 seconds, 1 problem found

(brought to you by Amanda 2.4.4)

root@Bragi:/var/log/amanda/DailySet1
# ls -l /tmp/amanda/* /var/log/amanda/DailySet1/*
-rw-------    1 backup   backup        182 Jul  2 11:51 
/tmp/amanda/amcheck.20030702115039.debug
-rw-------    1 backup   backup        176 Jul  2 11:55 
/tmp/amanda/amtrmidx.20030702115535.debug
-rw-------    1 backup   backup        197 Jul  2 11:55 
/tmp/amanda/amtrmlog.20030702115535.debug
-rw-------    1 backup   backup       5804 Jul  2 11:55 
/var/log/amanda/DailySet1/amdump.1
-rw-------    1 backup   backup        562 Jul  2 11:55 
/var/log/amanda/DailySet1/log.20030702.0

There should be a file /tmp/amanda/amandad.*.debug too.
That's the file that the client side creates with the debug info.

Its absence means that amandad (listening on port 10080 udp) is not
even started by (x)inetd.  You should take a very very close look
at that line in the inetd config.
Have a look in /var/{log,adm}/messages too.
Maybe (temporarily) remove the tcpd wrapper, if you use it.
Disable any firewall (check ipchains AND iptables!).

If you have nc installed (because you need udp and not tcp)?
try sending a bogus command to the amandad daemon:

# echo | nc -u bragi 10080
Amanda 2.4 NAK HANDLE  SEQ 0
ERROR expected "Amanda", got ""
^C     <--- interrupt with Control-C
  punt!
#

You can even try to start amandad up manually (but you want be
able to communicate with it), and trace it:

# strace /usr/local/libexec/amandad
...(many lines output removed)...
select(1, [0], NULL, NULL, {30, 0}
^C


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************



<Prev in Thread] Current Thread [Next in Thread>