Amanda-Users

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

2002-11-13 08:12:12
Subject: RE: 2.4.2p2/xinetd/linux 2.4 problem ...
From: "Martinez, Michael - CSREES/ISTM" <MMARTINEZ AT intranet.reeusda DOT gov>
To: "'Do-Risika RAFIEFERANTSIARONJY'" <dourix-tech AT simicro-internet DOT mg>, amanda-users AT amanda DOT org
Date: Wed, 13 Nov 2002 07:35:51 -0500
Please be aware that there are a variety of possible bugs with xinetd-2.3.9
(and maybe recent earlier versions) for Redhat Linux. These bugs have been
reported widely in the past couple of weeks. The xinetd mail group is
currently discussing the symptoms of these bugs and working with the xinetd
author to fix them. 

The symptoms are as follows:

- unterminated CLOSE_WAIT state on tcp connections as shown by "netstat -an"
- xinetd failing to properly close files, leaving too many system files
open, causing the service to hang or crash

For more information, examine the xinetd mailing list archives for the past
three weeks.

Michael Martinez

> -----Original Message-----
> From: Do-Risika RAFIEFERANTSIARONJY
> [mailto:dourix-tech AT simicro-internet DOT mg]
> Sent: Wednesday, November 13, 2002 6:33 AM
> To: amanda-users AT amanda DOT org
> Subject: 2.4.2p2/xinetd/linux 2.4 problem ...
> 
> 
> 
> 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,
> 
> -- 
> DouRiX  \\\|///
>   ___   \\ - - //   ____  ___  __
> |  _ oOOo_@ @_oOOo|  _ \(_) \/ /
> | | | |/ _(_) | | | |_| ) |\  /
> | |_| | (_) | |_| |  _ <| |/  \
> |____/ \___/ \_Ooooo| \_\_/_/\_\
> f u cn rd ths u r usng unx
>        ooooO     ) /
>        (   )    (_/
>         \ (
>          \_)
>       ["Civilization is the distance man has placed between 
> himself and his
>                             excreta." -- Brian Aldiss]
> 

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