Amanda-Users

Re: Host down message on localhost client

2006-02-23 18:50:15
Subject: Re: Host down message on localhost client
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 23 Feb 2006 18:45:46 -0500
On Thu, Feb 23, 2006 at 03:11:47PM -0800, Wayne Thorpe wrote:
> Hello,
>    
>   I am attempting to get the functionality of AMANDA down and during the 
> initial testing locally. I am discarding tape data by putting 'tapedev 
> "null:"  ' in amanda.conf.  When I run amcheck, I receive the a "host down" 
> message even though my backup backup client is on the same host as server, my 
> system is a solaris 10:
>    
>    
>   [host] ~ > amcheck ProtoLocal
> Amanda Tape Server Host Check
> -----------------------------
> WARNING: tapedev is null:, dumps will be thrown away
> Holding disk /amanda-vtapes-local/ProtoLocal: 9375682 KB disk space 
> available, that's plenty
> NOTE: skipping tape checks
> NOTE: info dir /usr/adm/amanda/ProtoLocal/curinfo: does not exist
> NOTE: it will be created on the next run
> Server check took 0.002 seconds
>   Amanda Backup Client Hosts Check
> --------------------------------
> WARNING: localhost: selfcheck request timed out.  Host down?
> Client check: 1 host checked in 30.027 seconds, 1 problem found
>   (brought to you by Amanda 2.4.4)
> ______________________________________________________
>    
>   My log file reads:
>    
>   [host] /usr/adm/amanda/ProtoLocal > more log.20060223.0
> START driver date 20060223
> DISK planner localhost /itrn1
> START planner date 20060223
> INFO planner Adding new disk localhost:/itrn1.
> START taper datestamp 20060223 label [fake-label] tape 0
> WARNING taper tapedev is null:, dumps will be thrown away
> ERROR planner Request to localhost timed out.
> FINISH planner date 20060223
> WARNING driver WARNING: got empty schedule from planner
> STATS driver startup time 30.035
> INFO taper tape [fake-label] kb 0 fm 0 [OK]
> FINISH driver date 20060223 time 30.055
>   ____________________________________________
>    
>    
>   A portion of my dump.1 reads:
>    
>   [host] /usr/adm/amanda/ProtoLocal > more amdump.1
>   .
>   .
>   .
>   GETTING ESTIMATES...
> driver: started dumper0 pid 1632
> driver: started dumper1 pid 1633
> driver: started dumper2 pid 1634
> driver: started dumper3 pid 1635
> taper: pid 1631 executable taper version 2.4.4
> dumper: dgram_bind: socket bound to 0.0.0.0.753
> dumper: pid 1632 executable dumper0 version 2.4.4, using port 753
> taper: page size is 8192
> taper: buffer size is 32768
> dumper: dgram_bind: socket bound to 0.0.0.0.754
> dumper: pid 1633 executable dumper1 version 2.4.4, using port 754
> dumper: dgram_bind: socket bound to 0.0.0.0.755
>   _______________________________________________
>    
>   /etc/services reads:
>    
>   #amanda
> amanda 10080/udp
> amandaidx 10082/tcp
> amidxtape 10083/tcp
>   ________________________________________________
>    
>   /etc/inetd.conf
>    
>   #amanda
> amanda dgram udp wait amanda /opt/sfw/libexec/amandad   amandad
> amandaidx stream tcp nowait amanda /opt/sfw/libexec/amindexd amindexd
> amidxtape stream tcp nowait amanda /opt/sfw/libexec/amidxtaped  amidxtaped
>   ------------------------------------------
> 

Doesn't matter that server and client are same computer.
Still needs all the same setup as a remote client.

Try HARD to not use localhost use a valid hostname.
    "Thar be snakes in them thar waters"

Solaris 10, have you used ?inetconv? to switch the
amanda service over to smf?

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)