Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42835 - xinetd-2.3.13 hangs with amanda 2.4.4-r3
Summary: xinetd-2.3.13 hangs with amanda 2.4.4-r3
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-24 20:58 UTC by Bryn Hughes
Modified: 2004-06-11 16:05 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bryn Hughes 2004-02-24 20:58:05 UTC
Running on ~ppc

Symptoms:  run amcheck or any other amanda utilities which contact backup server.  First connection will be sucessful but any subsequent connections fail.  xinetd starts using CPU time after second connection and never dies.  Using /etc/init.d/xinetd to try and stop is not sucessful, only kill -9 will do.

xinetd -d gives this:

# xinetd -d
04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included configuration file: /etc/xinetd.d/amanda [file=/etc/xinetd.conf] [line=14]
04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included configuration file: /etc/xinetd.d/chargen-tcp [file=/etc/xinetd.d/chargen-tcp] [line=37]
04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included configuration file: /etc/xinetd.d/chargen-udp [file=/etc/xinetd.d/chargen-udp] [line=13]
04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included configuration file: /etc/xinetd.d/daytime-tcp [file=/etc/xinetd.d/daytime-tcp] [line=14]
04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included configuration file: /etc/xinetd.d/daytime-udp [file=/etc/xinetd.d/daytime-udp] [line=13]
04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included configuration file: /etc/xinetd.d/echo-tcp [file=/etc/xinetd.d/echo-tcp] [line=14]
04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included configuration file: /etc/xinetd.d/echo-udp [file=/etc/xinetd.d/echo-udp] [line=13]
04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included configuration file: /etc/xinetd.d/time-tcp [file=/etc/xinetd.d/time-tcp] [line=14]
04/2/24@20:51:56: DEBUG: 26848 {handle_includedir} Reading included configuration file: /etc/xinetd.d/time-udp [file=/etc/xinetd.d/time-udp] [line=13]
04/2/24@20:51:56: DEBUG: 26848 {remove_disabled_services} removing chargen
04/2/24@20:51:56: DEBUG: 26848 {remove_disabled_services} removing chargen
04/2/24@20:51:56: DEBUG: 26848 {remove_disabled_services} removing daytime
04/2/24@20:51:56: DEBUG: 26848 {remove_disabled_services} removing daytime
04/2/24@20:51:56: DEBUG: 26848 {remove_disabled_services} removing echo
04/2/24@20:51:56: DEBUG: 26848 {remove_disabled_services} removing echo
04/2/24@20:51:56: DEBUG: 26848 {remove_disabled_services} removing time
04/2/24@20:51:56: DEBUG: 26848 {remove_disabled_services} removing time
Service defaults
        Instances = 15
        PER_SOURCE = 15
        Bind = All addresses.
        Only from:  localhost(HOST) localhost.localdomain(HOST) bluemanie.nashira.ca(HOST) bluemeanie-prv(HOST)
        No access: No blocked sites
        Logging to syslog. Facility = authpriv, level = info
        Log_on_success flags = HOST PID
        Log_on_failure flags = HOST

Service configuration: amanda
        id = amanda
        flags = IPv4
        socket_type = dgram
        Protocol (name,number) = (udp,17)
        port = 10080
        wait = yes
        user = 87
        group = 6
        Groups = yes
        PER_SOURCE = 15
        Bind = All addresses.
        Server = /usr/libexec/amandad
        Server argv = amandad
        Only from:  localhost(HOST) localhost.localdomain(HOST) bluemanie.nashira.ca(HOST) bluemeanie-prv(HOST)
        No access: No blocked sites
        Logging to syslog. Facility = authpriv, level = info
        Log_on_success flags = HOST PID
        Log_on_failure flags = HOST

Service configuration: amandaidx
        id = amandaidx
        flags = IPv4
        socket_type = stream
        Protocol (name,number) = (tcp,6)
        port = 10082
        wait = no
        user = 87
        Groups = yes
        PER_SOURCE = 15
        Bind = All addresses.
        Server = /usr/libexec/amindexd
        Server argv = amindexd
        Only from:  localhost(HOST) localhost.localdomain(HOST) bluemanie.nashira.ca(HOST) bluemeanie-prv(HOST)
        No access: No blocked sites
        Logging to syslog. Facility = authpriv, level = info
        Log_on_success flags = HOST PID
        Log_on_failure flags = HOST

