Amanda-Users

debian client

2008-07-10 09:34:44
Subject: debian client
From: "Jeremy Mordkoff" <jlm AT ZeeVee DOT Com>
To: <amanda-users AT amanda DOT org>
Date: Thu, 10 Jul 2008 09:28:39 -0400

Hi --

I have a working setup running on fedora core 7/8/9. On my server, I am running
amanda-2.5.1p3-3.fc7

amanda-client-2.5.1p3-3.fc7

amanda-server-2.5.1p3-3.fc7

Someone built a debian server and I am trying to add it to my backups. amcheck is happy, but amdump always fails. It is running

 

$ dpkg -l | grep amanda

ii  amanda-client                              1:2.5.2p1-1                        Advanced Maryland Automatic Network Disk Arc

ii  amanda-common                              1:2.5.2p1-1                        Advanced Maryland Automatic Network Disk Arc



an amandad log file is created, but nothing under /var/log/amanda/client

here is the /var/log/amanda/amandad log file

amandad: debug 1 pid 10077 ruid 34 euid 34: start at Wed Jul 9 10:04:22 2008
Reading conf file "/etc/amanda/amanda-client.conf".
amandad: time 0.000: security_getdriver(name=bsd) returns 0xb7eab2e0
amandad: version 2.5.2p1
amandad: time 0.000: build: VERSION="Amanda-2.5.2p1"
amandad: time 0.000: BUILT_DATE="Fri Nov 9 01:06:28 GMT 2007"
amandad: time 0.000: BUILT_MACH="Linux palmer 2.6.15.7 #1 SMP Thu Sep 7 19:42:20 UTC 2006 i686 GNU/Linux"
amandad: time 0.000: CC="gcc"
amandad: time 0.000: 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: time 0.000: paths: bindir="/usr/sbin" sbindir="/usr/sbin"
amandad: time 0.000: libexecdir="/usr/lib/amanda" mandir="/usr/share/man"
amandad: time 0.000: AMANDA_TMPDIR="/tmp/amanda"
amandad: time 0.000: AMANDA_DBGDIR="/var/log/amanda" CONFIG_DIR="/etc/amanda"
amandad: time 0.000: DEV_PREFIX="/dev/" RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
amandad: time 0.000: RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF
amandad: time 0.000: XFSDUMP="/sbin/xfsdump" XFSRESTORE="/sbin/xfsrestore"
amandad: time 0.000: VXDUMP=UNDEF VXRESTORE=UNDEF
amandad: time 0.000: SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/bin/tar"
amandad: time 0.000: COMPRESS_PATH="/bin/gzip" UNCOMPRESS_PATH="/bin/gzip"
amandad: time 0.000: LPRCMD="/usr/bin/lpr" MAILER="/usr/bin/mail"
amandad: time 0.000: listed_incr_dir="/var/lib/amanda/gnutar-lists"
amandad: time 0.000: defs: DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
amandad: time 0.000: DEFAULT_TAPE_SERVER="localhost" HAVE_MMAP NEED_STRSTR
amandad: time 0.000: HAVE_SYSVSHM LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
amandad: time 0.000: AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY USE_AMANDAHOSTS
amandad: time 0.000: CLIENT_LOGIN="backup" FORCE_USERID HAVE_GZIP
amandad: time 0.000: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad: time 0.000: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 0.000: dgram_recv(dgram=0xb7ead284, timeout=0, fromaddr=0xb7ebd270)
amandad: time 0.000: (sockaddr_in *)0xb7ebd270 = { 2, 897, 172.16.2.71 }
amandad: time 0.000: security_handleinit(handle=0x80529e8, driver=0xb7eab2e0 (BSD))
amandad: time 0.001: accept recv REQ pkt:
<<<<<
SERVICE noop
OPTIONS features=fffffeff9ffeffffff7f;
>>>>>
amandad: time 0.001: creating new service: noop
OPTIONS features=fffffeff9ffeffffff7f;

