Hello!
I am running Debian testing. Upon initial upgrade to 2.5.1p1, amanda
would not get ACKs from any machines. I ended up downloading a new
amanda 2.5.1p1 debian package and reinstalling. I now have no problems
getting to Linux machines, but am unable to reach windows machines via
samba.
As user backup, I am able to /usr/bin/smbclient //winpc/share.
Any help would be appreciated. Thanks!
Information that may be pertinent follows:
$ amcheck -c daily
Amanda Backup Client Hosts Check
--------------------------------
WARNING: winpc.mydomain.com: selfcheck request failed: timeout waiting
for ACK
Client check: 1 host checked in 30.013 seconds, 1 problem found
(brought to you by Amanda 2.5.1p1)
--------------
amcheck.debug:
--------------
amcheck: debug 1 pid 18122 ruid 34 euid 0: start at Thu Dec 7 14:02:18 2006
amcheck: debug 1 pid 18122 ruid 34 euid 34: rename at Thu Dec 7
14:02:18 2006
security_getdriver(name=BSD) returns 0xa7f110e0
security_handleinit(handle=0x8057380, driver=0xa7f110e0 (BSD))
amcheck-clients: time 0.003: bind_portrange2: Try port 852: Available
- Success
amcheck-clients: time 0.004: dgram_bind: socket bound to 0.0.0.0.852
amcheck-clients: dgram_send_addr(addr=0xafcc65e0, dgram=0xa7f12084)
amcheck-clients: time 0.006: (sockaddr_in *)0xafcc65e0 = { 2, 10080,
192.168.1.3 }
amcheck-clients: dgram_send_addr: 0xa7f12084->socket = 3
amcheck-clients: dgram_send_addr(addr=0xafcc64d0, dgram=0xa7f12084)
amcheck-clients: time 10.010: (sockaddr_in *)0xafcc64d0 = { 2, 10080,
192.168.1.3 }
amcheck-clients: dgram_send_addr: 0xa7f12084->socket = 3
amcheck-clients: dgram_send_addr(addr=0xafcc64d0, dgram=0xa7f12084)
amcheck-clients: time 20.014: (sockaddr_in *)0xafcc64d0 = { 2, 10080,
192.168.1.3 }
amcheck-clients: dgram_send_addr: 0xa7f12084->socket = 3
security_seterror(handle=0x8057380, driver=0xa7f110e0 (BSD)
error=timeout waiting for ACK)
security_close(handle=0x8057380, driver=0xa7f110e0 (BSD))
amcheck: pid 18122 finish time Thu Dec 7 14:02:48 2006
--------------
amandad.debug:
--------------
amandad: debug 1 pid 14843 ruid 34 euid 34: start at Thu Dec 7 03:07:18
2006
security_getdriver(name=BSD) returns 0xa7fb20e0
amandad: version 2.5.1p1
amandad: build: VERSION="Amanda-2.5.1p1"
amandad: BUILT_DATE="Sun Oct 29 11:43:25 MST 2006"
amandad: BUILT_MACH="Linux rover 2.6.18-1-686 #1 SMP Fri Sep 29
16:25:40 UTC 2006 i686 GNU/Linux"
amandad: CC="gcc" CONFIGURE_COMMAND="'./configure' 'linux' 'gnu'"
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"
-----------
amandapass:
-----------
//winpc/share backup%password
---------
disklist:
---------
winpc.mydomain.com //winpc/share samba
------------
amanda.conf:
------------
#
# Amanda configuration file for daily backups.
#
org "daily" # your organization name for reports
mailto "me AT mydomain DOT com"
dumpuser "backup"
dumpcycle 7 days # the number of days in the normal dump cycle
runspercycle 5 # the number of amdump runs in dumpcycle days
# (7 days * 1 amdump per day -- just weekdays)
tapecycle 10 tapes # the number of tapes in rotation
# 7 days (dumpcycle) plus a few to handle errors
that
# need amflush and so we do not overwrite the full
# backups performed at the beginning of the previous
# cycle
bumpsize 20 Mb # minimum savings (threshold) to bump level 1 -> 2
bumpdays 1 # minimum days at each level
bumpmult 4 # threshold = bumpsize * bumpmult^(level-1)
ctimeout 15
tpchanger "chg-disk"
changerfile "/etc/amanda/chg-disk-status"
tapedev "file:/backups"
rawtapedev "/dev/null" # the raw device to be used (Linux ftape only)
tapetype HARD-DISK
labelstr "^DAILY[0-9][0-9]*$" # label constraint regex
# var files
infofile "/etc/amanda/daily/curinfo" # database DIRECTORY
logdir "/etc/amanda/daily/" # log directory
indexdir "/etc/amanda/daily/index" # index directory
tapelist "/etc/amanda/daily/tapelist" # tapelist file
# disklist
diskfile "/etc/amanda/disklist"
# default dumptype settings
define dumptype global {
comment "Global definitions"
index yes
comprate 0.40 0.40
}
define dumptype root-tar {
global
program "GNUTAR"
comment "root partitions dumped with tar"
compress none
index
# exclude list "/etc/amanda/exclude.gtar"
priority low
}
define dumptype samba {
global
program "GNUTAR"
comment "PC drives dumped via Samba"
compress client fast
index
}
define tapetype HARD-DISK {
comment "Dump onto hard disk"
length 60086 mbytes
}
|