Amanda-Users

Re: another selfcheck problem

2008-07-16 14:40:45
Subject: Re: another selfcheck problem
From: Mister Olli <mister.olli AT googlemail DOT com>
To: Jean-Louis Martineau <martineau AT zmanda DOT com>
Date: Wed, 16 Jul 2008 20:26:08 +0200
hi...

the problem seems to be related to something different. I fixed the
inetd config and put in a 'amandad' and also replaced that with the
'/usr/local/libexec/amanda/amandad' but still no success.

The debug file looks exactly the same like before:

# cat amandad/amandad.20080716202146.debug 
amandad: debug 1 pid 80108 ruid 1002 euid 1002: start at Wed Jul 16
20:21:46 2008
security_getdriver(name=bsd) returns 0x280a8020
amandad: version 2.5.1p3
amandad: build: VERSION="Amanda-2.5.1p3"
amandad:        BUILT_DATE="Tue Jul 15 13:36:45 CEST 2008"
amandad:        BUILT_MACH="FreeBSD hdb-mail-001.ernw.de 7.0-RELEASE-p2
FreeBSD 7.0-RELEASE-p2 #4: Thu Jul 10 10:49:56 CEST 2008
[email protected]:/usr/obj/usr/src/sys/DOMAIN_CUSTOM_ESX
i386"
amandad:        CC="cc" CONFIGURE_COMMAND="'./configure' 'freebsd7.0'"
amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad:        libexecdir="/usr/local/libexec/amanda"
amandad:        mandir="/usr/local/man" AMANDA_TMPDIR="/tmp/amanda"
amandad:        AMANDA_DBGDIR="/tmp/amanda"
amandad:        CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/"
amandad:        RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
amandad:        RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF
amandad:        XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF
VXRESTORE=UNDEF
amandad:        SAMBA_CLIENT=UNDEF GNUTAR="/usr/local/bin/gtar"
amandad:        COMPRESS_PATH="/usr/bin/gzip"
amandad:        UNCOMPRESS_PATH="/usr/bin/gzip"  LPRCMD=UNDEF
amandad:        MAILER="/usr/bin/Mail"
amandad:        listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
amandad: defs:  DEFAULT_SERVER="hdb-bak-001.DOMAIN"
amandad:        DEFAULT_CONFIG="DailySet1"
amandad:        DEFAULT_TAPE_SERVER="hdb-bak-001.DOMAIN" HAVE_MMAP
amandad:        HAVE_SYSVSHM LOCKING=POSIX_FCNTL DEBUG_CODE
amandad:        AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY
USE_AMANDAHOSTS
amandad:        CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
amandad:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 0.000: dgram_recv(dgram=0x280a8fe4, timeout=0,
fromaddr=0x280b8fd0)
amandad: time 0.000: (sockaddr_in *)0x280b8fd0 = { 2, 905, 172.31.5.10 }
amandad: time 10.046: dgram_recv(dgram=0x280a8fe4, timeout=0,
fromaddr=0x280b8fd0)
amandad: time 10.046: (sockaddr_in *)0x280b8fd0 = { 2, 905,
172.31.5.10 }
amandad: time 20.037: dgram_recv(dgram=0x280a8fe4, timeout=0,
fromaddr=0x280b8fd0)
amandad: time 20.037: (sockaddr_in *)0x280b8fd0 = { 2, 905,
172.31.5.10 }
amandad: time 30.031: pid 80108 finish time Wed Jul 16 20:22:16 2008


is it possible to set the debug mode to a higher level???

ah, and in my '/var/log/messages' I see the following lines, each time a
execute a 'amcheck daily' on the backup server:

Jul 16 20:21:46 client
inetd[80105]: /usr/local/libexec/amanda/amandad[80107]: exited, status 1


greetz
olli

Am Mittwoch, den 16.07.2008, 11:04 -0400 schrieb Jean-Louis Martineau:
> Mister Olli wrote:
> > hi...
> >
> > my /etc/inetd.conf looks like this on all of my freebsd 7 systems.
> >
> > amanda  dgram   udp     wait    amanda  /usr/local/libexec/amandad
> > -auth=bsd amdump amindexd amidxtaped
> >   
> A 'amandad' is missing, it should be:
>   amanda dgram udp wait amanda /usr/local/libexec/amandad amandad 
> -auth=bsd amdump amindexd amidxtaped
> 
> 
> Jean-Louis
> >
> > and it works like a charm, except for that one system... gladly I'm only
> > the backup-administrator of that system. I wasn't the one who did the
> > setup, so I'm not quite sure if there's something wrong with the system
> > setup...
> >
> > are there any hints on what to check, or how to trace/ debug this
> > failure in more detail?
> >
> > greetz
> > olli
> >
> >
> > Am Mittwoch, den 16.07.2008, 07:20 -0400 schrieb Jean-Louis Martineau:
> >   
> >> Mister Olli wrote:
> >>     
> >>> Hi...
> >>>
> >>> when I try to do an 'amcheck' on my daily backup jobs I have one system,
> >>> that does not pass the selftest.
> >>> it's configured identically to some other machines that work like a
> >>> charm.
> >>>
> >>> the debug output of 'amandad' on the client side looks like this:
> >>>
> >>> -auth=bsd: debug 1 pid 76969 ruid 1002 euid 1002: start at Wed Jul 16
> >>> 10:33:47 2008
> >>>   
> >>>       
> >> '-auth=bsd' at the beginning of the line is bogus, check your inetd/xinetd 
> >> configuration.
> >>
> >> Jean-Louis
> >>
> >>
> >>     
> >
> >   
> 


<Prev in Thread] Current Thread [Next in Thread>