Amanda-Users

Re: 2.4.2p2/xinetd/linux 2.4 problem ...

2002-11-13 09:40:52
Subject: Re: 2.4.2p2/xinetd/linux 2.4 problem ...
From: Eric.Doutreleau AT int-evry DOT fr
To: Do-Risika RAFIEFERANTSIARONJY <dourix-tech AT simicro-internet DOT mg>
Date: Wed, 13 Nov 2002 16:00:29 +0100 (CET)
On Wed, 13 Nov 2002, Do-Risika RAFIEFERANTSIARONJY wrote:

well i don't remeber exactly what was the old one
i guess it was 2.3.2

I use now 2.3.9

> Eric.Doutreleau AT int-evry DOT fr wrote:
> > On Wed, 13 Nov 2002, Do-Risika RAFIEFERANTSIARONJY wrote:
> > 
> > You shoud upgrade to the last version of xinetd.
> > 
> > I had exactly the same problem before upgrading
> 
> Ok, thanks,
> 
> But what are your old and current versions ?
> 
> We use xinetd 2.3.4-1.2 (debian stable's current version).
> 
> --
> DouRiX
> 
> 
> 
> >>Hi all,
> >>
> >>I try to run amanda client with xinetd instead of inetd.
> >>
> >>But, running amcheck on the amanda server seems to crash the xinetd 
> >>process on the client, and to leave a process [amandad <defunct>]. After 
> >>that, amcheck from the server results 'selfcheck timed out'. However, 
> >>there is no problem with inetd.
> >>
> >>I wonder if it is a problem with the triplet amanda2.4.2p2/xinetd/linux 
> >>kernel 2.4, because I use amanda2.4.2p2/xinetd with a kernel 2.2 without 
> >>problem ?
> >>
> >>Has someone already experienced this ? and how to resolve ?
> >>
> >>I put here below :
> >>
> >>* my xinetd.conf contents,
> >>* the 2 processes xinetd and amandad defunct,
> >>* and the amandad.debug in /tmp/amanda (in which I do not notice any error).
> >>
> >>I use Linux Debian woody, if it could interests.
> >>
> >>
> >>sokatra:~# cat /etc/xinetd.conf
> >>defaults
> >>{
> >>         log_type        = FILE /var/log/xinetd.log
> >>         log_on_success  = PID
> >>         log_on_failure  = HOST RECORD
> >>}
> >>
> >>service amanda
> >>{
> >>         socket_type     = dgram
> >>         protocol        = udp
> >>         wait            = yes
> >>         user            = backup
> >>         group           = backup
> >>         groups          = yes
> >>         server          = /usr/lib/amanda/amandad
> >>         only_from       = 192.168.11.1
> >>         flags           = IPv4
> >>}
> >>
> >>sokatra:~#
> >>
> >>
> >>sokatra:~# ps auxw | egrep '(inet|amanda)'
> >>root      1814  0.0  0.7  2056  892 ?        S    12:21   0:00 
> >>/usr/sbin/xinetd -reuse
> >>backup    1818  0.0  0.0     0    0 ?        Z    12:22   0:00 [amandad 
> >><defunct>]
> >>
> >>
> >>sokatra:~# cat /tmp/amanda/amandad.20021113122216.debug
> >>amandad: debug 1 pid 1818 ruid 34 euid 34 start time Wed Nov 13 12:22:16 
> >>2002
> >>amandad: version 2.4.2p2
> >>amandad: build: VERSION="Amanda-2.4.2p2"
> >>amandad:        BUILT_DATE="Tue Apr 2 21:24:21 UTC 2002"
> >>amandad:        BUILT_MACH="Linux cyberhq 2.4.18pre2 #1 SMP Tue Jan 8 
> >>18:13:43 PST 2002 i686 unknown"
> >>amandad:        CC="gcc"
> >>amandad: paths: bindir="/usr/sbin" sbindir="/usr/sbin"
> >>amandad:        libexecdir="/usr/lib/amanda" mandir="/usr/share/man"
> >>amandad:        AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
> >>amandad:        CONFIG_DIR="/etc/amanda" DEV_PREFIX="/dev/"
> >>amandad:        RDEV_PREFIX="/dev/r" DUMP="/sbin/dump"
> >>amandad:        RESTORE="/sbin/restore" SAMBA_CLIENT="/usr/bin/smbclient"
> >>amandad:        GNUTAR="/bin/tar" COMPRESS_PATH="/bin/gzip"
> >>amandad:        UNCOMPRESS_PATH="/bin/gzip" MAILER="/usr/bin/Mail"
> >>amandad:        listed_incr_dir="/var/lib/amanda/gnutar-lists"
> >>amandad: defs:  DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
> >>amandad:        DEFAULT_TAPE_SERVER="localhost"
> >>amandad:        DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP HAVE_SYSVSHM
> >>amandad:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
> >>amandad:        AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
> >>amandad:        CLIENT_LOGIN="backup" FORCE_USERID HAVE_GZIP
> >>amandad:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
> >>amandad:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
> >>got packet:
> >>--------
> >>Amanda 2.4 REQ HANDLE 000-604D0608 SEQ 1037179339
> >>SECURITY USER backup
> >>SERVICE selfcheck
> >>OPTIONS ;
> >>GNUTAR /var/log 0 OPTIONS 
> >>|;bsd-auth;compress-fast;index;exclude-list=/lib/amanda/exclude.gtar;
> >>GNUTAR /var/www 0 OPTIONS 
> >>|;bsd-auth;compress-fast;index;exclude-list=/lib/amanda/exclude.gtar;
> >>GNUTAR /usr/local/bin 0 OPTIONS 
> >>|;bsd-auth;compress-fast;index;exclude-list=/lib/amanda/exclude.gtar;
> >>GNUTAR /etc 0 OPTIONS 
> >>|;bsd-auth;compress-fast;index;exclude-list=/lib/amanda/exclude.gtar;
> >>--------
> >>
> >>sending ack:
> >>----
> >>Amanda 2.4 ACK HANDLE 000-604D0608 SEQ 1037179339
> >>----
> >>
> >>bsd security: remote host parasy.backup.simicro.net user backup local 
> >>user backup
> >>amandahosts security check passed
> >>amandad: running service "/usr/lib/amanda/selfcheck"
> >>amandad: sending REP packet:
> >>----
> >>Amanda 2.4 REP HANDLE 000-604D0608 SEQ 1037179339
> >>OPTIONS ;
> >>OK /var/log
> >>OK /var/www
> >>OK /usr/local/bin
> >>OK /etc
> >>OK /usr/lib/amanda/runtar executable
> >>OK /bin/tar executable
> >>OK /var/lib/amanda/amandates read/writable
> >>OK /var/lib/amanda/gnutar-lists/. read/writable
> >>OK /bin/gzip executable
> >>OK /dev/null read/writable
> >>OK /tmp/amanda has more than 64 KB available.
> >>OK /tmp/amanda has more than 64 KB available.
> >>OK /var/lib has more than 64 KB available.
> >>----
> >>
> >>amandad: got packet:
> >>----
> >>Amanda 2.4 ACK HANDLE 000-604D0608 SEQ 1037179339
> >>----
> >>
> >>amandad: pid 1818 finish time Wed Nov 13 12:22:16 2002
> >>sokatra:~#
> >>
> >>Thanks in advance,
> >>
> >>Regards,
> >>
> >>
> > 
> > 
> 
> 
> 
> 

-- 
Eric Doutreleau
I.N.T                   | Tel   : +33 (0) 160764687
9 rue Charles Fourier   | Fax   : +33 (0) 160764321
91011 Evry   France     | email : Eric.Doutreleau AT int-evry DOT fr


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