I am trying to solve an amcheck error.
"Amanda Backup Client Hosts Check" errors with"selfcheck request failed: 
timeout waiting for ACK".

I am simply trying to backup the local host (mother_inner) to a local tape 
drive (HP-LTO4).
T
his is amanda-2.6.1_p2 on a 64bit gentoo machine, using xinetd.

Full output of amcheck:
su amanda -c "/usr/sbin/amcheck Monthly_Mother"
        Amanda Tape Server Host Check
        -----------------------------
        Holding disk /backup/dumps: 625549312 KB disk space available, using 
625446912 KB
        read label `Monthly_Mother-01', date `X'.
        NOTE: skipping tape-writable test
        Tape Monthly_Mother-01 label ok
        NOTE: conf info dir /var/log/amanda/Monthly_Mother/curinfo does not 
exist
        NOTE: it will be created on the next run.
        NOTE: index dir /var/log/amanda/Monthly_Mother/index does not exist
        NOTE: it will be created on the next run.
        Server check took 0.066 seconds
        
        Amanda Backup Client Hosts Check
        --------------------------------
        WARNING: mother_inner:: selfcheck request failed: timeout waiting for 
ACK
        Client check: 1 host checked in 30.033 seconds.  1 problem found.
        (brought to you by Amanda 2.6.1p2)


I know it is listening based on netstat and lsof.

netstat -a | grep amanda
        tcp        0      0 mother_inner:amandaidx  *:*                     
LISTEN
        udp        0      0 mother_inner:amanda     *:*
        
lsof -c xinetd
        COMMAND   PID USER   FD   TYPE             DEVICE SIZE/OFF     NODE NAME
        xinetd  14641 root  cwd    DIR                8,2      896        2 /
        xinetd  14641 root  rtd    DIR                8,2      896        2 /
        xinetd  14641 root  txt    REG                8,2   149424  4211662 
/usr/sbin/xinetd
        xinetd  14641 root  mem    REG                8,2    43384 10141648 
/lib64/libnss_nis-2.10.1.so
        xinetd  14641 root  mem    REG                8,2    31432 10141670 
/lib64/libnss_compat-2.10.1.so
        xinetd  14641 root  mem    REG                8,2    47432 10141649 
/lib64/libnss_files-2.10.1.so
        xinetd  14641 root  mem    REG                8,2  1399984 10141335 
/lib64/libc-2.10.1.so
        xinetd  14641 root  mem    REG                8,2    39016 10141677 
/lib64/libcrypt-2.10.1.so
        xinetd  14641 root  mem    REG                8,2   534648 10141639 
/lib64/libm-2.10.1.so
        xinetd  14641 root  mem    REG                8,2    88880 10141657 
/lib64/libnsl-2.10.1.so
        xinetd  14641 root  mem    REG                8,2   123168 10141666 
/lib64/ld-2.10.1.so
        xinetd  14641 root  mem    REG                8,2    33832   274214 
/lib64/libwrap.so.0.7.6
        xinetd  14641 root    0r   CHR                1,3      0t0     2953 
/dev/null
        xinetd  14641 root    1r   CHR                1,3      0t0     2953 
/dev/null
        xinetd  14641 root    2r   CHR                1,3      0t0     2953 
/dev/null
        xinetd  14641 root    3r  FIFO                0,6      0t0  3060137 pipe
        xinetd  14641 root    4w  FIFO                0,6      0t0  3060137 pipe
        xinetd  14641 root    5u  IPv4            3060165      0t0      UDP 
mother_inner:amanda
        xinetd  14641 root    6u  IPv4            3060166      0t0      TCP 
mother_inner:amandaidx (LISTEN)
        xinetd  14641 root    7u  unix 0xffff8801440d3740      0t0  3060144 
socket
        xinetd  14641 root    8u  IPv4            3060167      0t0      TCP 
mother_inner:amidxtape (LISTEN)
        
I verified my name name resolution
grep mother_inner /etc/hosts
        192.168.0.60     mother_inner
        
Getting into the backup scripts:

/etc/amanda/Monthly_Mother/disklist
        mother_inner / root-tar

