Amanda-Users

RE: amrecover: Can't read file header

2003-03-20 04:17:16
Subject: RE: amrecover: Can't read file header
From: Francisco de Asís Miralles Argente <francisco.miralles AT eurociber DOT es>
To: <amanda-users AT amanda DOT org>
Date: Thu, 20 Mar 2003 09:03:35 +0100
Yes, that's the frist thing I prove... Something like  settape
localhost:euxxxx.xxd:/path/to/my/virtual/tapeNN.


Any ideas?

Thanks

-----Mensaje original-----
De: owner-amanda-users AT amanda DOT org [mailto:owner-amanda-users AT amanda 
DOT org]
En nombre de Jean-Louis Martineau
Enviado el: miércoles, 19 de marzo de 2003 3:34
Para: Francisco de Asís Miralles Argente
CC: amanda-users AT amanda DOT org
Asunto: Re: amrecover: Can't read file header


Hi,

You did you set your tapedrive to euxxxx.xxd:DailySet103 ?

It should be something like /dev/nst0

Jean-Louis


On Tue, Mar 18, 2003 at 06:47:08AM +0100, Francisco de Asís Miralles
Argente wrote:
> Hello, i'm newbie using amanda.
> I'm trying start to run a tapeless configuration wich I finded in this

> mailing list. I can make the backup for linux a windows (using SAMBA) 
> machines but I can't recover any file so I get this message always:
> 
> 
> 
> Extracting files using tape drive euxxxx.xxd:DailySet103 on host 
> localhost. Load tape DailySet103 now Continue [?/Y/n/t]? EOF, check 
> amidxtaped.debug file on localhost.
> amrecover: short block 0 bytes
> UNKNOWN file
> amrecover: Can't read file header
> extract_list - child returned non-zero status: 1
> 
> 
> _________________________________________________________________
> amidxtaped.XXXXXXXX.debug
> amidxtaped: debug 1 pid 3318 ruid 34 euid 34: start at Mon Mar 17 
> 10:55:02 2003
> amidxtaped: version 2.4.3
> amidxtaped: time 0.000: > SECURITY USER root
> amidxtaped: time 0.000: bsd security: remote host localhost user root 
> local user backup
> amidxtaped: time 0.001: amandahosts security check passed
> amidxtaped: time 0.001: > 6
> amidxtaped: time 0.001: amrestore_nargs=6
> amidxtaped: time 0.001: > -h
> amidxtaped: time 0.001: > -p
> amidxtaped: time 0.001: > exxxxx.xxd:DailySet103
> amidxtaped: time 0.001: > ^localhost$
> amidxtaped: time 0.001: > ^//sambapc/sharedfolder$
> amidxtaped: time 0.001: > 20030317
> amidxtaped: time 0.001: Ready to execv amrestore with:
> path = /usr/local/sbin/amrestore
> argv[0] = "amrestore"
> argv[1] = "-h"
> argv[2] = "-p"
> argv[3] = "exxxxx.xxd:DailySet103"
> argv[4] = "^localhost$"
> argv[5] = "^//sambapc/sharedfolder$"
> argv[6] = "20030317"
> amrestore: could not stat exxxxx.xxd:DailySet103
> amidxtaped: time 0.004: amrestore terminated normally with status: 2
> amidxtaped: could not stat eurociber.vsd:DailySet103
> amidxtaped: time 0.004: could not stat eurociber.vsd:DailySet103
> amidxtaped: time 0.004: pid 3318 finish time Mon Mar 17 10:55:02 2003 
> _____________________________________________________________________
> amindexd.xxxxxxxxxx.debug
> amindexd: debug 1 pid 3313 ruid 34 euid 34: start at Mon Mar 17 
> 10:54:11 2003
> amindexd: version 2.4.3
> amindexd: time 0.000: < 220 backserver AMANDA index server (2.4.3) 
> ready.
> amindexd: time 0.001: > SECURITY USER root
> amindexd: time 0.001: bsd security: remote host backserver user root 
> local user backup
> amindexd: time 0.001: amandahosts security check passed
> amindexd: time 0.002: < 200 Access OK
> amindexd: time 0.039: > DATE 2003-03-17
> amindexd: time 0.039: < 200 Working date set to 2003-03-17.
> amindexd: time 0.079: > SCNF DailySet1
> amindexd: time 0.080: < 200 Config set to DailySet1.
> amindexd: time 0.119: > HOST backserver
> amindexd: time 0.119: < 501 No index records for host: backserver. 
> Invalid?
> amindexd: time 0.159: > HOST backserver
> amindexd: time 0.159: < 501 No index records for host: backserver. 
> Invalid?
> amindexd: time 7.908: > HOST localhost
> amindexd: time 7.909: < 200 Dump host set to localhost.
> amindexd: time 18.528: > DISK //sambapc/sharedfolder
> amindexd: time 18.529: - 2003-03-17 0 DailySet103 1
> amindexd: time 18.529: < 200 Disk set to //sambapc/sharedfolder.
> amindexd: time 18.568: > OISD /
> amindexd: time 18.568: uncompress command: /bin/gzip -dc '/xxxxxxxx'
> 2>/dev/null | sort > '/xxxxxxxxxxxxx/20030317_0'
> amindexd: time 18.578: f /xxxxxxxxxxxxx/20030317_0
> amindexd: time 18.579: < 200 "/" is a valid directory
> amindexd: time 18.618: > OLSD /
> amindexd: time 18.618: < 200- Opaque list of /
> [...]
> amindexd: time 18.619: < 200 Opaque list of /
> amindexd: time 55.038: ? unexpected EOF
> amindexd: time 55.038: removing index file: /xxxxxxxxxxxxx/20030317_0
> amindexd: time 55.039: pid 3313 finish time Mon Mar 17 10:55:06 2003 
> _____________________________________________________________________
> amrecover.xxxxxxxxx.debug
> 
> amrecover: debug 1 pid 3312 ruid 0 euid 0: start at Mon Mar 17 
> 10:54:11 2003
> amrecover: stream_client_privileged: connected to 193.127.3.8.10082
> amrecover: stream_client_privileged: our side is 0.0.0.0.563 
> [............] add_glob (exxxxx.xxd) -> ^exxxxx\.xxd$
> add_file: Looking for "exxxxx\.xxd[/]*$"
> add_file: Converted path="exxxxx\.xxd[/]*$" to
> path_on_disk="/exxxxx\.xxd[/]*$"
> add_file: Pondering ditem->path="/xxxxxxxxxxxxxxxxxxxxxxxx.vvv"
> [............]
> add_file: (Successful) Added /exxxxx.xxd
> [............]
> amrecover: stream_client_privileged: connected to 127.0.0.1.10083
> amrecover: stream_client_privileged: our side is 0.0.0.0.614
> amrecover: try_socksize: receive buffer size is 65536
> Started amidxtaped with arguments "6 -h -p exxxxx.xxd:DailySet103
> ^localhost$ ^//sambapc/sharedfolder$ 20030317"
> amrecover: Can't read file header
> amrecover: pid 3317 finish time Mon Mar 17 10:55:02 2003
> amrecover: pid 3312 finish time Mon Mar 17 10:55:06 2003
>
_______________________________________________________________________
> 
> Anyone can help me?
> 
> 
> TIA
> 
> __________________________________
> 
>    Francisco de Asís Miralles Argente
>              Network Engineer
>           GRUPO EUROCIBER
>   Telf: +34 913382810
>   Fax: +34 913381616
>  email: francisco.miralles AT eurociber DOT es 
> __________________________________
> 

-- 
Jean-Louis Martineau             email: martineau AT IRO.UMontreal DOT CA 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7        Fax: (514) 343-5834



<Prev in Thread] Current Thread [Next in Thread>