Amanda-Users

Re: server will not backup itself ?!?!

2003-07-01 22:21:17
Subject: Re: server will not backup itself ?!?!
From: "Michael D. Schleif" <mds AT helices DOT org>
To: amanda mailing list <amanda-users AT amanda DOT org>
Date: Tue, 1 Jul 2003 21:17:31 -0500
Also sprach Kurt Yoder (Tue 01 Jul 02003 at 08:46:41PM -0400):
> 
> Did you look through the amcheck debug files that you saw in
> /tmp/amanda?

Yes, since posting, I found an archived post suggesting this, in which I
find new information.  However, I cannot understand its meaning:

# cat /tmp/amanda/amandad.20030701171859.debug
amandad: debug 1 pid 25109 ruid 34 euid 34 start time Tue Jul  1
17:18:59 2003
/usr/lib/amanda/amandad: version 2.4.2p2
/usr/lib/amanda/amandad: build: VERSION="Amanda-2.4.2p2"
/usr/lib/amanda/amandad:        BUILT_DATE="Tue Apr 2 21:24:21 UTC 2002"
/usr/lib/amanda/amandad:        BUILT_MACH="Linux cyberhq 2.4.18pre2 #1 SMP Tue 
Jan 8 18:13:43 PST 2002 i686 unknown"
/usr/lib/amanda/amandad:        CC="gcc" /usr/lib/amanda/amandad: paths: 
bindir="/usr/sbin" sbindir="/usr/sbin"
/usr/lib/amanda/amandad:        libexecdir="/usr/lib/amanda" 
mandir="/usr/share/man"
/usr/lib/amanda/amandad:        AMANDA_TMPDIR="/tmp/amanda" 
AMANDA_DBGDIR="/tmp/amanda"
/usr/lib/amanda/amandad:        CONFIG_DIR="/etc/amanda" DEV_PREFIX="/dev/"
/usr/lib/amanda/amandad:        RDEV_PREFIX="/dev/r" DUMP="/sbin/dump"
/usr/lib/amanda/amandad:        RESTORE="/sbin/restore" 
SAMBA_CLIENT="/usr/bin/smbclient"
/usr/lib/amanda/amandad:        GNUTAR="/bin/tar" COMPRESS_PATH="/bin/gzip"
/usr/lib/amanda/amandad:        UNCOMPRESS_PATH="/bin/gzip" 
MAILER="/usr/bin/Mail"
/usr/lib/amanda/amandad: listed_incr_dir="/var/lib/amanda/gnutar-lists"
/usr/lib/amanda/amandad: defs:  DEFAULT_SERVER="localhost" 
DEFAULT_CONFIG="DailySet1"
/usr/lib/amanda/amandad:        DEFAULT_TAPE_SERVER="localhost"
/usr/lib/amanda/amandad:        DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP 
HAVE_SYSVSHM
/usr/lib/amanda/amandad:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
/usr/lib/amanda/amandad:        AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
/usr/lib/amanda/amandad:        CLIENT_LOGIN="backup" FORCE_USERID HAVE_GZIP
/usr/lib/amanda/amandad:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
/usr/lib/amanda/amandad:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: dgram_recv: timeout after 30 seconds
amandad: error receiving message: timeout
error receiving message: timeout
amandad: pid 25109 finish time Tue Jul  1 17:19:29 2003


> Can you manually connect to the services in question? (eg telnet
> localhost 10082, etc)?

Yes, and no . . .

# telnet localhost 10080
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

# telnet localhost 10082
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

# telnet localhost 10083
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

> Your /etc/amandahosts has localhost commented out. If you're
> connecting to localhost this could be a problem. Also, my
> amandahosts is in /var/backup/.amandahosts, and I'm also running
> Debian. Unless
> /etc/amandahosts is a symlink to /var/backup/.amandahosts, you might
>  try adding your entries there.

# ls -al /var/backups/.amandahosts
lrwxrwxrwx    1 backup   backup         16 Jun 30 23:56 
/var/backups/.amandahosts -> /etc/amandahosts

As I added in a previous exchange, much of the archives and Faq-O-Matic
strongly opposes use of localhost -- a point that interests me; but, has
little bearing on my particular solution ;>

What do you think?


> On Tuesday, July 1, 2003, at 07:36  PM, Michael D. Schleif wrote:
> 
> > Hi!  I installed amanda on a Debian Woody system, and everything 
> appears
> > to be configured properly.  amcheck -lstw runs without incident.
> >
> > However, I am victim to what appears to be the most common problem:
> >
> >         selfcheck request timed out.  Host down?
> >
> > I have scoured the Faq-O-Matic, and I list below the results of
> all the suggested fixes.
> >
> > What do you think?

-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--

Attachment: pgp_PHVgusKMl.pgp
Description: PGP signature

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