Public feed #602181

amcheck problem - selfcheck requ

public text v1 · immutable
Raw Edit
·published 2007-07-03 22:41 UTC
rendered paste body
HEllo guys, im really worried, cuz i cant resolve this thing.
I will really apreciate if somebody could help me.
 
Im using amanda 2.5.0 in rhel5(server) and suse(client) with amanda 2.5.0

When i do $amcheck DailySet1 i get this..

-3.1$ amcheck DailySet1
Amanda Tape Server Host Check
-----------------------------
Holding disk /dumps/amanda: 220795256 KB disk space available, using 220692856 KB

Message from syslogd@backup at Tue Jul  3 16:48:35 2007 ...
backup kernel: CPU0: Temperature above threshold

Message from syslogd@backup at Tue Jul  3 16:48:35 2007 ...
backup kernel: CPU0: Running in modulated clock mode
slot 3: read label `DailySet1-03', date `X'

NOTE: skipping tape-writable test
Tape DailySet1-03 label ok
NOTE: info dir /etc/amanda/DailySet1/curinfo: does not exist
NOTE: it will be created on the next run.
NOTE: index dir /etc/amanda/DailySet1/index: does not exist
NOTE: it will be created on the next run.
Server check took 0.098 seconds

Amanda Backup Client Hosts Check
--------------------------------

WARNING: backup.fnsi.com.mx: selfcheck request failed: timeout waiting for ACK
WARNING: sinemed1.fnsi.com.mx: selfcheck request failed: timeout waiting for ACK
Client check: 2 hosts checked in 30.005 seconds, 2 problems found

(brought to you by Amanda 2.5.0p2)
sh-3.1$ 


--------------------

And in the client   amandad*.debug i get this..



sinemed1:/tmp/amanda # cat amandad.20070703164602.debug
amandad: debug 1 pid 32237 ruid 1443 euid 1443: start at Tue Jul  3 16:46:02 2007
amandad: version 2.5.0p2
amandad: build: VERSION="Amanda-2.5.0p2"
amandad:        BUILT_DATE="Fri May 12 11:30:10 PDT 2006"
amandad:        BUILT_MACH="Linux SLES92-VM-2 2.6.12.6-xen3_2.1_sles9sp2 #1 SMP Sun Dec 4 11:14:10 PST 2005 i686 i686 i386 GNU/Linux"
amandad:        CC="gcc"
amandad:        CONFIGURE_COMMAND="'./configure' '--build=i586-suse-linux' '--prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib/amanda' '--datadir=/usr/share' '--sysconfdir=/etc' '--sharedstatedir=/var/lib/amanda' '--localstatedir=/var/lib/amanda' '--libdir=/usr/lib' '--includedir=/usr/include' '--infodir=/usr/info' '--mandir=/usr/share/man' '--with-gnutar-listdir=/var/lib/amanda/gnutar-lists' '--with-dumperdir=/usr/lib/amanda' '--with-index-server=localhost' '--with-tape-server=localhost' '--with-user=amandabackup' '--with-group=disk' '--with-owner=paddy' '--with-fqdn'"
amandad: paths: bindir="/usr/bin" sbindir="/usr/sbin"
amandad:        libexecdir="/usr/lib/amanda" mandir="/usr/share/man"
amandad:        AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
amandad:        CONFIG_DIR="/etc/amanda" DEV_PREFIX="/dev/"
amandad:        RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
amandad:        RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF
amandad:        XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF
amandad:        SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/bin/tar"
amandad:        COMPRESS_PATH="/usr/bin/gzip"
amandad:        UNCOMPRESS_PATH="/usr/bin/gzip" LPRCMD="/usr/bin/lpr"
amandad:        MAILER="/usr/bin/Mail"
amandad:        listed_incr_dir="/var/lib/amanda/gnutar-lists"
amandad: defs:  DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
amandad:        DEFAULT_TAPE_SERVER="localhost"
amandad:        DEFAULT_TAPE_DEVICE="null:" HAVE_MMAP HAVE_SYSVSHM
amandad:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
amandad:        AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY USE_AMANDAHOSTS
amandad:        CLIENT_LOGIN="amandabackup" FORCE_USERID HAVE_GZIP
amandad:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 0.000: accept recv REQ pkt:
<<<<<
SERVICE noop
OPTIONS features=fffffeff9ffeffff07;
>>>>>
amandad: time 0.000: creating new service: /usr/lib/amanda/noop
OPTIONS features=fffffeff9ffeffff07;

