On Tuesday 16 July 2002 06:58, Trevor Fraser wrote:
>Hello all.
>
>I've been through this problem before, I just can't remember hoe I
> fixed it. I've reinstalled RH 7.3 and copied the conf files onto
> the new installation. When I run amcheck, I get the error:
>
>ERROR: merlin: [access as amanda not allowed from root@merlin]
>amandahostsauth failed
>
>I've followed the installation guide and the docs say the
> .amandahosts file isn't configured properly or the inetd
> configuration file must have the wrong user name, I don't find
> such a file.. I've tried changing permissions (full permissions)
> on the .amandahosts file, but no luck. The file reads:
>
>merlin.systematic.lan root
>merlin.systematic.lan amanda
>
>What am I not doing?
>
>Reguards,
>Trevor.
First, inetd seems to have been deprecated by RH and several others,
in favor of xinetd, which has a control directory /etc/xinetd.d
where customizable files that control how each utility runs are
supposed to live. Processes there can be setup for running only on
demand so they don't waste resources, and can be restricted as to
who can run them etc etc.
Those docs need to be brought uptodate by about 2 years worth of the
march of linux progress.
You will need within this directory, a file to advise it how to run
the amanda daemons, and amanda herself. Here is mine for
guideance:
------------------------------
# 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
}
Edit the server=, user=, and group= lines to suit your installation.
--
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz 512M
99.06% setiathome rank, not too shabby for a WV hillbilly