> Again...running RH7.1 with kernel upgraded to 2.4.6.
                  ^^^^^
The all important fact.  Redhat 7.1 (and 7.0, IIRC) use xinetd, not inetd.
Rather than a single .conf file, xinetd uses a number of files in the
/etc/xinetd.d directory.  I've attached 3 files -- amanda, amandaidx and
amidxtape.  On the clients (including the server itself), you only need
amanda in /etc/xinetd.d.  The other two go on the server to allow you to
use amrecover from the clients.

The other difference is that to restart xinetd, you need to issue the
command '/etc/init.d/xinetd restart'.

I copied the files over that you gave me...right now my xinetd.conf seems to
be missing my user and group information, though I ran ./configure
--with-user=amanda --with-group=disk --with-config=backup. I'm not really
sure what the syntax is for xinetd.conf as far as that information is
concerned. Here's what it has:

#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
        instances               = 60
        log_type                = SYSLOG authpriv
        log_on_success          = HOST PID
        log_on_failure          = HOST
}


includedir /etc/xinetd.d

amanda    dgram  udp wait   amanda /usr/local/libexec/amandad    amandad
amandaidx stream tcp nowait amanda /usr/local/libexec/amindexd   amindexd
amidxtape stream tcp nowait amanda /usr/local/libexec/amidxtaped amidxtaped

I checked my /var/log/messages and here's what I found...

****Found my xinetd.conf file...but it had nothing in it! 
Aug 29 15:31:03 salad xinetd: xinetd shutdown succeeded
Aug 29 15:31:03 salad xinetd[3708]: Protocol udp^M not in /etc/protocols
[line=3]
Aug 29 15:31:03 salad xinetd[3708]: Bad socket type: dgram^M [line=4]
Aug 29 15:31:03 salad xinetd[3708]: Bad value for wait: yes^M [line=5]
Aug 29 15:31:03 salad xinetd[3708]: Unknown user: amanda^M [line=6]
Aug 29 15:31:03 salad xinetd[3708]: Unknown group: disk^M [line=7]
Aug 29 15:31:03 salad xinetd[3708]: Server /usr/local/libexec/amandad^M is
not executable [line=8]
Aug 29 15:31:03 salad xinetd[3708]: Bad socket type: stream^M [line=7]
Aug 29 15:31:03 salad xinetd[3708]: Protocol tcp^M not in /etc/protocols
[line=8]
Aug 29 15:31:03 salad xinetd[3708]: Bad value for wait: no^M [line=9]
Aug 29 15:31:03 salad xinetd[3708]: Unknown user: amanda^M [line=10]
Aug 29 15:31:03 salad xinetd[3708]: attribute server expects 1 values and 2
values were specified [line=11]
Aug 29 15:31:03 salad xinetd[3708]: Bad socket type: stream^M [line=8]
Aug 29 15:31:03 salad xinetd[3708]: Protocol tcp^M not in /etc/protocols
[line=9]
Aug 29 15:31:03 salad xinetd[3708]: Bad value for wait: no^M [line=10]
Aug 29 15:31:03 salad xinetd[3708]: Unknown user: amanda^M [line=11]
Aug 29 15:31:03 salad xinetd[3708]: Server /usr/local/libexec/amidxtaped^M
is not executable [line=12]
Aug 29 15:31:03 salad xinetd[3708]: missing service keyword [line=17]
Aug 29 15:31:03 salad xinetd[3708]: missing } in last service entry
[line=19]
Aug 29 15:31:03 salad xinetd[3708]: chargen disabled, removing
Aug 29 15:31:03 salad xinetd[3708]: chargen-udp disabled, removing
Aug 29 15:31:03 salad xinetd[3708]: time disabled, removing
Aug 29 15:31:03 salad xinetd[3708]: time disabled, removing
Aug 29 15:31:03 salad xinetd[3708]: daytime disabled, removing
Aug 29 15:31:03 salad xinetd[3708]: talk disabled, removing
Aug 29 15:31:03 salad xinetd[3708]: rsync disabled, removing
Aug 29 15:31:03 salad xinetd[3708]: ntalk disabled, removing
Aug 29 15:31:03 salad xinetd[3708]: echo-udp disabled, removing
Aug 29 15:31:03 salad xinetd[3708]: echo disabled, removing
Aug 29 15:31:03 salad xinetd[3708]: daytime-udp disabled, removing
Aug 29 15:31:03 salad xinetd[3708]: Service amanda^M missing attribute
socket_type
Aug 29 15:31:03 salad xinetd[3708]: Service amanda^M missing attribute user
Aug 29 15:31:03 salad xinetd[3708]: Service amanda^M missing attribute
server
Aug 29 15:31:03 salad xinetd[3708]: Service amandaidx^M missing attribute
socket_type
Aug 29 15:31:03 salad xinetd[3708]: Service amandaidx^M missing attribute
user
Aug 29 15:31:03 salad xinetd[3708]: Service amandaidx^M missing attribute
server
Aug 29 15:31:03 salad xinetd[3708]: Service amidxtape^M missing attribute
socket_type
Aug 29 15:31:03 salad xinetd[3708]: Service amidxtape^M missing attribute
user
Aug 29 15:31:03 salad xinetd[3708]: Service amidxtape^M missing attribute
server
Aug 29 15:31:03 salad xinetd[3708]: xinetd Version 2.1.8.9pre14 started with
Aug 29 15:31:03 salad xinetd[3708]: libwrap
Aug 29 15:31:03 salad xinetd[3708]: options compiled in.
Aug 29 15:31:03 salad xinetd[3708]: Started working: 2 available services
Aug 29 15:31:06 salad xinetd: xinetd startup succeeded

Can someone help me with syntax?

Reply via email to