Amanda-Users

Re: problems using amanda with xinetd

2003-06-10 04:38:13
Subject: Re: problems using amanda with xinetd
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: Mike Eldridge <diz AT hiphopanonymous DOT org>
Date: Tue, 10 Jun 2003 04:36:23 -0400
On Tuesday 10 June 2003 01:12, Mike Eldridge wrote:
>On Mon, Jun 09, 2003 at 06:51:38PM -0400, Gene Heskett wrote:
>> On Monday 09 June 2003 15:03, Mike Eldridge wrote:
>> >On Mon, Jun 09, 2003 at 02:29:32PM -0400, Gene Heskett wrote:
>> >> On Monday 09 June 2003 14:10, Mike Eldridge wrote:
>> >> >all,
>> >> >
>> >> >i'm having serious problems getting amanda to function on a
>> >> > server running xinetd.  the amanda setup on this particular
>> >> > box runs fine with inetd, but i cannot get xinetd to
>> >> > cooperate with me.
>
>[snip]
>
>> >> It does not contain a disable = yes/no line.
>> >
>> >i've tried with and without.  it has no effect.
>>
>> 1: Are the 3 utilities named in the file I sent present and
>> accounted for, or are we playing mix-n-match here between an rpm
>> install, and a home built install?  rpm doesn't put them in the
>> above location IIRC, but its been better than 2 years since I last
>> tried to make the rpm's work, lifes too short for that
>> harrassment.
>
>the machine in question is running gentoo.
>
>xinetd was installed from an ebuild.  amanda was installed from
> source.
>
>by "3 utilities", i am assuming you are referring to the amandad,
>amindexd, and amidxtaped binaries.  if this is correct, then yes, of
>course the binaries are accounted for and in the correct place.  not
> all three services are enabled, however, as it is my understanding
> that the amandaidx and amidxtape services are only required on the
> tape server host for indexing purposes.

I cannot confirm that as I haven't tried disabling them on my one lone 
client, I'm using that same '/etc/xinetd.d/amanda' file on both 
machines.  Someone else with more experience with linux client 
machines may be able to comment on this, and are welcome to.  My one 
client is a k6-III rh7.3 with all up2dates installed.

>> 2: If you didn't even put the one I sent in and do a restart on
>> xinetd, "service xinetd restart", then there isn't a lot I'm going
>> to be able to do for you.  You apparently are convinced its not
>> going to work and thats that.
>
>uhm, i have restarted the service after every change.  i don't just
>change an entry in the file and expect it to automatically work.
>
>i have confirmed that the service entry was reconfigured via syslog.
>  i have tried HUPing the xinetd process -- which does instruct
> xinetd to reread its config files -- *and* killing/restarting the
> process.  i have spent several *weeks* trying to track the problem
> down.
>
>i am just going to reinstall xinetd.  if that does not help, i am
> just going to trash xinetd (since it's a pos anyways).

xinetd isn't a pos, its quite a bit more secure, and less wastefull of 
system resources than inetd because things don't get started at boot 
time and left around in case they are needed, they are started on 
demand, and killed when the demand is gone.  Its also had a couple of 
security related updates fairly recently and the version I have 
installed is now 2.3.11 IIRC.  If yours is older, I'd get the latest 
before I re-installed it.

There has to be some reason the services won't start, so please post 
an 'ls -l' of the /usr/local/libexec directory.  Also an 'ls -l' of 
the amanda src directory, and a 'cat' of your configuration script.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.26% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.