Re: Problems to run 'amrecover' - Again
2003-06-02 07:41:18
Roberto
for the first bit try using the hostname for -s rather than localhost.
for the last bit have you put in the correct tape. This is the error 'I'
get when I put in the wrong tape for the recovery.
--
Martin Hepworth
Senior Systems Administrator
Solid State Logic Ltd
+44 (0)1865 842300
Roberto Samarone Araujo (RSA) wrote:
Hi,
After use the suggestion, it worked but, there are still some
problems:
I used the line:
amrecover Daily1 -s localhost
But, some erros occured:
501 No index record for host: server1.mydomain. Invalid?
Trying Server1.mydomain ...
501 No index record for host: Server1.mydomain. Invalid?
After that, the prompt appeared, I did 'ls' and the 'amrecover'
returned
me 'Must select a disk before listing file'. After sethost (sethost
client1) and setdisk (setdisk hdb1 /usr), I could see the directory tree
from the backup. I add a file and tried to extract it but, some errors
appeared:
Load tape XYZ01 now
Continue? [Y/n]
EOF, check amdxtaped.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
Continue?[Y/n]
I Can't recovery the file :///. What's hapenned ?
Thanks,
Roberto Samarone Araujo
> >
I've done a backup perfectly but, when I tried to run
'amrecover'
from the server or from the clients, I received the messages:
Contacting server on localhost ...
200 server1 AMANDA index server (2.4.2p2) ready.
500 Access not allowed: [access as backup not
allowed
from root@localhost] amandahostsauth failed.
I put on the /root/.amandahosts -> localhost root <- on the
server. And -> server1.mydomain backup <- on the clients. I started
amrecover on the server using: amrecover Daily1. On the clients I
started
using: amrecover Daily1 -t server1.mydomain, but the same error
occured.
What's the problem ?
You need 'localhost root' in the .amandahosts in ~backup.
--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
|
|
|