Re: amandad (in addition to amcheck error)
2003-12-05 02:26:00
On Thursday 04 December 2003 22:46, Jon LaBadie wrote:
> It may also be in the Faq-O-Matic at amanda.org. If not, maybe someone
> who uses xinet could add a Q&A for "how should xinetd.conf be setup?".
I recently had a bit of trouble getting amandad to start up with xinetd,
here's what I found out...
Here's the xinetd.conf that I got with Gentoo...your mileage may vary
depending on distro, however.
# Sample configuration file for xinetd
defaults
{
only_from = localhost
instances = 60
log_type = SYSLOG authpriv info
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d
...in /etc/xinetd.d I created a file called amanda with the following...
service amanda
{
protocol = udp
socket_type = dgram
wait = yes
user = amanda
group = amanda
groups = yes
server = /usr/local/libexec/amandad
only_from = fully.qualified.domain.com
}
service amandaidx
{
protocol = tcp
socket_type = stream
wait = no
user = amanda
group = amanda
groups = yes
server = /usr/local/libexec/amindexd
only_from = fully.qualified.domain.com
}
service amidxtape
{
protocol = tcp
socket_type = stream
wait = no
user = amanda
group = amanda
groups = yes
server = /usr/local/libexec/amidxtaped
only_from = fully.qualified.domain.com
}
...note that the only_from is different from the default xinetd.conf. That
was the problem that I ran into.
I hope that helps.
--
Thanks,
Stefan.
|
|
|