Hi,

I'm facing a challenge to backup a certain host. For various reasons we were forced to remove the DNS servers it uses for lookups and only use the hosts file. (Enabling the use of the DNS server breaks some even more important stuff on this server).

So, our amanda backup server is called digs005, the client is lncsv17g. On the lncsv17g I have the following in /etc/nsswitch.conf:
Code:
hosts:  files
networks:       files
and match that in /etc/host.conf:
Code:
order hosts
Both servers can ping each other. However if I run amcheck I get this:
Code:
Amanda Backup Client Hosts Check
--------------------------------
WARNING: lncsv17g: selfcheck request failed: timeout waiting for ACK
Client check: 23 hosts checked in 30.333 seconds.  1 problem found.
And in the debug log I find this:
Code:
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad: pid 20388 ruid 2000 euid 2000 version 3.3.7: start at Wed Jan  6 14:43:53 2016
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad: security_getdriver(name=bsdtcp) returns 0x7f9fb6b318e0
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad: version 3.3.7
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:     build: VERSION="Amanda-3.3.7"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            BUILT_DATE="Wed Jan 21 12:03:47 PST 2015" BUILT_MACH=""
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            BUILT_REV="6077" BUILT_BRANCH="tags" CC="gcc"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:     paths: bindir="/usr/bin" sbindir="/usr/sbin"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            libexecdir="/usr/libexec"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            amlibexecdir="/usr/libexec/amanda" mandir="/usr/share/man"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            AMANDA_TMPDIR="/tmp/amanda"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            AMANDA_DBGDIR="/var/log/amanda" CONFIG_DIR="/etc/amanda"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            DEV_PREFIX="/dev/" RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            XFSDUMP="/sbin/xfsdump" XFSRESTORE="/sbin/xfsrestore"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            VXDUMP=UNDEF VXRESTORE=UNDEF
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/bin/tar"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            COMPRESS_PATH="/usr/bin/gzip"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            UNCOMPRESS_PATH="/usr/bin/gzip"  LPRCMD=UNDEF  MAILER=UNDEF
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            listed_incr_dir="/var/lib/amanda/gnutar-lists"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:     defs:  DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            DEFAULT_TAPE_SERVER="localhost" DEFAULT_TAPE_DEVICE=""
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            NEED_STRSTR AMFLOCK_POSIX AMFLOCK_FLOCK AMFLOCK_LOCKF
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            AMFLOCK_LNLOCK SETPGRP_VOID ASSERTIONS AMANDA_DEBUG_DAYS=4
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            BSD_SECURITY USE_AMANDAHOSTS CLIENT_LOGIN="amandabackup"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            CHECK_USERID HAVE_GZIP COMPRESS_SUFFIX=".gz"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            COMPRESS_FAST_OPT="--fast" COMPRESS_BEST_OPT="--best"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            UNCOMPRESS_OPT="-dc"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad:            CONFIGURE_ARGS=" 'CFLAGS=-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -pipe' 'CXXFLAGS=-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' '--enable-as-needed' '--prefix=/usr' '--sysconfdir=/etc' '--sharedstatedir=/var' '--localstatedir=/var' '--libdir=/usr/lib64' '--includedir=/usr/include' '--mandir=/usr/share/man' '--with-amdatadir=/var/lib/amanda' '--with-gnuplot=/usr/bin/gnuplot' '--with-gnutar-listdir=/var/lib/amanda/gnutar-lists' '--with-index-server=localhost' '--with-tape-server=localhost' '--with-user=amandabackup' '--with-group=disk' '--with-owner=buildslave' '--with-fqdn' '--with-bsd-security' '--with-bsdtcp-security' '--with-bsdudp-security' '--with-ssh-security' '--with-debugging=/var/log/amanda' '--with-assertions' '--disable-installperms'"
Wed Jan  6 14:43:53 2016: thd-0x60a1a0: amandad: getnameinfo failed: Unknown error
Wed Jan  6 14:44:23 2016: thd-0x60a1a0: amandad: timeout exit
Wed Jan  6 14:44:23 2016: thd-0x60a1a0: amandad: pid 20388 finish time Wed Jan  6 14:44:23 2016
I've also tried using the IP address in the disklist file but that gives the same result.

Is there perhaps a way to force amanda to not use host lookups for this speciffic host?

Any help will be greatly appriciated.

Kind regards,
Louis