Amanda-Users

Re: "selfcheck request timed out" WAS Re: Running amanda client only

2006-09-13 13:56:25
Subject: Re: "selfcheck request timed out" WAS Re: Running amanda client only
From: Frank Smith <fsmith AT hoovers DOT com>
To: up AT 3 DOT am
Date: Wed, 13 Sep 2006 12:44:50 -0500
up AT 3 DOT am wrote:
> On Wed, 13 Sep 2006, Frank Smith wrote:
> 
>> up AT 3 DOT am wrote:
>>> Replying to my own post (sorry, but I'm getting desperate here), I took
>>> the advice of the FAQ-O-Matic and installed lsof and ran this command:
>>>
>>> su-2.05b# lsof -uamanda
>>>
>>> There was no output.  Should there have been?  Does this mean that amandad
>>> is not running?
>> No, amandad should not be running except during a backup.  When the server
>> connects to the amanda port on the client inetd starts amandad.
>>
>>> This is what I have in my /etc/inetd.conf:
>>>
>>> amanda   dgram  udp  wait  amanda /usr/local/libexec/amandad  amandad
>>>
>>> inetd.conf has beek killed and restarted, the client even
>>> rebooted...anything?
>> Have you tried running /usr/local/libexec/amandad from the command line
>> on the client (it should just sit there and eventually time out and
>> return your prompt, or immediately exit if you hit a key)?  Perhaps
>> you're missing a library (or need to run ldconfig or whatever is
>> needed to update the dynamic library cache on your platform).
>> Does the system log inetd even running amandad?
>> Does amandad run and create anything in /tmp/amanda?
> 
> Thanks for your reply.  I did run it from the command line and it
> eventually times out, although it does not exit immediately if I type
> something.

2.4.5 will exit if you hit enter, 2.5 doesn't.

 debug files are created in /tmp/amanda, but not with any
> useful info...just how it was compiled.  There is absolutely nothing in
> /var/log/messages about amanda(d).

Inetd doesn't normally log unless you start it with a debug option.
In your case, since  a debug file is created then inetd is working
so you may not need to check further on that.
Post the debug file on the client and maybe we can see at what stage
of the connection it stops.  Are you running a firewall on or between
the client?

> I thought ldconfig was run upon
> boot...in any case, if I'm missing some kind of lib, wouldn't amanda
> complain about it when trying to build it?

The ldconfig suggestion is only relevant if running amandad from the
command line returns a missing library error, sorry I wasn't clear
about that.  And yes it would complain on build, I was thinking more
of cases where amanda lives on a shared filesystem or are copied to
multiple machines.

Frank

> 
> Thanks again for any help...
> 
> James Smallacombe                   PlantageNet, Inc. CEO and Janitor
> up AT 3 DOT am                                                            
> http://3.am
> =========================================================================
> 


-- 
Frank Smith                                      fsmith AT hoovers DOT com
Sr. Systems Administrator                       Voice: 512-374-4673
Hoover's Online                                   Fax: 512-374-4501