Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72921 - xinetd loops when running amcheck (part of amanda)
Summary: xinetd loops when running amcheck (part of amanda)
Status: RESOLVED DUPLICATE of bug 72919
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: High major (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-30 06:24 UTC by Matthias Wegener
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
strace of looping xinetd (xinetd_strace.txt,7.71 KB, text/plain)
2004-11-30 06:27 UTC, Matthias Wegener
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Wegener 2004-11-30 06:24:45 UTC
xinetd loops with 100% cpu-usage, when running amcheck.
amanda is set up properly (i think). 
xinetd listens on all three necessary ports
tcp        0      0 0.0.0.0:10082           0.0.0.0:*               LISTEN      28008/xinetd        
tcp        0      0 0.0.0.0:10083           0.0.0.0:*               LISTEN      28008/xinetd        
udp        0      0 0.0.0.0:10080           0.0.0.0:*                           28008/xinetd        

amcheck seems to connect to one of these ports, which in turn sends xinetd in his neverending 100%-cpu-usage loop. (strace of xinetd will be attached).

output of amcheck:
amanda@transporter amanda $ amcheck G5 
Amanda Tape Server Host Check
-----------------------------
WARNING: holding disk /etc/amanda/dumps: only 55091788 KB free (90071992547409920 KB requested)
amcheck-server: slot 3: date X        label G5-03 (new tape)
NOTE: skipping tape-writable test
Tape G5-03 label ok
Server check took 33.736 seconds

Amanda Backup Client Hosts Check
--------------------------------
WARNING: transporter: selfcheck request timed out.  Host down?
Client check: 1 host checked in 30.002 seconds, 1 problem found

(brought to you by Amanda 2.4.4p4)

Reproducible: Always
Steps to Reproduce:
1. Setup amanda with xinetd
2. Run amcheck
3. Watch him loop

Actual Results:  
amcheck reports an error (selfcheck request time out. Host down?), which is 
according to the amanda-faq related to a not properly set up inetd/xinetd. (but 
i think it is set up properly)

Expected Results:  
amcheck should have told me, that everything is fine.

transporter root # emerge info
Portage 2.0.51-r3 (default-ppc64-2004.3, gcc-3.4.1, glibc-2.3.4.20041102-r0, 2.
6.9 ppc64)
=================================================================
System uname: 2.6.9 ppc64 PPC970FX, altivec supported
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.3-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="powerpc64-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="berkdb bitmap-fonts cups dvd f77 foomaticdb fortran gdbm gif imlib jpeg 
libwww mitshm nls oggvorbis oss pam perl png ppc64 python readline sdl slang ssl 
tcpd truetype xv"
Comment 1 Matthias Wegener 2004-11-30 06:27:01 UTC
Created attachment 44986 [details]
strace of looping xinetd
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-11-30 15:30:07 UTC
i'm closing this as a dupe of bug #72919, as the source of the problem is the same - amandad.

*** This bug has been marked as a duplicate of 72919 ***