Gerhard den Hollander wrote:

> * Sebastian Frankfurt <[EMAIL PROTECTED]> (Tue, Jan 30, 2001 at 10:27:41AM +0100)
> 
>> Mack Earnhardt wrote:
>> 
>> 
>>> I was getting connection refused on amrecover for a while.  The 
>>> ..amandahosts file allowed access to root@localhost, but amrecover would 
>>> use root@servername and fail.  My solution was to use the server name 
>>> explicitly in both .amandahosts and disklist.
>>> 
>>> Hope this help one of your problems. :)
>> 
>> Well thanx for the tip, but it doesn't matter, what I put into
>> the .amandahosts because the error I get is:
>> 
>>    AMRECOVER Version 2.4.1p1. Contacting server on localhost ...
>>    amrecover: Unexpected server end of file
> 
> 
> Did you check the files in /tmp/amanda 
> (on server and client) ?

I have had a look at them.... don't see anything wrong :-(


amrecover:

   amrecover: debug 1 pid 1554 ruid 0 euid 0 start time Tue Jan 30 
10:28:33 2001
   Error connecting to server
   amrecover: pid 1554 finish time Tue Jan 30 10:28:33 2001




I will attach all /tmp/amanda files.

thanx,

Sebastian

PS: rsh commands works properly for root and operator

amandad: debug 1 pid 1495 ruid 11 euid 11 start time Tue Jan 30 10:25:31 2001
amandad: version 2.4.1p1
amandad: build: VERSION="Amanda-2.4.1p1"
amandad:        BUILT_DATE="Mon Aug 21 16:31:37 EDT 2000"
amandad:        BUILT_MACH="Linux porky.devel.redhat.com 2.2.5-22smp #1 SMP Wed Jun 2 
09:11:51 EDT 1999 i686 unknown"
amandad:        CC="gcc"
amandad: paths: bindir="/usr/bin" sbindir="/usr/sbin"
amandad:        libexecdir="/usr/lib/amanda" mandir="/usr/share/man"
amandad:        CONFIG_DIR="/etc/amanda" DEV_PREFIX="/dev/"
amandad:        RDEV_PREFIX="/dev/r" DUMP="/sbin/dump"
amandad:        RESTORE="/sbin/restore" SAMBA_CLIENT="/usr/bin/smbclient"
amandad:        GNUTAR="/bin/tar" COMPRESS_PATH="/usr/bin/gzip"
amandad:        UNCOMPRESS_PATH="/usr/bin/gzip" 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"
amandad:        DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP HAVE_SYSVSHM
amandad:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE BSD_SECURITY
amandad:        USE_AMANDAHOSTS CLIENT_LOGIN="operator" FORCE_USERID
amandad:        HAVE_GZIP COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
got packet:
--------
Amanda 2.4 REQ HANDLE 000-90D50508 SEQ 980846701
SECURITY USER operator
SERVICE sendbackup
OPTIONS hostname=localhost;
GNUTAR /etc 1 2001:1:27:2:25:7 OPTIONS 
|;bsd-auth;compress-fast;index;exclude-list=/usr/local/lib/amanda/exclude.gtar;
--------

sending ack:
----
Amanda 2.4 ACK HANDLE 000-90D50508 SEQ 980846701
----

bsd security: remote host localhost user operator local user operator
amandahosts security check passed
amandad: running service "/usr/lib/amanda/sendbackup"
amandad: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-90D50508 SEQ 980846701
CONNECT DATA 1297 MESG 1298 INDEX 1299
OPTIONS ;compress-fast;bsd-auth;index;exclude-list=/usr/local/lib/amanda/exclude.gtar;
----

amandad: got ack:
----
Amanda 2.4 ACK HANDLE 000-90D50508 SEQ 980846701
----

