Michael D. Schleif wrote:
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 ;
The real reason is that if you have a tape with a backup of
"localhost". What host is that? If the "normal" setup of amanda
you usually have more clients and one server. Some people even have
many servers (e.g. a standby server). They all started with a very
little configuration, only one host.
It's in that situation that "localhost" will bite you...
E.g. you want to restore a directory on a client. That client is
called "localhost" too (just installed with redhat, without a
decent network config), and before you know, you're restoring the
contents of your server called 'localhost' too.
(And localhost often does not have a reversed dns-entry.)
--
Paul Bijnens, Xplanation Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************
|