On Sunday 26 March 2006 11:41, stan wrote:
>I'm trying to set up an Ubunti machine as an amada server. I've
> installed the xinetd package, and created the files in /etc/xinetd.d.
> Here is an example of one of these files:
>
>
>service amanda
>{
> disable = no
> socket_type = dgram
> protocol = udp
> wait = yes
> user = amanda
> group = amanda
> groups = yes
> server = /opt/amanda/libexec/amandad }
>
>But, I;m getting the following error in syslog when I restart xinetd:
>
I think you nedd to move the closing brace to its own line, else it may
become part of the server address path.
>
>Mar 26 11:20:37 localhost xinetd[9333]: Reading included configuration
> file: /etc/xinetd.d/amanda [file=/etc/xinetd.conf] [line=11] Mar 26
> 11:20:37 localhost xinetd[9333]: attribute server expects 1 values
> and 2 values were specified [file=/etc/xinetd.d/amanda] [line=10] Mar
> 26 11:20:37 localhost xinetd[9333]: incomplete entry
> [file=/etc/xinetd.d/amanda] [line=11] Mar 26 11:20:37 localhost
> xinetd[9333]: missing } in last service entry
> [file=/etc/xinetd.d/amanda] [line=11]
As it effectively says here.
FWIW, all 3 of those files can be combined into one /etc/xinetd.d/amanda
file as follows:
---------------------------
# default = off
#
# description: Part of the Amanda server package
# This is the list of daemons & such it needs
service amanda
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = amanda
group = disk
groups = yes
server = /usr/local/libexec/amandad
}
service amandaidx
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = amanda
group = disk
groups = yes
server = /usr/local/libexec/amindexd
}
service amidxtape
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = amanda
group = disk
groups = yes
server = /usr/local/libexec/amidxtaped
}
--------------
Which had no good reason other than it seemed to make sense to me at the
time. xinetd doesn't care one way or the other.
--
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules. I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.
|