I am having difficulty getting amcheck to do a proper hostcheck... The
 server is set to backup itself and that is it right now. The server's name
 is stallman and I get these errors and have performed as much diagnosis as I
 can according to the FAQs and searching the mailing list archives:
 
 Amanda Backup Client Hosts Check
 --------------------------------
 ERROR: stallman: [host stallman.: hostname lookup failed]
 Client check: 1 host checked in 0.334 seconds, 1 problem found.
 
 
 Running version 2.4.1p1
 DNS is right, reverse lookups are right (the hostname is defined in
 /etc/hosts, as well as in DNS, my nsswitch.conf file is set to files,dns, a
 resolver can look it up, and can look up the reverse IP address).
 
 Why is there an extra dot in host "stallman." ? My config file doesn't have
 that dot.
 
 There are no system log messages that give any indication of problems.
 
 Amanda services are defined in /etc/services as follows:
 
 amanda          10080/udp                       # amanda backup services
 kamanda         10081/tcp                       # amanda backup services
 (Kerberos)
 kamanda         10081/udp                       # amanda backup services
 (Kerberos)
 amandaidx       10082/tcp                       # amanda backup services
 amidxtape       10083/tcp                       # amanda backup services
 
 I added the line to /etc/inetd.conf and sent a HUP to inetd:
 
 amanda          dgram   udp     wait    backup          /usr/sbin/tcpd
 /usr/lib/amanda/amandad
 amandaidx       stream  tcp     nowait  backup          /usr/sbin/tcpd
 /usr/lib/amanda/amindexd
 amidxtape       stream  tcp     nowait  backup          /usr/sbin/tcpd
 /usr/lib/amanda/amidxtaped
 
 I've run amandad by hand with that path (/usr/lib/amanda/amandad) and it
 works (well, it runs, the file is there)... and I did it as the "backup"
 user. 
 
 The backup user can run all the associated utilities.
 
 Using lsof -p 3516 (my inetd process is running on that PID), I get:
 
 inetd   3516 root    6u  IPv4    1206416            UDP *:amanda 
 inetd   3516 root    7u  IPv4    1206417            TCP *:amandaidx (LISTEN)
 inetd   3516 root    8u  IPv4    1206418            TCP *:amidxtape (LISTEN)
 
 I completely turned off all my firewalling rules and ran the amcheck to get
 the same problem.
 
 I added the following to /etc/hosts.allow:
 amindexd: x.x.x.x
 amidxtaped: x.x.x.x (these are my IP addresses)
 
 It looks as if /tmp/amanda/amandad.debug is getting updated, it has the
 following in it:
 
 sending ack:
 ----
 Amanda 2.4 ACK HANDLE 000-90300508 SEQ 985914398
 ----
 
 amandad: sending REP packet:
 ----
 Amanda 2.4 REP HANDLE 000-90300508 SEQ 985914398
 ERROR [host stallman.: hostname lookup failed]
 ----
 
 amandad: got ack:
 ----
 Amanda 2.4 ACK HANDLE 000-90300508 SEQ 985914398
 ----
 
 The amandad binary access time is indeed being accessed and updated.
 
 
 Thanks so much for your help!
 
 Micah
 
 -- 
 Micah Anderson
 Collective Technologies
 www.colltech.com
 
 "To be and not to do is not to be at all"


Reply via email to