[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

amanda, Oh amanda client



Hi,

ich versuche gerade mit amanda eine Clientsicherung zum laufen zu
bringen. Leider klappt da irgendetwas nicht.

Für lokale Verzeichnisse funktioniert das Backup schon, allerdings habe
ich jetzt mal einen Host in die disklist aufgenommen.

Das sieht so aus.

[...]
localhost /home comp-user-tar
localhost /etc comp-root-tar
localhost /vmware/w2k-work comp-user-tar

mail.egiese.local       /var/spool/cyrus comp-root-tar
[...]

Auf dem Server habe ich die /etc/amandahosts wie folgt geändert:

[...]

localhost backup
localhost root amindexd amidxtaped
mail.egiese.local root

[...]

Am Client ist amanda-client installiert. Die /etc/amandahosts sieht so aus:

[...]

localhost backup
debian.egiese.local backup amdump

[...]

Die /etc/services und /etc/inetd.conf müsste stimmen
[inetd.conf]
amanda dgram udp wait backup /usr/lib/amanda/amandad amandad -auth=bsd
amdump amindexd amidxtaped
[...]
denn ich bekomme eine Logdatei in
/var/log/amanda/amandad/amandad.20071203081921.debug
sieht so aus auf dem client:

amandad: debug 1 pid 1918 ruid 34 euid 34: start at Mon Dec  3 08:19:21 2007
security_getdriver(name=bsd) returns 0xb7fac0e0
amandad: version 2.5.1p1
amandad: build: VERSION="Amanda-2.5.1p1"
amandad:        BUILT_DATE="Wed Nov 29 02:15:07 CET 2006"
amandad:        BUILT_MACH="Linux intrepid 2.6.18-1-686 #1 SMP Fri Sep
29 16:25:40 UTC 2006 i686 GNU/Linux"
amandad:        CC="gcc"
amandad:        CONFIGURE_COMMAND="'./configure' '--prefix=/usr'
'--bindir=/usr/sbin' '--mandir=/usr/share/man'
'--libexecdir=/usr/lib/amanda' '--enable-shared' '--sysconfdir=/etc'
'--localstatedir=/var/lib'
'--with-gnutar-listdir=/var/lib/amanda/gnutar-lists'
'--with-index-server=localhost' '--with-user=backup'
'--with-group=backup' '--with-bsd-security' '--with-amandahosts'
'--with-smbclient=/usr/bin/smbclient' '--with-debugging=/var/log/amanda'
'--with-dumperdir=/usr/lib/amanda/dumper.d'
'--with-tcpportrange=50000,50100' '--with-udpportrange=840,860'
'--with-maxtapeblocksize=256' '--with-ssh-security'"
amandad: paths: bindir="/usr/sbin" sbindir="/usr/sbin"
amandad:        libexecdir="/usr/lib/amanda" mandir="/usr/share/man"
amandad:        AMANDA_TMPDIR="/tmp/amanda"
amandad:        AMANDA_DBGDIR="/var/log/amanda" CONFIG_DIR="/etc/amanda"
amandad:        DEV_PREFIX="/dev/" RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
amandad:        RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF
amandad:        XFSDUMP="/sbin/xfsdump" XFSRESTORE="/sbin/xfsrestore"
amandad:        VXDUMP=UNDEF VXRESTORE=UNDEF
amandad:        SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/bin/tar"
amandad:        COMPRESS_PATH="/bin/gzip" UNCOMPRESS_PATH="/bin/gzip"
amandad:        LPRCMD="/usr/bin/lpr" MAILER="/usr/bin/mail"
amandad:        listed_incr_dir="/var/lib/amanda/gnutar-lists"
amandad: defs:  DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
amandad:        DEFAULT_TAPE_SERVER="localhost" HAVE_MMAP HAVE_SYSVSHM
amandad:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
amandad:        AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY
USE_AMANDAHOSTS
amandad:        CLIENT_LOGIN="backup" FORCE_USERID HAVE_GZIP
amandad:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 0.000: dgram_recv(dgram=0xb7fad084, timeout=0,
fromaddr=0xb7fbd070)
amandad: time 0.000: (sockaddr_in *)0xb7fbd070 = { 2, 846, 192.168.178.50 }
amandad: time 10.018: dgram_recv(dgram=0xb7fad084, timeout=0,
fromaddr=0xb7fbd070)
amandad: time 10.018: (sockaddr_in *)0xb7fbd070 = { 2, 846, 192.168.178.50 }
amandad: time 20.019: dgram_recv(dgram=0xb7fad084, timeout=0,
fromaddr=0xb7fbd070)
amandad: time 20.019: (sockaddr_in *)0xb7fbd070 = { 2, 846, 192.168.178.50 }
amandad: time 30.077: pid 1918 finish time Mon Dec  3 08:19:51 2007


Auf dem Server sieht die Datei dann so aus:

selfcheck: debug 1 pid 6030 ruid 34 euid 34: start at Mon Dec  3
08:19:21 2007
selfcheck: version 2.5.1p1
Reading conf file "/etc/amanda/amanda-client.conf".
Could not open conf file "/etc/amanda/DailySet1/amanda-client.conf": No
such file or directory
selfcheck: debug 1 pid 6030 ruid 34 euid 34: rename at Mon Dec  3
08:19:21 2007selfcheck: time 0.001: checking disk /vmware/w2k-work
selfcheck: time 0.002: device /vmware/w2k-work
selfcheck: time 0.002: disk /vmware/w2k-work OK
selfcheck: time 0.002: amdevice /vmware/w2k-work OK
selfcheck: time 0.002: device /vmware/w2k-work OK
selfcheck: time 0.003: checking disk /etc
selfcheck: time 0.004: device /etc
selfcheck: time 0.004: disk /etc OK
selfcheck: time 0.004: amdevice /etc OK
selfcheck: time 0.004: device /etc OK
selfcheck: time 0.004: checking disk /home
selfcheck: time 0.004: device /home
selfcheck: time 0.005: disk /home OK
selfcheck: time 0.005: amdevice /home OK
selfcheck: time 0.005: device /home OK
selfcheck: time 0.005: pid 6030 finish time Mon Dec  3 08:19:21 2007
~
~

Aber ein amcheck DailySet1 liefert dies:

sudo -u backup /usr/sbin/amcheck DailySet1
Amanda Tape Server Host Check
-----------------------------
Holding disk /data/dumps/amanda: 57225824 KB disk space available, using
57123424 KB
slot 4: read label `DailySet1-02', date `20070821'
NOTE: skipping tape-writable test
Tape DailySet1-02 label ok
NOTE: host info dir /etc/amanda/DailySet1/curinfo/mail.egiese.local does
not exist
NOTE: it will be created on the next run.
NOTE: index dir /etc/amanda/DailySet1/index/mail.egiese.local does not exist
NOTE: it will be created on the next run.
Server check took 0.176 seconds

Amanda Backup Client Hosts Check
--------------------------------
WARNING: Usage of fully qualified hostname recommended for Client localhost.
WARNING: Usage of fully qualified hostname recommended for Client localhost.
WARNING: Usage of fully qualified hostname recommended for Client localhost.
WARNING: mail.egiese.local: selfcheck request failed: timeout waiting
for ACK
Client check: 2 hosts checked in 30.035 seconds, 1 problem found

(brought to you by Amanda 2.5.1p1)

Wie bekomme ich das jetzt hin?


-- 
Mit freundlichen Grüßen / Yours sincerely

Edgar Giese

mailto:info@egiese.de
fon: 0173 - 64 8 62 65

<°><



Reply to: