I have xinetd-2.3.13 installed on my gentoo-ppc system. I'm trying to use amanda on this server (which I have used successfully on many other servers) but I seem to be having some trouble specifically with the amanda service. The first time a backup process connects to the server the amanda service is started properly by xinetd. From running xinetd -d (debug mode) I am able to see that 2 connections are made, the first one exits and xinetd resumes the service properly. After the second connection exits however xinetd does NOT resume the amanda service. This means any future connections fail. If you look at the log below you can see the first connection detach and xinetd resume the service. I can wait for any amount of time and xinetd never seems to resume after the second connection. After the second connection xinetd starts using CPU time like crazy too even though it isn't doing anything.
Below is an example run of xinetd -d:
04/2/[EMAIL PROTECTED]:47:45: DEBUG: 23802 {handle_includedir} Reading included configuration file: /etc/xinetd.d/amanda [file=/etc/xinetd.conf] [line=13]
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {handle_includedir} Reading included configuration file: /etc/xinetd.d/chargen-tcp [file=/etc/xinetd.d/chargen-tcp] [line=37]
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {handle_includedir} Reading included configuration file: /etc/xinetd.d/chargen-udp [file=/etc/xinetd.d/chargen-udp] [line=13]
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {handle_includedir} Reading included configuration file: /etc/xinetd.d/daytime-tcp [file=/etc/xinetd.d/daytime-tcp] [line=14]
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {handle_includedir} Reading included configuration file: /etc/xinetd.d/daytime-udp [file=/etc/xinetd.d/daytime-udp] [line=13]
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {handle_includedir} Reading included configuration file: /etc/xinetd.d/echo-tcp [file=/etc/xinetd.d/echo-tcp] [line=14]
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {handle_includedir} Reading included configuration file: /etc/xinetd.d/echo-udp [file=/etc/xinetd.d/echo-udp] [line=13]
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {handle_includedir} Reading included configuration file: /etc/xinetd.d/time-tcp [file=/etc/xinetd.d/time-tcp] [line=14]
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {handle_includedir} Reading included configuration file: /etc/xinetd.d/time-udp [file=/etc/xinetd.d/time-udp] [line=13]
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {remove_disabled_services} removing chargen
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {remove_disabled_services} removing chargen
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {remove_disabled_services} removing daytime
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {remove_disabled_services} removing daytime
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {remove_disabled_services} removing echo
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {remove_disabled_services} removing echo
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {remove_disabled_services} removing time
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {remove_disabled_services} removing time
Service defaults
Instances = 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 = -1
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 = -1
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 = -1
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/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {cnf_start_services} Started service: amanda
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {cnf_start_services} Started service: amandaidx
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {cnf_start_services} Started service: amidxtape
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {cnf_start_services} mask_max = 8, services_started = 3
04/2/[EMAIL PROTECTED]:47:46: NOTICE: 23802 {main} xinetd Version 2.3.13 started with libwrap loadavg options compiled in.
04/2/[EMAIL PROTECTED]:47:46: NOTICE: 23802 {main} Started working: 3 available services
04/2/[EMAIL PROTECTED]:47:46: DEBUG: 23802 {main_loop} active_services = 3
04/2/[EMAIL PROTECTED]:47:50: DEBUG: 23802 {main_loop} select returned 1
04/2/[EMAIL PROTECTED]:47:50: DEBUG: 23802 {svc_suspend} Suspended service amanda
04/2/[EMAIL PROTECTED]:47:50: DEBUG: 23802 {server_start} Starting service amanda
04/2/[EMAIL PROTECTED]:47:50: DEBUG: 23802 {main_loop} active_services = 2
04/2/[EMAIL PROTECTED]:47:50: DEBUG: 23818 {exec_server} duping 6
04/2/[EMAIL PROTECTED]:47:50: DEBUG: 23802 {main_loop} active_services = 2
04/2/[EMAIL PROTECTED]:47:50: DEBUG: 23802 {main_loop} select returned 1
04/2/[EMAIL PROTECTED]:47:50: DEBUG: 23802 {check_pipe} Got signal 17 (Child exited)
04/2/[EMAIL PROTECTED]:47:50: DEBUG: 23802 {child_exit} waitpid returned = 23818
04/2/[EMAIL PROTECTED]:47:50: DEBUG: 23802 {server_end} amanda server 23818 exited
04/2/[EMAIL PROTECTED]:47:50: DEBUG: 23802 {drain} UDP socket should be empty
04/2/[EMAIL PROTECTED]:47:50: DEBUG: 23802 {svc_resume} Resumed service amanda
04/2/[EMAIL PROTECTED]:47:50: DEBUG: 23802 {child_exit} waitpid returned = -1
04/2/[EMAIL PROTECTED]:47:50: DEBUG: 23802 {main_loop} active_services = 3
04/2/[EMAIL PROTECTED]:48:00: DEBUG: 23802 {main_loop} select returned 1
04/2/[EMAIL PROTECTED]:48:00: DEBUG: 23802 {svc_suspend} Suspended service amanda
04/2/[EMAIL PROTECTED]:48:00: DEBUG: 23802 {server_start} Starting service amanda
04/2/[EMAIL PROTECTED]:48:00: DEBUG: 23802 {main_loop} active_services = 2
04/2/[EMAIL PROTECTED]:48:00: DEBUG: 23831 {exec_server} duping 6
04/2/[EMAIL PROTECTED]:48:01: DEBUG: 23802 {main_loop} active_services = 2
04/2/[EMAIL PROTECTED]:48:01: DEBUG: 23802 {main_loop} select returned 1
04/2/[EMAIL PROTECTED]:48:01: DEBUG: 23802 {check_pipe} Got signal 17 (Child exited)
04/2/[EMAIL PROTECTED]:48:01: DEBUG: 23802 {child_exit} waitpid returned = 23831
04/2/[EMAIL PROTECTED]:48:01: DEBUG: 23802 {server_end} amanda server 23831 exited
-- [EMAIL PROTECTED] mailing list
