Amanda-Users

xinetd problems

2002-08-04 23:46:44
Subject: xinetd problems
From: "Paul G. Allen" <pgallen AT randomlogic DOT com>
To: amusers <amanda-users AT amanda DOT org>
Date: Sun, 04 Aug 2002 20:32:44 -0700
I'm not real familiar with xinetd (nor am I familiar with inetd as I
usually avoid both for security reasons).

Now that I *think* I have Amanda working with my tape drive, when I run
amcheck -clt it fails (NOTE: The PGA: messages are left over debug code
soon to be removed):


[root@ista src]# amcheck -clt csd
Amanda Tape Server Host Check
-----------------------------
Holding disk /usr/local/amanda/dumps: 3731600 KB disk space available,
that's plenty
PGA: tape_open() O_RDONLY

PGA: Read Return Code: 32768

PGA: tapefd_close(5)
amcheck-server: slot 6: date X        label csd006 (first labelstr
match)
PGA: tape_open() O_RDONLY

PGA: Read Return Code: 32768

PGA: tapefd_close(5)
NOTE: skipping tape-writable test
Tape csd006 label ok
Server check took 60.619 seconds

Amanda Backup Client Hosts Check
--------------------------------
WARNING: keroon: selfcheck request timed out.  Host down?
WARNING: ista: selfcheck request timed out.  Host down?
Client check: 2 hosts checked in 29.999 seconds, 2 problems found

(brought to you by Amanda 2.4.2p2)


Looking at /var/log/messages, I see many many errors from xinetd when it
tries to start the Amanda services:

Aug  4 20:04:11 ista xinetd[11746]: {bad_signal} Received 10 signals in
1 seconds. Exiting...
Aug  4 20:04:11 ista xinetd[11747]: {general_handler} (11747) Unexpected
signal: 11 (Segmentation fault)
Aug  4 20:04:11 ista last message repeated 9 times
Aug  4 20:04:11 ista xinetd[11747]: {bad_signal} Received 10 signals in
1 seconds. Exiting...
Aug  4 20:04:11 ista xinetd[11748]: {general_handler} (11748) Unexpected
signal: 11 (Segmentation fault)
Aug  4 20:04:11 ista last message repeated 9 times
Aug  4 20:04:11 ista xinetd[11748]: {bad_signal} Received 10 signals in
1 seconds. Exiting...
Aug  4 20:04:11 ista xinetd[11749]: {general_handler} (11749) Unexpected
signal: 11 (Segmentation fault)
Aug  4 20:04:11 ista last message repeated 9 times
Aug  4 20:04:11 ista xinetd[11749]: {bad_signal} Received 10 signals in
1 seconds. Exiting...
Aug  4 20:04:11 ista xinetd[11750]: {general_handler} (11750) Unexpected
signal: 11 (Segmentation fault)
Aug  4 20:04:11 ista last message repeated 9 times
Aug  4 20:04:11 ista xinetd[11750]: {bad_signal} Received 10 signals in
1 seconds. Exiting...
Aug  4 20:04:11 ista xinetd[11751]: {general_handler} (11751) Unexpected
signal: 11 (Segmentation fault)
Aug  4 20:04:11 ista last message repeated 9 times
Aug  4 20:04:11 ista xinetd[11751]: {bad_signal} Received 10 signals in
1 seconds. Exiting...
Aug  4 20:04:11 ista xinetd[11558]: Deactivating service amanda due to
excessive incoming connections.  Restarting in 30 seconds.
Aug  4 20:04:41 ista xinetd[11558]: Activating service amanda



Here's my xinetd config file for the amanda service:

# default: on
service amanda
{
        socket_type     = dgram
        protocol        = udp
        wait            = yes
        user            = root
        group           = disk
        server          = /usr/local/libexec/amandad
        only_from       = 192.168.1.4 192.168.1.5 192.168.1.10
192.168.1.11
        no_access       = 192.168.1.1
        log_type        = SYSLOG
        log_on_success  = PID HOST USERID DURATION EXIT
        log_on_failure  = HOST USERID ATTEMPT RECORD
        disable         = no
}


The two hosts that are failing are the Amanda tape server (ista) and
192.168.1.4.

PGA
-- 
Paul G. Allen
Owner, Sr. Engineer, Security Specialist
Random Logic/Dream Park
www.randomlogic.com

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