Service configuration: amidxtape
        id = amidxtape
        flags = IPv4
        socket_type = stream
        Protocol (name,number) = (tcp,6)
        port = 10083
        wait = no
        user = 87
        group = 6
        Groups = yes
        PER_SOURCE = 15
        Bind = All addresses.
        Server = /usr/libexec/amidxtaped
        Server argv = amidxtaped
        Only from:  localhost(HOST) localhost.localdomain(HOST) bluemanie.nashira.ca(HOST) bluemeanie-prv(HOST)
        No access: No blocked sites
        Logging to syslog. Facility = authpriv, level = info
        Log_on_success flags = HOST PID
        Log_on_failure flags = HOST

04/2/24@20:51:56: DEBUG: 26848 {cnf_start_services} Started service: amanda
04/2/24@20:51:56: DEBUG: 26848 {cnf_start_services} Started service: amandaidx
04/2/24@20:51:56: DEBUG: 26848 {cnf_start_services} Started service: amidxtape
04/2/24@20:51:56: DEBUG: 26848 {cnf_start_services} mask_max = 8, services_started = 3
04/2/24@20:51:56: NOTICE: 26848 {main} xinetd Version 2.3.13 started with libwrap loadavg options compiled in.
04/2/24@20:51:56: NOTICE: 26848 {main} Started working: 3 available services
04/2/24@20:51:56: DEBUG: 26848 {main_loop} active_services = 3
04/2/24@20:52:32: DEBUG: 26848 {main_loop} select returned 1
04/2/24@20:52:32: DEBUG: 26848 {svc_suspend} Suspended service amanda
04/2/24@20:52:32: DEBUG: 26848 {server_start} Starting service amanda
04/2/24@20:52:32: DEBUG: 26848 {main_loop} active_services = 2
04/2/24@20:52:32: DEBUG: 26853 {exec_server} duping 6
04/2/24@20:52:32: DEBUG: 26848 {main_loop} active_services = 2
04/2/24@20:52:32: DEBUG: 26848 {main_loop} select returned 1
04/2/24@20:52:32: DEBUG: 26848 {check_pipe} Got signal 17 (Child exited)
04/2/24@20:52:32: DEBUG: 26848 {child_exit} waitpid returned = 26853
04/2/24@20:52:32: DEBUG: 26848 {server_end} amanda server 26853 exited
04/2/24@20:52:32: DEBUG: 26848 {drain} UDP socket should be empty
04/2/24@20:52:32: DEBUG: 26848 {svc_resume} Resumed service amanda
04/2/24@20:52:32: DEBUG: 26848 {child_exit} waitpid returned = -1
04/2/24@20:52:32: DEBUG: 26848 {main_loop} active_services = 3
04/2/24@20:52:42: DEBUG: 26848 {main_loop} select returned 1
04/2/24@20:52:42: DEBUG: 26848 {svc_suspend} Suspended service amanda
04/2/24@20:52:42: DEBUG: 26848 {server_start} Starting service amanda
04/2/24@20:52:42: DEBUG: 26848 {main_loop} active_services = 2
04/2/24@20:52:43: DEBUG: 26854 {exec_server} duping 6
04/2/24@20:52:44: DEBUG: 26848 {main_loop} active_services = 2
04/2/24@20:52:44: DEBUG: 26848 {main_loop} select returned 1
04/2/24@20:52:44: DEBUG: 26848 {check_pipe} Got signal 17 (Child exited)
04/2/24@20:52:44: DEBUG: 26848 {child_exit} waitpid returned = 26854
04/2/24@20:52:44: DEBUG: 26848 {server_end} amanda server 26854 exited

At this point xinetd is hung - {drain} never comes and xinetd will no longer accept connections on any service.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-04-25 15:22:05 UTC
please test with the new version of amanda.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-06-11 16:05:42 UTC
no response, closing bug.