Thanks for your reply, Jay.

On Sat, 2003-02-22 at 21:57, Jay Lessert wrote:
> [Posted and Cc'ed]
> 
> On Sat, Feb 22, 2003 at 08:09:16PM +0100, Carsten Rezny wrote:
> > I have installed Amanda 2.4.2p2 on a SuSE 8.0 box. The machine is server
> > and client.
> > 
> > When I run amcheck I get the following result 
> > ERROR: /dev/nst0: no tape online
> >        (expecting tape maphy-d05 or a new tape)
> 
> I assume you understand this and will fix it, right?
Right, that's not the problem.

> > --------------------------------
> > WARNING: localhost: selfcheck request timed out.  Host down?
> > Client check: 1 host checked in 30.006 seconds, 1 problem found
> 
> You always hate to see "localhost" here, so many ways that can go
> wrong.
> 
> Change the DLE (disklist entry) from "localhost" to the true hostname,
> double check ~amanda/.amandahosts according to docs/INSTALL, and
> try again.

OK, I replaced localhost with the real hostname, checked
~amanda/.amandahosts and still get the same result. Here is what I think
is the problem:

[amandad debug file]
got packet:
--------
Amanda 2.4 REQ HANDLE 000-20B90708 SEQ 1046003786
SECURITY USER amanda
SERVICE selfcheck
OPTIONS ;
GNUTAR /mirror 0 OPTIONS
|;bsd-auth;index;exclude-list=/usr/local/lib/amanda/exclude.gtar;
GNUTAR /home 0 OPTIONS
|;bsd-auth;index;exclude-list=/usr/local/lib/amanda/exclude.gtar;
--------

sending ack:
----
Amanda 2.4 ACK HANDLE 000-20B90708 SEQ 1046003786
----

amandad: dgram_send_addr: sendto(0.0.0.0.875) failed: Invalid argument 
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
amandad: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-20B90708 SEQ 1046003786
ERROR [addr 0.0.0.0: hostname lookup failed]
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


It looks like amandad doesn't know the server's IP address. Both client
and server run on the same machine and the machine knows its hostname.
Any more ideas?

Thanks, Carsten

Reply via email to