Results 1 to 2 of 2

Thread: Strange amrecover behaviour

  1. #1
    Join Date
    Jul 2013

    Default Strange amrecover behaviour

    Hello everybody,

    I've configured an amanda server (2.6.1p2) and several clients (same version) on SL 6.3 (RHen 6.3 like).
    It's working perfeclty everywhere except on a client where everytime I launch amrecover it fails twice and then works. Always following this sequence:

    # amrecover 
    AMRECOVER Version 2.6.1p2. Contacting server on ...
    [request failed: recv error: Connection reset by peer]
    # amrecover 
    AMRECOVER Version 2.6.1p2. Contacting server on ...
    NAK: user root from is not allowed to execute the service amindexd: Please add the line " root amindexd amidxtaped" to /var/lib/amanda/.amandahosts on the server
    # amrecover 
    AMRECOVER Version 2.6.1p2. Contacting server on ...
    220 coresrv09 AMANDA index server (2.6.1p2) ready.
    Setting restore date to today (2013-07-09)
    200 Working date set to 2013-07-09.
    200 Config set to Services.
    200 Dump host set to
    Use the setdisk command to choose dump disk to recover
    amrecover> listdisk
    200- List of disk for host 
    201- mysql_3
    200 List of disk for host 
    amrecover> quit
    200 Good bye.
    It's conf is

    # amanda.conf - sample Amanda client configuration file.
    # This file normally goes in /etc/amanda/amanda-client.conf.
    conf "Services" # your config name
    index_server "" # your amindexd server
    tape_server "" # your amidxtaped server
    #tapedev "/dev/null" # your tape device
    # auth - authentication scheme to use between server and client.
    # Valid values are "bsd", "bsdudp", "bsdtcp" and "ssh".
    # Default: [auth "bsdtcp"]
    auth "bsdtcp"
    and the server part

    Client 			root			amindexd 	amidxtaped
    IT's strange the way it works because I always see the above errors in the same order.

    Anyone have seen this before?

    Thanks in advance,

  2. #2
    Join Date
    Jul 2013



    I did find the source of the problem. The client hostname resolves to an alias with 3 names (.es, .cat, .eu), so if the returned hostname isn't the one listed in amandahosts, the client fails.
    I've added the 3 entries and now it works perfeclty.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts