Hello,
        I recently installed Amanda 2.4.2p2 on 2 RH Linux 7.1
computers.  One to be server and one client.  I have the selfcheck
request timed out error.
        I am having difficulties getting the amcheck to finish without
errors.  The server gives a 'host down?' error message.  The clients
amandad program updates its use-date whenever the server runs amcheck,
and the amcheck debug info is placed in the clients /tmp/amanda
directory, as it should be.  This leads me to believe that I have
configured the xinet.conf (an offshoot of inet.conf) correctly, on the
client.  The servers amandad program runs when called directly from the
command line, but is not being called when I set up a test for a server
backup.  This makes me think that the servers xinet.conf and/or services
file is incorrect, though both are the exact same as the clients.
        The servers debug information is rather sparse.  Amcheck starts
up and the server gets verified fine, but then the client times out
after 30 seconds.  The clients debug information in /tmp/amanda is more
informative and is included below.  The servers tape device (an
HP Ultrium 230 ext.) is /dev/nst0.  I compiled the client to have
/dev/nst0 as the default tape device.  I am going to try to recompile
the server so that the default tape device is nst0 as well.
        How can I get rid of this error?  I think that the client
responds to the servers, but that the server doesn't respond with an
acknowledgement.   If you have any information that would help, it would
be much appreciated.
            Thanks,
                    Lalo

Servers amcheck info:

root# sudo -u amanda amcheck Local.Backup

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

Server amcheck.debug file in /tmp/amanda:

    amandad: debug 1 pid 5731 ruid 33 euid 33 start time Tue Sep 25
09:19:22 2001
./amandad: version 2.4.2p2
./amandad: build: VERSION="Amanda-2.4.2p2"
...
./amandad: defs:  DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
./amandad:        DEFAULT_TAPE_SERVER="localhost"
./amandad:        DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP HAVE_SYSVSHM

...
amandad: dgram_recv: timeout after 30 seconds
amandad: error receiving message: timeout
error receiving message: timeout
amandad: pid 5731 finish time Tue Sep 25 09:19:52 2001

Client amcheck.debug file in /tmp/amanda:

amandad: debug 1 pid 17511 ruid 508 euid 508 start time Tue Sep 25
08:41:29 2001
amandad: version 2.4.2p2
amandad: build: VERSION="Amanda-2.4.2p2"
...
amandad: defs:  DEFAULT_SERVER="Tape_Server"
amandad:        DEFAULT_CONFIG="Test1"
amandad:        DEFAULT_TAPE_SERVER="Tape_Server"
amandad:        DEFAULT_TAPE_DEVICE="/dev/nst0" HAVE_MMAP HAVE_SYSVSHM
...
got packet:
--------
Amanda 2.4 REQ HANDLE 000-283C0608 SEQ 1001432572
SECURITY USER amanda
SERVICE selfcheck
OPTIONS ;
DUMP nst0 0 OPTIONS |;bsd-auth;
--------
sending ack:
----
Amanda 2.4 ACK HANDLE 000-283C0608 SEQ 1001432572
----

bsd security: remote host Tape_Server user amanda local user amanda
amandahosts security check passed
amandad: running service "/usr/local/libexec/selfcheck"
amandad: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-283C0608 SEQ 1001432572
OPTIONS ;
ERROR [could not access nst0 (nst0): No such file or directory]
OK /sbin/dump executable
OK /etc/dumpdates read/writable
OK /dev/null read/writable
OK /tmp/amanda has more than 64 KB available.
OK /tmp/amanda has more than 64 KB available.
OK /etc has more than 64 KB available.
----

amandad: got packet:
----
Amanda 2.4 REQ HANDLE 000-283C0608 SEQ 1001432572
SECURITY USER amanda
SERVICE selfcheck
OPTIONS ;
DUMP nst0 0 OPTIONS |;bsd-auth;
----

amandad: It's not an ack
amandad: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-283C0608 SEQ 1001432572
OPTIONS ;
ERROR [could not access nst0 (nst0): No such file or directory]
OK /sbin/dump executable
OK /etc/dumpdates read/writable
OK /dev/null read/writable
OK /tmp/amanda has more than 64 KB available.
OK /tmp/amanda has more than 64 KB available.
OK /etc has more than 64 KB available.
----

amandad: dgram_recv: timeout after 10 seconds
amandad: waiting for ack: timeout, retrying
amandad: got packet:
----
Amanda 2.4 REQ HANDLE 000-283C0608 SEQ 1001432572
SECURITY USER amanda
SERVICE selfcheck
OPTIONS ;
DUMP nst0 0 OPTIONS |;bsd-auth;
----

amandad: It's not an ack
amandad: dgram_recv: timeout after 10 seconds
amandad: waiting for ack: timeout, retrying
amandad: dgram_recv: timeout after 10 seconds
amandad: waiting for ack: timeout, retrying
amandad: dgram_recv: timeout after 10 seconds
amandad: waiting for ack: timeout, retrying
amandad: dgram_recv: timeout after 10 seconds
amandad: waiting for ack: timeout, giving up!
amandad: pid 17511 finish time Tue Sep 25 08:42:29 2001


Reply via email to