Amanda-Users

Re: Configuration for Windows PC client

2005-10-14 14:28:59
Subject: Re: Configuration for Windows PC client
From: Chris Jones <chris-jones AT zen.co DOT uk>
To: Paul Bijnens <paul.bijnens AT xplanation DOT com>
Date: Fri, 14 Oct 2005 19:16:57 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Bijnens wrote:

> Maybe the "password" contains some invalid characters (valid for
> Windows, but not valid for the parser that parses the file above),
> like a space or a percent sign?

The password in /etc/amandpass only contains alpha characters in the
range a..z.

> Whatever I try, amcheck also fails when I mess up the
> /etc/amandapass file. What is the complete output of "amcheck"?

The output received from the amcheck operation last night is:-

Amanda Tape Server Host Check
- -----------------------------
Holding disk /var/tmp: 109825264 kB disk space available, that's plenty
amcheck-server: slot 15: date X        label gandalf15 (new tape)
NOTE: skipping tape-writable test
Tape gandalf15 label ok
NOTE: info dir
/var/lib/amanda/gandalf/curinfo/bilbo.stow-jones.local/__gandalf_DocSetts:
does not exist
NOTE: it will be created on the next run.
Server check took 0.218 seconds

Amanda Backup Client Hosts Check
- --------------------------------
ERROR: bilbo.stow-jones.local: [samba access error:
//gandalf/DocSetts: Error connecting to 192.168.0.2 (Permission
denied): Connection to gandalf failed: returned 1]
Client check: 1 host checked in 0.259 seconds, 1 problem found

(brought to you by Amanda 2.4.5)

... and the log output  in /var/log/amanda/selfcheck.20051014030101.debug
selfcheck: debug 1 pid 15314 ruid 33 euid 33: start at Fri Oct 14
03:01:01 2005
/usr/lib/amanda/selfcheck: version 2.4.5
selfcheck: time 0.000: checking disk //gandalf/DocSetts
selfcheck: time 0.041: spawning /usr/bin/smbclient in pipeline
selfcheck: argument list: smbclient \\gandalf\DocSetts -U chris -E -W
TELESPAN -c quit
selfcheck: time 0.219: samba access error: //gandalf/DocSetts: Error
connecting to 192.168.0.2 (Permission denied): Connection to gandalf
failed: returned 1
selfcheck: time 0.220: pid 15314 finish time Fri Oct 14 03:01:01 2005

final section of /var/log/amanda/amandad.20051014031101000.debug
amandad: time 1202.032: sending REP packet:
- ----
Amanda 2.4 REP HANDLE 000-48E40F08 SEQ 1129255862
OPTIONS features=fffffeff9ffe7f;
//gandalf/DocSetts 0 SIZE -1
- ----

amandad: time 1212.030: dgram_recv: timeout after 10 seconds
amandad: time 1212.030: waiting for ack: timeout, retrying
amandad: time 1222.028: dgram_recv: timeout after 10 seconds
amandad: time 1222.028: waiting for ack: timeout, retrying
amandad: time 1232.026: dgram_recv: timeout after 10 seconds
amandad: time 1232.026: waiting for ack: timeout, retrying
amandad: time 1242.024: dgram_recv: timeout after 10 seconds
amandad: time 1242.024: waiting for ack: timeout, retrying
amandad: time 1252.021: dgram_recv: timeout after 10 seconds
amandad: time 1252.021: waiting for ack: timeout, giving up!
amandad: time 1252.021: pid 15443 finish time Fri Oct 14 03:31:53 2005

...and finally, /var/log/amanda/sendsize.20051014031101.debug
sendsize: debug 1 pid 15462 ruid 33 euid 33: start at Fri Oct 14
03:11:01 2005
sendsize: version 2.4.5
sendsize[15800]: time 1201.915: calculating for amname
'//gandalf/DocSetts', dirname '//gandalf/DocSetts', spindle -1
sendsize[15800]: time 1201.915: getting size via smbclient for
//gandalf/DocSetts level 0
sendsize[15800]: time 1201.915: spawning /usr/bin/smbclient in pipeline
sendsize[15800]: argument list: smbclient \\gandalf\DocSetts -d 0 -U
chris -E -W TELESPAN -c "archive 0;recurse;du"
sendsize[15462]: time 1201.919: waiting for any estimate child: 1 running
sendsize[15800]: time 1201.957: Connection to gandalf failed
sendsize[15800]: time 1201.958: .....
sendsize[15800]: estimate time for //gandalf/DocSetts level 0: 0.042
sendsize[15800]: no size line match in /usr/bin/smbclient output for
"//gandalf/DocSetts"
sendsize[15800]: .....
sendsize[15800]: estimate size for //gandalf/DocSetts level 0: -1 KB
sendsize[15800]: time 1201.958: waiting for /usr/bin/smbclient
"//gandalf/DocSetts" child
sendsize[15800]: time 1201.958: after /usr/bin/smbclient
"//gandalf/DocSetts" wait
sendsize[15800]: time 1201.958: done with amname '//gandalf/DocSetts',
dirname '//gandalf/DocSetts', spindle -1
sendsize[15462]: time 1201.958: child 15800 terminated normally
sendsize: time 1201.958: pid 15462 finish time Fri Oct 14 03:31:03 2005

- --
mailto:chris-jones AT zen.co DOT uk
        He's back. And this time he's got a chainsaw.

    - Al Viro announcing per-process namespaces on lkml
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDT/YZ6X9KqRmbBqERAnTiAKCOf8B8z0lxJe95SMgmncPcSYgF2QCeNPh9
Hj4BVhjlNbOxBK2WY46Br2M=
=iyLr
-----END PGP SIGNATURE-----