Brian,
Do a: telnet grifserv.wadsworth.org amanda
create an amandad debug file on grifserv?
Jean-Louis
On 05/16/2013 02:06 PM, Brian Cuttler wrote:
Hello amanda users,
And the great wheel turns again... I've been here before, but
apparently fell back to 2.6.1 and upd from a failed 3.3.0 install.
I am running amanda 3.1.2 on Solaris 10/x86 as a server and
am in the process of upgrading the amanda client on solaris 10/Sparc
from 2.6.1 to 3.3.3.
Built seems to have gone fine.
Problme is the amcheck is failing.
I have updated the xinetd.conf on the client, it now reads.
amanda stream tcp nowait amanda /usr/local/libexec/amanda/amandad
amandad -auth=bsdtcp amdump
I disabled the prior instance of amanda (udp) in SMF services and
removed the config file both from the SMF manifest directory and from
the compiled database and then imported the new inetd config.
I updated the disklist, rather than using
define dumptype zfs-snapshot {
index
program "APPLICATION"
application "app_amgtar"
script "script_zfs_snapshot"
# auth "bsdtcp"
estimate server
}
We use
define dumptype zfs-snapshot-bsdtcp {
index
program "APPLICATION"
application "app_amgtar"
script "script_zfs_snapshot"
auth "bsdtcp"
estimate server
}
I have a note that says the auto param should be in the script and
not the dumptype, but that produces an immediate error when I invoke
amcheck.
I have updated exactly one DLE in the disklist for this client
and I have commented out all other references to this host in
the disklist, this is to prevent any confusion as to which protocal
should be used.
I am not seeing any errors in /var/adm/mesasges, nor are we producing
any debug files in the /tmp/amanda directory.
Amcheck on the server does this.
amcheck -c curie grifserv
Amanda Backup Client Hosts Check
--------------------------------
WARNING: grifserv.wadsworth.org: selfcheck request failed: EOF on read from
grifserv.wadsworth.org
Client check: 1 host checked in 0.077 seconds. 1 problem found.
(brought to you by Amanda 3.1.2)
Snoop between the server and the client produces this
curie.wadsworth.org -> grifserv.wadsworth.org TCP D=10080 S=516 Syn Seq=3583579017
Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
grifserv.wadsworth.org -> curie.wadsworth.org TCP D=516 S=10080 Syn Ack=3583579018
Seq=144367203 Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
curie.wadsworth.org -> grifserv.wadsworth.org TCP D=10080 S=516 Ack=144367204
Seq=3583579018 Len=0 Win=49640
curie.wadsworth.org -> grifserv.wadsworth.org TCP D=10080 S=516 Push
Ack=144367204 Seq=3583579018 Len=89 Win=64240
grifserv.wadsworth.org -> curie.wadsworth.org TCP D=516 S=10080 Ack=3583579107
Seq=144367204 Len=0 Win=49640
grifserv.wadsworth.org -> curie.wadsworth.org TCP D=516 S=10080 Fin
Ack=3583579107 Seq=144367204 Len=0 Win=49640
curie.wadsworth.org -> grifserv.wadsworth.org TCP D=10080 S=516 Ack=144367205
Seq=3583579107 Len=0 Win=64240
curie.wadsworth.org -> grifserv.wadsworth.org TCP D=10080 S=516 Fin
Ack=144367205 Seq=3583579107 Len=0 Win=64240
grifserv.wadsworth.org -> curie.wadsworth.org TCP D=516 S=10080 Ack=3583579108
Seq=144367205 Len=0 Win=49640
grifserv.wadsworth.org -> curie.wadsworth.org TCP D=9997 S=51483 Push
Ack=97669462 Seq=1337171445 Len=396 Win=49640
grifserv.wadsworth.org -> curie.wadsworth.org TCP D=9997 S=65528 Syn Seq=3928298379
Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
curie.wadsworth.org -> grifserv.wadsworth.org TCP D=65528 S=9997 Syn Ack=3928298380
Seq=3586269716 Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
grifserv.wadsworth.org -> curie.wadsworth.org TCP D=9997 S=65528 Ack=3586269717
Seq=3928298380 Len=0 Win=49640
grifserv.wadsworth.org -> curie.wadsworth.org TCP D=9997 S=65528 Fin
Ack=3586269717 Seq=3928298380 Len=0 Win=49640
curie.wadsworth.org -> grifserv.wadsworth.org TCP D=65528 S=9997 Ack=3928298381
Seq=3586269717 Len=0 Win=49640
curie.wadsworth.org -> grifserv.wadsworth.org TCP D=65528 S=9997 Fin
Ack=3928298381 Seq=3586269717 Len=0 Win=49640
grifserv.wadsworth.org -> curie.wadsworth.org TCP D=9997 S=65528 Ack=3586269718
Seq=3928298381 Len=0 Win=49640
curie.wadsworth.org -> grifserv.wadsworth.org TCP D=51483 S=9997 Ack=1337171841
Seq=97669462 Len=0 Win=48419
grifserv.wadsworth.org -> curie.wadsworth.org TCP D=9997 S=51483 Push
Ack=97669462 Seq=1337171841 Len=396 Win=49640
grifserv.wadsworth.org -> curie.wadsworth.org TCP D=9997 S=32768 Syn Seq=342358183
Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
curie.wadsworth.org -> grifserv.wadsworth.org TCP D=32768 S=9997 Syn Ack=342358184
Seq=3599432777 Len=0 Win=49640 Options=<mss 1460,nop,wscale 0,nop,nop,sackOK>
grifserv.wadsworth.org -> curie.wadsworth.org TCP D=9997 S=32768 Ack=3599432778
Seq=342358184 Len=0 Win=49640
grifserv.wadsworth.org -> curie.wadsworth.org TCP D=9997 S=32768 Fin
Ack=3599432778 Seq=342358184 Len=0 Win=49640
curie.wadsworth.org -> grifserv.wadsworth.org TCP D=32768 S=9997 Ack=342358185
Seq=3599432778 Len=0 Win=49640
curie.wadsworth.org -> grifserv.wadsworth.org TCP D=32768 S=9997 Fin
Ack=342358185 Seq=3599432778 Len=0 Win=49640
grifserv.wadsworth.org -> curie.wadsworth.org TCP D=9997 S=32768 Ack=3599432779
Seq=342358185 Len=0 Win=49640
curie.wadsworth.org -> grifserv.wadsworth.org TCP D=51483 S=9997 Ack=1337172237
Seq=97669462 Len=0 Win=48419
The configure command had looked like this.
./configure --with-user=amanda --with-group=sys --with-udpportrange=932,948 \
--with-tcpportrange=10084,10100 --with-gnutar=/usr/sfw/bin/gtar \
--with-gnuplot=/opt/sfw/bin/gnuplot --without-libiconv-prefix \
--without-libintl-prefix \
LDFLAGS="-L/usr/sfw/lib -R/usr/sfw/lib" \
CPPFLAGS="-I/usr/sfw/include -I/opt/sfw/include" \
CFLAGS="-I/usr/sfw/include -I/opt/sfw/include -I/usr/local/include" \
CC=/opt/SUNWspro/bin/cc EGREP=/usr/sfw/bin/gegrep
Thu May 16 13:51:02 2013: thd-2ba30: amandad: pid 13715 ruid 0 euid 0 version 3
If I run the amandad from the command line we do produce a debug
file, which is inline here.
# /usr/local/libexec/amanda/amandad
.
3.3: start at Thu May 16 13:51:02 2013
Thu May 16 13:51:02 2013: thd-2ba30: amandad: security_getdriver(name=BSDTCP) re
turns ff32421c
Thu May 16 13:51:02 2013: thd-2ba30: amandad: version 3.3.3
Thu May 16 13:51:02 2013: thd-2ba30: amandad: build: VERSION="Amanda-3.3.3"Thu May 16 13:51:02
2013: thd-2ba30: amandad: BUILT_DATE="Thu May 16 11:38:33 EDT 2013"
BUILT_MACH=""
Thu May 16 13:51:02 2013: thd-2ba30: amandad: BUILT_REV="5099"
BUILT_BRANCH="community_3_3_3"
Thu May 16 13:51:02 2013: thd-2ba30: amandad:
CC="/opt/SUNWspro/bin/cc"
Thu May 16 13:51:02 2013: thd-2ba30: amandad: paths: bindir="/usr/local/bin"
sbindir="/usr/local/sbin"
Thu May 16 13:51:02 2013: thd-2ba30: amandad:
libexecdir="/usr/local/libexec"
Thu May 16 13:51:02 2013: thd-2ba30: amandad:
amlibexecdir="/usr/local/libexec/amanda"
Thu May 16 13:51:02 2013: thd-2ba30: amandad: mandir="/usr/local/share/man"
AMANDA_TMPDIR="/tmp/amanda"
Thu May 16 13:51:02 2013: thd-2ba30: amandad:
AMANDA_DBGDIR="/tmp/amanda"
Thu May 16 13:51:02 2013: thd-2ba30: amandad:
CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/dsk/"
Thu May 16 13:51:02 2013: thd-2ba30: amandad: RDEV_PREFIX="/dev/rdsk/"
DUMP="/usr/sbin/ufsdump"
Thu May 16 13:51:02 2013: thd-2ba30: amandad:
RESTORE="/usr/sbin/ufsrestore" VDUMP=UNDEF VRESTORE=UNDEF
Thu May 16 13:51:02 2013: thd-2ba30: amandad: XFSDUMP=UNDEF
XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF
Thu May 16 13:51:02 2013: thd-2ba30: amandad:
SAMBA_CLIENT="/usr/sfw/bin/smbclient"
Thu May 16 13:51:02 2013: thd-2ba30: amandad:
GNUTAR="/usr/sfw/bin/gtar"
Thu May 16 13:51:02 2013: thd-2ba30: amandad:
COMPRESS_PATH="/usr/local/bin/gzip"
Thu May 16 13:51:02 2013: thd-2ba30: amandad:
UNCOMPRESS_PATH="/usr/local/bin/gzip" LPRCMD=UNDEF
Thu May 16 13:51:02 2013: thd-2ba30: amandad: MAILER=UNDEF
Thu May 16 13:51:02 2013: thd-2ba30: amandad:
listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
Thu May 16 13:51:02 2013: thd-2ba30: amandad: defs: DEFAULT_SERVER="lyra"
DEFAULT_CONFIG="DailySet1"
Thu May 16 13:51:02 2013: thd-2ba30: amandad: DEFAULT_TAPE_SERVER="lyra"
DEFAULT_TAPE_DEVICE=""
Thu May 16 13:51:02 2013: thd-2ba30: amandad: NEED_STRSTR
AMFLOCK_POSIX AMFLOCK_LOCKF AMFLOCK_LNLOCK
Thu May 16 13:51:02 2013: thd-2ba30: amandad: SETPGRP_VOID
AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
Thu May 16 13:51:02 2013: thd-2ba30: amandad: CLIENT_LOGIN="amanda"
CHECK_USERID HAVE_GZIP
Thu May 16 13:51:02 2013: thd-2ba30: amandad: COMPRESS_SUFFIX=".gz"
COMPRESS_FAST_OPT="--fast"
Thu May 16 13:51:02 2013: thd-2ba30: amandad: COMPRESS_BEST_OPT="--best"
UNCOMPRESS_OPT="-dc"
Thu May 16 13:51:02 2013: thd-2ba30: amandad: getpeername returned: Socket
operation on non-socket
I'm pretty sure this will come down to a simple protocal/auth config
issue, but I am not seeing my misstep. Please help.
thank you,
Brian
---
Brian R Cuttler brian.cutt...@wadsworth.org
Computer Systems Support (v) 518 486-1697
Wadsworth Center (f) 518 473-6384
NYS Department of Health Help Desk 518 473-0773