Package: amanda-client
Version: 2.5.1p1-2.1

Hello.  I have an amanda setup that has been running fine.  After
upgrading two of my amanda clients to etch, both of them no longer back
up.  According to amcheck on the amanda server, the clients are fine.
But when it comes time to do a backup, the server reports:

CLIENT_NAME / lev 0 FAILED [missing result for / in CLIENT_NAME
response]

where CLIENT_NAME is the dns name of my amanda client.  The amanda
server is running version 2.4.1 on SunOS 5.7.  According to
http://wiki.zmanda.com/index.php/Version_compatibility, an amanda 2.4
server should be able to back up an amanda 2.5 client.

On the client, /var/log/amanda/client/sendsize.XXX.debug contains:

sendsize: debug 1 pid 27036 ruid 34 euid 34: start at Wed Apr 18
23:00:02 2007
sendsize: version 2.5.1p1
Reading conf file "/etc/amanda/amanda-client.conf".

That's all - just those three lines.  It originally complained about not
being able to read the amanda-client.conf, so I created an empty one.  I
also tried creating one with some valid options with the same result.

I tried creating an empty /var/lib/dumpdates, but that did not help
either.  I have also installed the latest client available in debian -
version 2.5.1p3-2.  It also segfaults in about the same place in
sendsize.  So backups on etch are not working for me right now.

Both clients are running debian etch 
# uname -a
Linux CLIENT_NAME 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686
GNU/Linux

One amanda client - tried latest version:
# dpkg -l amanda-client | grep ii
ii  amanda-client  2.5.1p3-2      Advanced Maryland Automatic Network
Disk Archiver (Client)

# ldd /usr/lib/amanda/sendsize
        linux-gate.so.1 =>  (0xffffe000)
        libamclient-2.5.1p3.so => /usr/lib/libamclient-2.5.1p3.so
(0xb7f9f000)
        libamandad-2.5.1p3.so => /usr/lib/libamandad-2.5.1p3.so
(0xb7f9c000)
        libamanda-2.5.1p3.so => /usr/lib/libamanda-2.5.1p3.so
(0xb7f4c000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f27000)
        libreadline.so.5 => /lib/libreadline.so.5 (0xb7ef7000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb7eb6000)
        libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7ea0000)
        libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb7e8d000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d5b000)
        /lib/ld-linux.so.2 (0xb7fb8000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7d57000)

The other amanda client - normal etch version:
# dpkg -l amanda-client | grep ii
ii  amanda-client  2.5.1p1-2.1    Advanced Maryland Automatic Network
Disk Archiver (Client)

# ldd /usr/lib/amanda/sendsize
        linux-gate.so.1 =>  (0xffffe000)
        libamclient-2.5.1p1.so => /usr/lib/libamclient-2.5.1p1.so
(0xb7f85000)
        libamandad-2.5.1p1.so => /usr/lib/libamandad-2.5.1p1.so
(0xb7f82000)
        libamanda-2.5.1p1.so => /usr/lib/libamanda-2.5.1p1.so
(0xb7f32000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f0d000)
        libreadline.so.5 => /lib/libreadline.so.5 (0xb7edd000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb7e9c000)
        libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7e86000)
        libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb7e73000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d41000)
        /lib/ld-linux.so.2 (0xb7f96000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7d3d000)



-------------------------------------------
End of an strace of sendsize :
-------------------------------------------
geteuid32()                             = 34
getuid32()                              = 34
getpid()                                = 5133
write(10, "sendsize: debug 1 pid 5133 ruid "..., 78) = 78
gettimeofday({1177005306, 515708}, {240, 0}) = 0
write(10, "sendsize: version 2.5.1p1\n", 26) = 26
open("/etc/amanda/amanda-client.conf", O_RDONLY|O_LARGEFILE) = 3
write(10, "Reading conf file \"/etc/amanda/a"..., 52) = 52
fstat64(3, {st_mode=S_IFREG|0644, st_size=82, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fcc000
read(3, "index_server\t\"THE.AMANDA.SERVER"..., 4096) = 82
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7fcc000, 4096)                = 0
access("/var/lib/amanda/amandates", F_OK) = 0
open("/var/lib/amanda/amandates", O_RDONLY|O_LARGEFILE) = 3
fcntl64(3, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0},
0xb7f8f038) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=60, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fcc000
read(3, "/ 0 1176357622\n/ 1 1175922354\n/ "..., 4096) = 60
stat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/proc/mounts", O_RDONLY)          = 4
open("/etc/mtab", O_RDONLY)             = 5
open("/etc/fstab", O_RDONLY)            = 6
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fcb000
read(4, "rootfs / rootfs rw 0 0\nnone /sys"..., 1024) = 358
stat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("rootfs", 0xbfd280fc)            = -1 ENOENT (No such file or
directory)
stat64("rootfs", 0xbfd27edc)            = -1 ENOENT (No such file or
directory)
stat64("rootfs", 0xbfd2809c)            = -1 ENOENT (No such file or
directory)
stat64("/sys", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
stat64("none", 0xbfd280fc)              = -1 ENOENT (No such file or
directory)
stat64("none", 0xbfd27edc)              = -1 ENOENT (No such file or
directory)
stat64("none", 0xbfd2809c)              = -1 ENOENT (No such file or
directory)
stat64("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
stat64("none", 0xbfd280fc)              = -1 ENOENT (No such file or
directory)
stat64("none", 0xbfd27edc)              = -1 ENOENT (No such file or
directory)
stat64("none", 0xbfd2809c)              = -1 ENOENT (No such file or
directory)
stat64("/dev", {st_mode=S_IFDIR|0755, st_size=3780, ...}) = 0
stat64("udev", 0xbfd280fc)              = -1 ENOENT (No such file or
directory)
stat64("udev", 0xbfd27edc)              = -1 ENOENT (No such file or
directory)
stat64("udev", 0xbfd2809c)              = -1 ENOENT (No such file or
directory)
stat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/dev/hda1", {st_mode=S_IFBLK|0660, st_rdev=makedev(3, 1), ...})
= 0
stat64("/dev/hda1", {st_mode=S_IFBLK|0660, st_rdev=makedev(3, 1), ...})
= 0
stat64("/dev/rhda1", 0xbfd27edc)        = -1 ENOENT (No such file or
directory)
stat64("/dev/hda1", {st_mode=S_IFBLK|0660, st_rdev=makedev(3, 1), ...})
= 0
close(4)                                = 0
munmap(0xb7fcb000, 4096)                = 0
close(5)                                = 0
close(6)                                = 0
stat64("/dev/hda1", {st_mode=S_IFBLK|0660, st_rdev=makedev(3, 1), ...})
= 0
stat64("/dev/rhda1", 0xbfd2815c)        = -1 ENOENT (No such file or
directory)
open("/var/lib/dumpdates", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
file or directory)
read(3, "", 4096)                       = 0
fstat64(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fcb000
read(0, "OPTIONS maxdumps=1;hostname=cele"..., 4096) = 118
fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fca000
write(1, "OPTIONS \n", 9) = 9
--- SIGSEGV (Segmentation fault) @ 0 (0) ---

Let me know if you need any other info.  Thanks!

Jason

Reply via email to