amandad: pid 1495 finish time Tue Jan 30 10:25:31 2001
amrecover: debug 1 pid 1639 ruid 0 euid 0 start time Tue Jan 30 10:59:36 2001
Error connecting to server
amrecover: pid 1639 finish time Tue Jan 30 10:59:36 2001
amtrmidx: debug 1 pid 1541 ruid 11 euid 11 start time Tue Jan 30 10:25:32 2001
/usr/lib/amanda/amtrmidx: version 2.4.1p1
Keeping 26 index files
localhost /etc
amtrmidx: pid 1541 finish time Tue Jan 30 10:25:40 2001
killpgrp: debug 1 pid 2007 ruid 11 euid 0 start time Sat Jan 27 03:16:49 2001
/usr/lib/amanda/killpgrp: version 2.4.1p1
sending SIGTERM to process group 2007
child process exited with status 3
runtar: debug 1 pid 1500 ruid 11 euid 0 start time Tue Jan 30 10:25:31 2001
gtar: version 2.4.1p1
running: /bin/tar: gtar --create --directory /etc --listed-incremental 
/var/lib/amanda/gnutar-lists/localhost_etc_1.new --sparse --one-file-system 
--ignore-failed-read --totals --file - . 
selfcheck: debug 1 pid 1453 ruid 11 euid 11 start time Tue Jan 30 10:20:01 2001
/usr/lib/amanda/selfcheck: version 2.4.1p1
checking disk /etc: device /etc: OK
selfcheck: pid 1453 finish time Tue Jan 30 10:20:01 2001
sendbackup: debug 1 pid 1496 ruid 11 euid 11 start time Tue Jan 30 10:25:31 2001
/usr/lib/amanda/sendbackup: got input request: GNUTAR /etc 1 2001:1:27:2:25:7 OPTIONS 
|;bsd-auth;compress-fast;index;exclude-list=/usr/local/lib/amanda/exclude.gtar;
  parsed request as: program `GNUTAR' disk `/etc' lev 1 since 2001:1:27:2:25:7 opt 
`|;bsd-auth;compress-fast;index;exclude-list=/usr/local/lib/amanda/exclude.gtar;'
sendbackup: exclude list file "/usr/local/lib/amanda/exclude.gtar" does not exist, 
ignoring
  waiting for connect on 1297, then 1298, then 1299
  got all connections
sendbackup: spawning "/usr/bin/gzip" in pipeline
sendbackup: argument list: "/usr/bin/gzip" "--fast"
sendbackup-gnutar: pid 1498: /usr/bin/gzip --fast
sendbackup: doing level 1 dump as listed-incremental from 
/var/lib/amanda/gnutar-lists/localhost_etc_0, updating to 
/var/lib/amanda/gnutar-lists/localhost_etc_1.new
sendbackup: doing level 1 dump from date: 2001-01-27  2:25:07 GMT
sendbackup: spawning "/usr/lib/amanda/runtar" in pipeline
sendbackup: argument list: "gtar" "--create" "--directory" "/etc" 
"--listed-incremental" "/var/lib/amanda/gnutar-lists/localhost_etc_1.new" "--sparse" 
"--one-file-system" "--ignore-failed-read" "--totals" "--file" "-" "."
sendbackup-gnutar: pid 1500: /usr/lib/amanda/runtar --create --directory /etc 
--listed-incremental /var/lib/amanda/gnutar-lists/localhost_etc_1.new --sparse 
--one-file-system --ignore-failed-read --totals --file - .
sendbackup: started index creator: "/bin/tar -tf - 2>/dev/null | sed -e 's/^\.//'"
sendbackup: index created successfully
sendbackup: pid 1497 finish time Tue Jan 30 10:25:32 2001
sendsize: debug 1 pid 1492 ruid 11 euid 11 start time Tue Jan 30 10:25:01 2001
/usr/lib/amanda/sendsize: version 2.4.1p1
calculating for amname '/etc', dirname '/etc'
sendsize: getting size via gnutar for /etc level 0
sendsize: missing exclude list file "/usr/local/lib/amanda/exclude.gtar" discarded
sendsize: running "/usr/lib/amanda/runtar --create --directory /etc 
--listed-incremental /var/lib/amanda/gnutar-lists/localhost_etc_0.new --sparse 
--one-file-system --ignore-failed-read --totals --file /dev/null ."
Total bytes written: 7137280 (6.8MB, 1.4MB/s)
.....
sendsize: getting size via gnutar for /etc level 1
sendsize: missing exclude list file "/usr/local/lib/amanda/exclude.gtar" discarded
sendsize: running "/usr/lib/amanda/runtar --create --directory /etc 
--listed-incremental /var/lib/amanda/gnutar-lists/localhost_etc_1.new --sparse 
--one-file-system --ignore-failed-read --totals --file /dev/null ."
Total bytes written: 317440 (310kB, ?B/s)
.....
sendsize: pid 1492 finish time Tue Jan 30 10:25:07 2001

Reply via email to