Thanks very much for the help, this is pretty urgent now.
I tried doing that, here's the new problem:
This is the inetadm output:
bash-3.00# inetadm -l svc:/network/amanda/tcp:default
SCOPE NAME=VALUE
name="amanda"
endpoint_type="stream"
proto="tcp"
isrpc=FALSE
wait=FALSE
exec="/libexec/amanda/amandad -auth=bsdtcp"
user="amandabackup"
default bind_addr=""
default bind_fail_max=-1
default bind_fail_interval=-1
default max_con_rate=-1
default max_copies=-1
default con_rate_offline=-1
default failrate_cnt=40
default failrate_interval=60
default inherit_env=TRUE
default tcp_trace=FALSE
default tcp_wrappers=FALSE
This is the /tmp/amanda/amandad/amandad.<timestamp>.debug:
1241437297.941613: amandad: pid 12498 ruid 65502 euid 65502 version
2.6.1: start at Mon May 4 13:41:37 2009
1241437297.969516: amandad: security_getdriver(name=bsdtcp) returns
ff31d388
1241437297.969689: amandad: version 2.6.1
1241437297.969702: amandad: build: VERSION="Amanda-2.6.1"
1241437297.969710: amandad: BUILT_DATE="Wed Apr 29 14:53:21
CEST 2009"
1241437297.969717: amandad: BUILT_MACH="sparc-sun-
solaris2.10" BUILT_REV="1609"
1241437297.969724: amandad: BUILT_BRANCH="amanda-261" CC="cc"
1241437297.969731: amandad: paths: bindir="/bin" sbindir="/sbin"
libexecdir="/libexec"
1241437297.969737: amandad: amlibexecdir="/libexec/amanda"
mandir="/share/man"
1241437297.969744: amandad: AMANDA_TMPDIR="/tmp/amanda"
AMANDA_DBGDIR="/tmp/amanda"
1241437297.969750: amandad: CONFIG_DIR="/etc/amanda"
DEV_PREFIX="/dev/dsk/"
1241437297.969757: amandad: RDEV_PREFIX="/dev/rdsk/" DUMP="/
usr/sbin/ufsdump"
1241437297.969763: amandad: RESTORE="/usr/sbin/ufsrestore"
VDUMP=UNDEF VRESTORE=UNDEF
1241437297.969769: amandad: XFSDUMP=UNDEF XFSRESTORE=UNDEF
VXDUMP=UNDEF VXRESTORE=UNDEF
1241437297.969776: amandad: SAMBA_CLIENT="/usr/sfw/bin/
smbclient"
1241437297.969782: amandad: GNUTAR="/usr/sfw/bin/gtar"
COMPRESS_PATH="/usr/bin/gzip"
1241437297.969789: amandad: UNCOMPRESS_PATH="/usr/bin/gzip"
LPRCMD="/usr/bin/lp"
1241437297.969795: amandad: MAILER=UNDEF listed_incr_dir="/
var/amanda/gnutar-lists"
1241437297.969801: amandad: defs: DEFAULT_SERVER="ronald"
DEFAULT_CONFIG="DailySet1"
1241437297.969808: amandad: DEFAULT_TAPE_SERVER="ronald"
DEFAULT_TAPE_DEVICE=""
1241437297.969814: amandad: HAVE_MMAP NEED_STRSTR
HAVE_SYSVSHM AMFLOCK_POSIX AMFLOCK_LOCKF
1241437297.969821: amandad: AMFLOCK_LNLOCK SETPGRP_VOID
AMANDA_DEBUG_DAYS=4 BSD_SECURITY
1241437297.969827: amandad: USE_AMANDAHOSTS
CLIENT_LOGIN="amandabackup" CHECK_USERID
1241437297.969834: amandad: HAVE_GZIP COMPRESS_SUFFIX=".gz"
COMPRESS_FAST_OPT="--fast"
1241437297.969840: amandad: COMPRESS_BEST_OPT="--best"
UNCOMPRESS_OPT="-dc"
1241437297.981156: amandad: 172.22.0.23 doesn't resolve to itself, it
resolves to ::ffff:172.22.0.23
1241437297.982066: amandad: pid 12498 finish time Mon May 4 13:41:37
2009
Here's the output of amcheck:
sh-3.2$ amcheck -c bbp_tape
Amanda Backup Client Hosts Check
--------------------------------
WARNING: ronald.bbp.ch: selfcheck request failed: EOF on read from
ronald.bbp.ch
Any hints on how to proceed? NOTE: Client has been compiled without
IPv6, and server is the RHEL5 binary on the download page.
On May 4, 2009, at 1:32 PM, Jean-Louis Martineau wrote:
> Add '-auth=bsdtcp" in argument to amandad.
>
> Jean-Louis
>
> Abilio Carvalho wrote:
>> I'm getting this message when trying to run amcheck. I've run
>> amservice as is specified in the wiki page about this error, and
>> I'm getting the same error, so it's a client issue. Can someone
>> help me debug this?
>>
>> I've checked the client logs, and the only thing I can find that's
>> relevant is on /tmp/amanda/amandad/amandad.<timestamp>.debug:
>>
>> 1241424302.890797: amandad: pid 7809 ruid 65502 euid 65502 version
>> 2.6.1: start at Mon May 4 10:05:02 2009
>> 1241424302.908306: amandad: security_getdriver(name=BSD) returns
>> ff31d338
>> 1241424302.908442: amandad: version 2.6.1
>> 1241424302.908455: amandad: build: VERSION="Amanda-2.6.1"
>> 1241424302.908464: amandad: BUILT_DATE="Wed Apr 29
>> 14:53:21 CEST 2009"
>> 1241424302.908472: amandad: BUILT_MACH="sparc-sun-
>> solaris2.10" BUILT_REV="1609"
>> 1241424302.908479: amandad: BUILT_BRANCH="amanda-261"
>> CC="cc"
>> 1241424302.908485: amandad: paths: bindir="/bin" sbindir="/
>> sbin" libexecdir="/libexec"
>> 1241424302.908492: amandad: amlibexecdir="/libexec/
>> amanda" mandir="/share/man"
>> 1241424302.908498: amandad: AMANDA_TMPDIR="/tmp/amanda"
>> AMANDA_DBGDIR="/tmp/amanda"
>> 1241424302.908505: amandad: CONFIG_DIR="/etc/amanda"
>> DEV_PREFIX="/dev/dsk/"
>> 1241424302.908511: amandad: RDEV_PREFIX="/dev/rdsk/"
>> DUMP="/ usr/sbin/ufsdump"
>> 1241424302.908518: amandad: RESTORE="/usr/sbin/
>> ufsrestore" VDUMP=UNDEF VRESTORE=UNDEF
>> 1241424302.908524: amandad: XFSDUMP=UNDEF
>> XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF
>> 1241424302.908530: amandad: SAMBA_CLIENT="/usr/sfw/bin/
>> smbclient"
>> 1241424302.908537: amandad: GNUTAR="/usr/sfw/bin/gtar"
>> COMPRESS_PATH="/usr/bin/gzip"
>> 1241424302.908543: amandad: UNCOMPRESS_PATH="/usr/bin/
>> gzip" LPRCMD="/usr/bin/lp"
>> 1241424302.908550: amandad: MAILER=UNDEF
>> listed_incr_dir="/ var/amanda/gnutar-lists"
>> 1241424302.908556: amandad: defs: DEFAULT_SERVER="ronald"
>> DEFAULT_CONFIG="DailySet1"
>> 1241424302.908563: amandad:
>> DEFAULT_TAPE_SERVER="ronald" DEFAULT_TAPE_DEVICE=""
>> 1241424302.908569: amandad: HAVE_MMAP NEED_STRSTR
>> HAVE_SYSVSHM AMFLOCK_POSIX AMFLOCK_LOCKF
>> 1241424302.908575: amandad: AMFLOCK_LNLOCK SETPGRP_VOID
>> AMANDA_DEBUG_DAYS=4 BSD_SECURITY
>> 1241424302.908582: amandad: USE_AMANDAHOSTS
>> CLIENT_LOGIN="amandabackup" CHECK_USERID
>> 1241424302.908588: amandad: HAVE_GZIP
>> COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
>> 1241424302.908594: amandad: COMPRESS_BEST_OPT="--best"
>> UNCOMPRESS_OPT="-dc"
>> 1241424302.908852: amandad: dgram_recv(dgram=ff33334c, timeout=0,
>> fromaddr=ff343338)
>> 1241424302.909008: amandad: (sockaddr_in *)ff343338 = { 0, 0,
>> 0.0.0.0 }
>> 1241424312.470249: amandad: dgram_recv(dgram=ff33334c, timeout=0,
>> fromaddr=ff343338)
>> 1241424312.470327: amandad: (sockaddr_in *)ff343338 = { 0, 0,
>> 0.0.0.0 }
>> 1241424322.470941: amandad: dgram_recv(dgram=ff33334c, timeout=0,
>> fromaddr=ff343338)
>> 1241424322.471014: amandad: (sockaddr_in *)ff343338 = { 0, 0,
>> 0.0.0.0 }
>>
>> plus a lot more of those timeouts.
>>
>>
>> Here's the amanda_client.conf and inetd service setup. I'm
>> guessing that there's something wrong with the inetadm output, but
>> I can't generate a set of values that work. Adding the -
>> auth=bsdtcp line to / etc/inetd.conf and reconverting, for example,
>> doesn't work at all.
>>
>> #amanda-client.conf - Amanda client configuration file.
>> conf "bbp_tape"
>> index_server "zgluck"
>> tape_server "zgluck"
>> # auth - authentication scheme to use between server and client.
>> # Valid values are 'bsdtcp' or 'ssh'
>> auth "bsdtcp"
>> # ssh keys file if ssh auth is used
>> ssh_keys "/var/lib/amanda/.ssh/id_rsa_amrecover"
>>
>> ---------------------------------------------------------------------------
>>
>> bash-3.00# inetadm -l svc:/network/amanda/tcp:default
>> SCOPE NAME=VALUE
>> name="amanda"
>> endpoint_type="stream"
>> proto="tcp"
>> isrpc=FALSE
>> wait=FALSE
>> exec="/libexec/amanda/amandad"
>> user="amandabackup"
>> default bind_addr=""
>> default bind_fail_max=-1
>> default bind_fail_interval=-1
>> default max_con_rate=-1
>> default max_copies=-1
>> default con_rate_offline=-1
>> default failrate_cnt=40
>> default failrate_interval=60
>> default inherit_env=TRUE
>> default tcp_trace=FALSE
>> default tcp_wrappers=FALSE
>>
>>
>> -----------------------------------------------------------------------------------
>> This e-mail is strictly confidential and may be privileged.
>> It is intended solely for the addressee. If you are not the intended
>> recipient, any copying, distribution or any other use of this message
>> is prohibited and may be unlawful. In such case, please notify the
>> sender Immediately and destroy this e-mail.
>> ------------------------------------------------------------------------------------
>>
>>
>
-----------------------------------------------------------------------------------
This e-mail is strictly confidential and may be privileged.
It is intended solely for the addressee. If you are not the intended
recipient, any copying, distribution or any other use of this message
is prohibited and may be unlawful. In such case, please notify the
sender Immediately and destroy this e-mail.
------------------------------------------------------------------------------------
|