Amanda-Users

Re: amrecover tar: ./tmp/enterprise-file-recovery: Cannot open: Not a directory

2006-03-07 11:41:42
Subject: Re: amrecover tar: ./tmp/enterprise-file-recovery: Cannot open: Not a directory
From: Chuck Amadi Systems Administrator <chuck AT smtl.co DOT uk>
To: Alexander Jolk <alexj AT buf DOT com>, Amanda List <amanda-users AT amanda DOT org>
Date: Tue, 07 Mar 2006 16:36:17 +0000
Hi Alexander

I was able to extract the file to ./tmp/myserver-file-recovery as a test
exercise.

Cheers
For the pointer.

On Tue, 2006-03-07 at 14:28 +0100, Alexander Jolk wrote:
> Chuck Amadi Systems Administrator wrote:
> > I still unable to trouble shoot I can see the file and other files and
> > directories but unable to extract.
> > 
> > Error Message output
> > 
> > amanda tar: ./tmp/myserver-file-recovery: Cannot open: Not a directory
> > 
> > tar: Error exit delayed from previous errors
> 
> It would seem to me you didn't have the necessary permissions to create 
> the directory `tmp' when you did the restore.  That's either because you 
> weren't root, or you were on an NFS-mounted file-system with root 
> squashing, or a file named `tmp' existed in your current directory.
> 
> I always restore (space permitting) into my machine's local /tmp as 
> root, in order to avoid this kind of problem.
> 
> Alex
> 
> 
-- 
Unix/ Linux Systems Administrator
Chuck Amadi
The Surgical Material Testing Laboratory (SMTL), 
Princess of Wales Hospital 
Coity Road 
Bridgend, 
United Kingdom, CF31 1RQ.
Email chuck.smtl.co.uk
Tel: +44 1656 752820 
Fax: +44 1656 752830



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