/etc/amanda/Monthly_Mother/amanda.conf
        org      "Monthly_Mother"
        mailto  "root"
        dumpuser "amanda"
        inparallel 4
        dumporder "sssS"
        taperalgo first
        displayunit "k"
        netusage  8000 Kbps
        dumpcycle 4 weeks
        runspercycle 1
        tapecycle 2 tapes
        bumpsize 20 Mb
        bumppercent 20
        bumpdays 1    
        bumpmult 4    
        etimeout 300  
        dtimeout 1800 
        ctimeout 30
        device_output_buffer_size 1280k
        usetimestamps yes
        flush-threshold-dumped 0
        flush-threshold-scheduled 0
        taperflush 0
        autoflush no
        runtapes 1
        tapedev "tape:/dev/nst0"
        maxdumpsize -1
        tapetype HP-LTO4
        labelstr "^Monthly_Mother-[0-9][0-9]*$"
        amrecover_do_fsf yes
        amrecover_check_label yes
        amrecover_changer "changer"
        holdingdisk hd1 {
            comment "main holding disk"
            directory "/backup/dumps"  
            use -100 Mb
            chunksize 1Gb
            }
        infofile "/var/log/amanda/Monthly_Mother/curinfo"
        logdir "/var/log/amanda/Monthly_Mother"
        indexdir "/var/log/amanda/Monthly_Mother/index"
        define tapetype HP-LTO4 {
          comment "HP StorageWorks Ultrium 1790 sas LTO-4"
          length 772096 mbytes
          filemark 0 kbytes
          speed 71474 kps                                 
          readblocksize 64 kbytes
        }
        define dumptype global {
            comment "Global definitions" 
             auth "bsd"                
        }
        define dumptype always-full {
            global
            comment "Full dump of this filesystem always" 
            compress none
            priority high
            dumpcycle 0
        }
        define dumptype root-tar {
            global
            program "GNUTAR"
            comment "root partitions dumped with tar"     
            compress none 
            index
            priority low
            exclude list "/etc/amanda/Monthly_Mother/Monthly_Mother.exclude"
        }
        define dumptype user-tar {
            root-tar
            comment "user partitions dumped with
            priority medium
        }
        define dumptype user-tar-span {
            root-tar
            tape_splitsize 3 Gb
            comment "tape-spanning user partitions dumped with tar"
            priority medium
        }
        define dumptype high-tar {
            root-tar
            comment "partitions dumped with tar"
            priority high
        }
        define dumptype comp-root-tar {
            root-tar
            comment "Root partitions with compression"
            compress client fast
        }
        define dumptype comp-user-tar { 
            user-tar
            compress client fast
        }
        define dumptype comp-user-tar-span {
            user-tar-span
            compress client fast
        }
        define dumptype holding-disk {
            global
            comment "The master-host holding disk itself"
            holdingdisk never
            priority medium
        }
        define dumptype comp-user {
            global
            comment "Non-root partitions on reasonably fast machines"
            compress client fast
            priority medium
        }
        define dumptype comp-user-span {
            global
            tape_splitsize 5 Gb
            comment "Tape-spanning non-root partitions on reasonably fast 
machines"
            compress client fast
            priority medium
        }
        define dumptype nocomp-user {
            comp-user
            comment "Non-root partitions on slow machines"
            compress none
        }
        define dumptype nocomp-user-span {
            comp-user-span
            comment "Tape-spanning non-root partitions on slow machines"
            compress none
        }                          
        define dumptype comp-root {
            global
            comment "Root partitions with compression"
            compress client fast
            priority low
        }
        define dumptype nocomp-root {
            comp-root 
            comment "Root partitions without compression"
            compress none
        }
        define dumptype comp-high {
            global
            comment "very important partitions on fast machines"
            compress client best 
            priority high
        }
        define dumptype nocomp-high {
            comp-high
            comment "very important partitions on slow machines"
            compress none
        }
        define dumptype nocomp-test {
            global
            comment "test dump without compression, no /etc/dumpdates recording"
            compress none
            record no
            priority medium
        }
        define dumptype comp-test {
            nocomp-test
            comment "test dump with compression, no /etc/dumpdates recording"
            compress client fast
        }
        define dumptype custom-compress {
           global
           program "GNUTAR"
           comment "custom client compression dumped with tar"
           compress client custom
           client_custom_compress "/usr/bin/bzip2"
        }
        define dumptype server-encrypt-fast {
           global
           program "GNUTAR"
           comment "fast client compression and server symmetric encryption"
           compress client fast
           encrypt server
           server_encrypt "/usr/sbin/amcrypt"
           server_decrypt_option "-d"
        }
        define dumptype client-encrypt-nocomp {
           global
           program "GNUTAR"
           comment "no compression and client symmetric encryption"
           compress none
           encrypt client
           client_encrypt "/usr/sbin/amcrypt"
           client_decrypt_option "-d"
        }
        define interface local {
            comment "a local disk"
            use 8000 kbps
        }
        define interface eth0 {
                comment "100 Mbps ethernet"
                use 5000 kbps
        }

/etc/amanda/Monthly_Mother/Monthly_Mother.exclude
        /proc
        /tmp
        /sys
        /mnt
        /mount
        /backup

/etc/xinetd.d/amanda
        # These are the services needed for amanda.      
        # Default is to talk to localhost only unless    
        # AMANDA_SERVER was specified at build time.     
        
        service amanda
        {
                socket_type     = dgram
                protocol        = udp  
                wait            = yes  
                user            = amanda
                group           = amanda
                groups          = yes             
                server          = /usr/libexec/amanda/amandad
                # You need to ensure this points to your Amanda server!
                # Don't just remove it!
                only_from       = mother_inner
                bind            = 192.168.0.60
                disable         = no
                server_args     = -auth=bsd amdump amindexd amidxtaped
        }                                                              
        
        service amandaidx
        {
                socket_type     = stream
                protocol        = tcp   
                wait            = no    
                user            = amanda
                group           = amanda
                groups          = yes   
                server          = /usr/libexec/amanda/amindexd
                # You need to ensure this points to your Amanda server!
                # Don't just remove it!
                only_from       = mother_inner
                bind            = 192.168.0.60
                disable         = no
        }
        
        service amidxtape
        {
                socket_type     = stream
                protocol        = tcp
                wait            = no
                user            = amanda
                group           = amanda
                groups          = yes
                server          = /usr/libexec/amanda/amidxtaped
                # You need to ensure this points to your Amanda server!
                # Don't just remove it!
                only_from       = mother_inner
                bind            = 192.168.0.60
                disable         = no
        }

And from the http://wiki.zmanda.com/index.php/Amcheck_issues
The amservice output means my server config is messed up
amservice mother_inner bsd noop </dev/null
        Request failed: timeout waiting for ACK
        
/var/log/messages shows xinetd Started working: 1 available service



CONFIDENTIALITY NOTICE:  This electronic mail message and any attachment hereto 
may contain confidential information of Meyer Sound Laboratories, Incorporated 
and is intended for the personal and confidential use of the designated 
recipient(s) only.  If you are not the intended recipient (or responsible for 
delivering the message to the intended recipient), you have received this 
message in error and any review, distribution, or copying of this message or 
any attachment hereto is prohibited.  If you have received this message in 
error, please promptly notify the sender and permanently delete it from your 
computer.

Reply via email to