amandad: time 0.001: sending ACK pkt:
<<<<<
>>>>>
amandad: time 0.003: sending REP pkt:
<<<<<
OPTIONS features=fffffeff9ffeffff07;
>>>>>
amandad: time 10.002: timeout
amandad: time 10.002: sending REP pkt:
<<<<<
OPTIONS features=fffffeff9ffeffff07;
>>>>>
amandad: time 10.002: received REQ pkt:
<<<<<
SERVICE noop
OPTIONS features=fffffeff9ffeffff07;
>>>>>
amandad: time 10.002: received unexpected REQ packet
<<<<<
SERVICE noop
OPTIONS features=fffffeff9ffeffff07;
----

amandad: time 10.002: sending NAK pkt:
<<<<<
ERROR unexpected packet type REQ
>>>>>
amandad: time 20.001: accept recv REQ pkt:
<<<<<
SERVICE noop
OPTIONS features=fffffeff9ffeffff07;
>>>>>
amandad: time 20.001: /usr/lib/amanda/noop OPTIONS features=fffffeff9ffeffff07;
: already running, acking req
amandad: time 20.001: sending ACK pkt:
<<<<<
>>>>>
sinemed1:/tmp/amanda # 
---------------------------------------------


The client is trying  to connect to the server, but doenst answers, or never gets the packet to the server....

I have read all the threads forums, but i havent found a error related to my ERROR..


 "CLIENT CONFIG" <--------

Amanda is runnin in the client..

sinemed1:/tmp/amanda # lsof -i | grep amanda
xinetd    28818     root    5u  IPv4 9290359       UDP *:amanda 
sinemed1:/tmp/amanda # 

sinemed1:/tmp/amanda # cat /etc/xinetd.d/amanda
# default: off
# description: Amanda backup client
#
service amanda 
{

        socket_type     = dgram
        protocol        = udp
        wait            = yes
        user            = amandabackup
        group           = disk
        server          = /usr/lib/amanda/amandad
        disable         = no
        server_args     = -auth=bsd amdump
}

sinemed1:/tmp/amanda # 



and the .amandahosts are ok if im not wrong :S 

sinemed1:/tmp/amanda # cat /var/lib/amanda/.amandahosts 
sinemed1.fnsi.com.mx amandabackup amdump
sinemed1.fnsi.com.mx root amdump
backup.fnsi.com.mx amandabackup amdump
backup.fnsi.com.mx root amdump

sinemed1:/tmp/amanda # 



SERVER CONFIGGs  <-----------------

** Yes i have created a amanda-client.conf **



[root@backup amanda]# cat amcheck.20070703164835.debug
amcheck: debug 1 pid 18226 ruid 501 euid 0: start at Tue Jul  3 16:48:35 2007
amcheck-clients: time 0.004: bind_portrange2: trying port=874
amcheck-clients: time 0.004: dgram_bind: socket bound to 0.0.0.0.874
amcheck-clients: time 0.006: dgram_send_addr: sendto(172.16.1.11.10080) failed: Network is unreachable 
changer: got exit: 0 str: 3 25 1
changer_query: changer return was 25 1
changer_query: searchable = 0
changer_find: looking for NULL changer is searchable = 0
changer: got exit: 0 str: 3 file://space/vtapes/DailySet1/slots
amcheck: pid 18226 finish time Tue Jul  3 16:49:05 2007


[root@backup amanda]# lsof -i | grep am
xinetd     2109  root    6u  IPv4   6338       TCP *:amandaidx (LISTEN)
xinetd     2109  root    8u  IPv4   6339       TCP *:amidxtape (LISTEN)
[root@backup amanda]# 

[root@backup amanda]# cat /etc/xinetd.d/amanda
service amanda
{

        socket_type             = dgram
        disable                 = no
        protocol                = udp
        wait                    = no
        user                    = amandabackup
        group                   = disk
        groups                  = yes
        server                  = /usr/lib/amanda/amandad

        server_args             = -auth=bsd amdump amindexd amidxtaped
}


service amandaidx
{
        socket_type             = stream
        protocol                = tcp
        wait                    = no
        user                    = amandabackup
        group                   = disk
        server                  = /usr/lib/amanda/amindexd
        disable                 = no
}
[root@backup amanda]# cat /etc/xinetd.d/amidxtape 
# description: Part of the amanda server package
#

service amidxtape
{
        socket_type             = stream
        protocol                = tcp
        wait                    = no
        user                    = amandabackup
        group                   = disk
        server                  = /usr/lib/amanda/amidxtaped
        disable                 = no
}



and the .AMANDAHOST file...


[root@backup amanda]# cat .amandahosts 
sinemed1.fnsi.com.mx amandabackup 
sinemed1.fnsi.com.mx root

backup.fnsi.com.mx amandabackup amdump
backup.fnsi.com.mx root amindexd amidxtaped

localhost amanda
localhost.localdomain amanda



[root@backup amanda]# 



So guys, i know is too much, but im like 3 days with the same error, and i cant passs through it.. and i need to configure another 4 amanda clients.. :/


Thanks from Mèxico!