It didn't change the outcome if I set the user to amanda or the group =
disk. Also, I do have a amidxtape entry, I just forgot to put it in the
original entry:
amidxtape       10083/tcp
Do I need a port entry in xinetd if its in /etc/services?
Here are the results of nmap:
Port       State       Service
22/tcp     open        ssh
10082/tcp  open        amandaidx
10083/tcp  open        amidxtape
Is this all I should see? /var/log/xinetd.log is not very helpful.
Developing a desk-shaped bruise on my forehead,
Jeff


-----Original Message-----
From: Stephen Carville [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 1:50 PM
To: Jeff Stewart
Cc: [EMAIL PROTECTED]
Subject: Re: amcheck works with inetd, fails with xinetd


On Thu, 14 Feb 2002, Jeff Stewart wrote:

- Apologies if this has been asked before. I've searched google and the list
- archives and have not found an answer that works for me.
- On a SuSE 7.3 box, amcheck is working fine when I run inetd, but is
failing
- when I run xinetd. I'm getting everybody's favorite error: selfcheck
request
- timed out.
- Since it is working with inetd but not with xinetd, it should be a problem
- with xinetd.conf, right? I am not getting any errors in /var/log/messages,
- and debug files are being created in /tmp/amanda.
- I definitely need this working with xinetd instead of inted.
- Thanks,
- Jeff Stewart

Dunno if this matters but I set the user on all three services to
'amanda'.  Also you do not have amidxtape in /etc/services and no port
specified in xinetd.conf.

Maybe add an explicit 'disable = no' ?   AFAIK this is the default but
maybe SUSE changed that.

- inetd.conf is:
- amandaidx stream tcp nowait root /usr/lib/amanda/amindexd amindexd
- amidxtape stream tcp nowait root /usr/lib/amanda/amidxtaped amidxtaped
- amanda dgram udp wait amanda /usr/lib/amanda/amandad amandad
-
- xinetd.conf is:
- defaults
- {
-         log_type        = FILE /var/log/xinetd.log
-         log_on_success  = HOST EXIT DURATION
-         log_on_failure  = HOST ATTEMPT RECORD
-         instances       = 2
- }
- service amandaidx
- {
-         socket_type     = stream
-         protocol        = tcp
-         wait            = no
-         user            = root
-         server          = /usr/lib/amanda/amindexd
- }
- service amidxtape
- {
-         socket_type     = stream
-         protocol        = tcp
-         wait            = no
-         user            = root
-         server          = /usr/lib/amanda/amidxtaped
- }
- service amanda
- {
-         socket_type     = dgram
-         protocol        = udp
-         wait            = yes
-         user            = amanda
-         server          = /usr/lib/amanda/amandad
- }
-
- /etc/services is:
- amanda          10080/tcp
- amanda          10080/udp
- amandaidx       10082/tcp
-
-

--
-- Stephen Carville
UNIX and Network Administrator
DPSI (formerly Ace USA Flood Services)
310-342-3602
[EMAIL PROTECTED]

Reply via email to