amandad: time 0.002: sending ACK pkt:
<<<<<
>>>>>
amandad: time 0.002: dgram_send_addr(addr=0x8052a08, dgram=0xb7ead284)
amandad: time 0.002: (sockaddr_in *)0x8052a08 = { 2, 897, 172.16.2.71 }
amandad: time 0.002: dgram_send_addr: 0xb7ead284->socket = 0
amandad: time 0.003: sending REP pkt:
<<<<<
OPTIONS features=ffffffff9ffeffffffff00;
>>>>>
amandad: time 0.003: dgram_send_addr(addr=0x8052a08, dgram=0xb7ead284)
amandad: time 0.003: (sockaddr_in *)0x8052a08 = { 2, 897, 172.16.2.71 }
amandad: time 0.003: dgram_send_addr: 0xb7ead284->socket = 0
amandad: time 0.012: dgram_recv(dgram=0xb7ead284, timeout=0, fromaddr=0xb7ebd270)
amandad: time 0.012: (sockaddr_in *)0xb7ebd270 = { 2, 897, 172.16.2.71 }
amandad: time 0.012: received ACK pkt:
<<<<<
>>>>>
amandad: time 0.012: security_close(handle=0x80529e8, driver=0xb7eab2e0 (BSD))
amandad: time 0.031: dgram_recv(dgram=0xb7ead284, timeout=0, fromaddr=0xb7ebd270)
amandad: time 0.031: (sockaddr_in *)0xb7ebd270 = { 2, 897, 172.16.2.71 }
amandad: time 0.031: security_handleinit(handle=0x80529c0, driver=0xb7eab2e0 (BSD))
amandad: time 0.032: accept recv REQ pkt:
<<<<<
SERVICE sendsize
OPTIONS features=fffffeff9ffeffffff7f;maxdumps=1;hostname= cuttingroom;config=DailySet1;
DUMP /dev/sda1 0 1970:1:1:0:0:0 -1 OPTIONS |;auth=BSD;compress-best;index;
>>>>>
amandad: time 0.032: creating new service: sendsize
OPTIONS features=fffffeff9ffeffffff7f;maxdumps=1;hostname= cuttingroom;config=DailySet1;
DUMP /dev/sda1 0 1970:1:1:0:0:0 -1 OPTIONS |;auth=BSD;compress-best;index;

amandad: time 0.032: sending ACK pkt:
<<<<<
>>>>>
amandad: time 0.032: dgram_send_addr(addr=0x80529e0, dgram=0xb7ead284)
amandad: time 0.032: (sockaddr_in *)0x80529e0 = { 2, 897, 172.16.2.71 }
amandad: time 0.032: dgram_send_addr: 0xb7ead284->socket = 0
amandad: time 0.033: sending REP pkt:
<<<<<
>>>>>
amandad: time 0.033: dgram_send_addr(addr=0x80529e0, dgram=0xb7ead284)
amandad: time 0.033: (sockaddr_in *)0x80529e0 = { 2, 897, 172.16.2.71 }
amandad: time 0.033: dgram_send_addr: 0xb7ead284->socket = 0
amandad: time 0.034: dgram_recv(dgram=0xb7ead284, timeout=0, fromaddr=0xb7ebd270)
amandad: time 0.034: (sockaddr_in *)0xb7ebd270 = { 2, 897, 172.16.2.71 }
amandad: time 0.034: received ACK pkt:
<<<<<
>>>>>
amandad: time 0.034: security_close(handle=0x80529c0, driver=0xb7eab2e0 (BSD))
amandad: time 30.034: pid 10077 finish time Wed Jul 9 10:04:52 2008



just for grins I ran

$ /sbin/dump 0SS /dev/sda1
3290419200

as amanda on the debian system and it seems to work.

I did have to make use amanda an alias for user backup since the debian install seems to default to user backup but my server uses user amanda


ADVthanksANCE

 

 

 

 

____________________

Jeremy Mordkoff

ZeeVee, Inc. (formerly Zazzle Technologies, Inc.)

1 Monarch Drive, suite 200

Littleton, MA 01460

978-467-1395 x233