Amanda-Users

Re: The Million Dollar amcheck Question (host down)

2003-03-14 15:39:10
Subject: Re: The Million Dollar amcheck Question (host down)
From: Frank Smith <fsmith AT hoovers DOT com>
To: ljrsnn <ljrsnn AT yahoo DOT com>, amanda-users AT amanda DOT org
Date: Fri, 14 Mar 2003 12:48:42 -0600
--On Friday, March 14, 2003 15:02:22 +0000 ljrsnn <ljrsnn AT yahoo DOT com> 
wrote:

Hi folks!
I know this question is asked a lot, and I've looked
through various
solutions, and the FAQ but can't seem to solve my
problem. (I'm trying to run this on Linux)
When I run amcheck, I get the following error:

Amanda Tape Server Host Check
-----------------------------
Holding disk /usr/local/etc/amanda/Test/dumps: 692120
KB disk space
available, that's plenty
NOTE: skipping tape-writable test
Tape Test02 label ok
Server check took 3.230 seconds

Amanda Backup Client Hosts Check
--------------------------------
WARNING: snitch: selfcheck request timed out.  Host
down?
Client check: 1 host checked in 30.024 seconds, 1
problem found

(brought to you by Amanda 2.4.4)

-This creates an amcheck.*.debug file with the
appropriate timestamp,
and this file is as follows:

amcheck: debug 1 pid 3264 ruid 0 euid 0: start at Thu
Mar 13 16:33:09
2003
amcheck: dgram_bind: socket bound to 0.0.0.0.981
amcheck: pid 3264 finish time Thu Mar 13 16:33:39 2003

As Gene pointed out, you really shouldn't be using localhost.

-However, NO amandad.*.debug file is created. (using ls -
lu /usr/local/libexec/amandad, the file is not being accessed when
amcheck is run)
Please note that I am using xinetd instead of inetd.
In /etc/xindetd.d , I have the amanda,amidxtape and
amindexd files as
respectively:

# default: off
# description: Part of Amanda server package

service amanda {
        disable         = no
        socket_type     = dgram
        protocol        = udp
        wait            = yes
        user            = root
        group           = disk
        server          = /usr/local/libexec/amandad
}

Are you really using 'root' for the Amanda user?  If so you should change it
to another user, some Amanda utilities won't run if started by root (although
I don't know if that is still true if it was configured with --with-user=root).

Frank


amidxtape:
# Converted by Linux-Mandrake_inetdconvert
service amidxtape
{
        socket_type             = stream
        protocol                = tcp
        wait                    = yes
        user                    = root
        server                  =
/usr/local/libexec/amidxtaped
        server_args             = amidxtaped
        disable                 = no
}
amindexd:
# Converted by Linux-Mandrake_inetdconvert
service amindexd
{
 socket_type    = stream
 protocol      = tcp
 wait   = yes
 user   = root
 server   = /usr/local/libexec/amindexd
 server_args    = amindexd
 disable       = no
}

This being said, I've also checked my firewalling, and the
tcpwrappers, and these seem to have no effect.
I've also tried restarting xinetd, and I made sure that amanda shows
up in ntsysv.

If you run /usr/local/libexec/amandad from the command line as the Amanda
user does it behave as expected (i.e., does nothing for a minute or so,
then returns, or returns instantly if you hit a key) or does it return some
error message?

Frank

Can someone PLEASE give me a hand with this?
Thanks so much!

Lauren Bridges
lauren.bridges AT cedara DOT com
___________________________
Lauren Bridges
Development Tools Analyst, ACE
Cedara Software Corp.
(905) 672-2101 X 1464




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

<Prev in Thread] Current Thread [Next in Thread>