Amanda-Users

extract_list - child returned non-zero status: 1

2004-03-25 08:25:12
Subject: extract_list - child returned non-zero status: 1
From: "edwin valencia" <kapachov AT latinmail DOT com>
To: "amanda-users AT amanda DOT org" <amanda-users AT amanda DOT org>
Date: Thu, 25 Mar 2004 08:23:14 -0500 (EST)
Hi my friends... :-) 

I configured amanda tapeless...

but I can't recover my backups when I run as 'root' I get the following 
messages :

--
[root@servidor-backup recover]# cd /tmp/recover
[root@servidor-backup recover]# amrecover DailySet1
AMRECOVER Version 2.4.2p2-tapeio. Contacting server on servidor-backup ..
220 servidor-backup AMANDA index server (2.4.2p2-tapeio) ready.
200 Access OK
Setting restore date to today (2004-03-25)
200 Working date set to 2004-03-25.
200 Config set to DailySet1.
200 Dump host set to servidor-backup.
Trying disk / ...
Trying disk rootfs ...
Can't determine disk and mount point from $CWD '/tmp/recover'
amrecover> sethost nucleo0
200 Dump host set to nucleo0.
amrecover> setdisk /home
Scanning /var/tmp...
200 Disk set to /home.
add amrecover> .amandahosts
Added /.amandahosts
amrecover> extract
amrecover: warning: using /dev/null as the tape device will not work

Extracting files using tape drive /dev/null on host servidor-backup.
The following tapes are needed: DailySet101

Restoring files into directory /tmp/recover
Continue? [Y/n]: Y

Load tape DailySet101 now
Continue? [Y/n]: Y
EOF, check amidxtaped.debug file on servidor-backup.
amrecover: short block 0 bytes
UNKNOWN file
amrecover: Can't read file header
extract_list - child returned non-zero status: 1
Continue? [Y/n]:Y
amrecover> quit
200 Good bye.
[root@servidor-backup recover]# ls
[root@servidor-backup recover]#
[root@servidor-backup recover]# cd ../amanda
[root@servidor-backup amanda]# cat amidxtaped.20040325133627.debug
amidxtaped: debug 1 pid 3395 ruid 33 euid 33 start time Thu Mar 25 13:36:27 2004
amidxtaped: version 2.4.2p2-tapeio
> SECURITY USER root
bsd security: remote host servidor-backup user root local user amanda
amandahosts security check passed
> 6
amrestore_nargs=6
> -h
> -p
> /dev/null
> nucleo0
> ^/home$
> 20040325
Ready to execv amrestore with:
path = /usr/local/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-h"
argv[2] = "-p"
argv[3] = "/dev/null"
argv[4] = "nucleo0"
argv[5] = "^/home$"
argv[6] = "20040325"
amrestore: WARNING: not at start of tape, file numbers will be offset
amrestore:   0: reached end of information
amidxtaped: amrestore terminated normally with status: 1
Rewinding tape: tape_rewind: rewinding tape: /dev/null: Inappropriate ioctl for 
device
amidxtaped: pid 3395 finish time Thu Mar 25 13:36:57 2004
--

does anybody know what the problem is?
any suggestion? 

---
thanks for the attention lent... 


http://www.latinmail.com - La forma más cómoda de enviar y recibir tus e-mails
<Prev in Thread] Current Thread [Next in Thread>