Amanda-Users

Re: amfetchdump and permission errors as root user and amanda user

2006-08-17 08:17:42
Subject: Re: amfetchdump and permission errors as root user and amanda user
From: "Gavin Henry" <ghenry AT suretecsystems DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 17 Aug 2006 12:05:12 +0100 (BST)
<quote who="Gavin Henry">
> Just testing recovery like a good support company and getting permission
> errors:
>
> nas1:/storage # /usr/local/sbin/amfetchdump Test nas1 /storage/samba
> 20060811  -o /storage/
> Scanning /storage/amanda...
> 1 tape(s) needed for restoration
> changer: got exit: 0 str: 6 7 1 1
> The following tapes are needed: Test-006
> Press enter when ready
>
>
> Looking for tape Test-006...
> changer: got exit: 0 str: 6 7 1 1
> changer_query: changer return was 7 1 1
> changer_query: searchable = 1
> changer_find: looking for Test-006 changer is searchable = 1
> changer_search: Test-006
> changer: got exit: 0 str: 6 /dev/nst0
> amfetchdump: slot 6: date 20060811 label Test-006 (exact label match)
> Scanning Test-006 (slot 6)
> amfetchdump:   1: restoring split dumpfile: date 20060811 host nas1 disk
> /storage/samba part 20221/UNKNOWN lev 0 comp N program /bin/tar
> amfetchdump:      Chunk out of order, will save to disk and append to
> output.
> amfetchdump: could not create output file .tmp: Permission denied
> amfetchdump: could not create output file .tmp: Permission denied
> amfetchdump: pid 11700 finish time Thu Aug 17 11:22:46 2006
>
> Why the permission denied?

Been running amrestore and have found the reason:

amrestore: could not create output file .tmp: Too many open files

This is 64-Bit SUSE 9.3, so maybe need to change no of files that can be
opened ;-)

Gavin.

>
> Thanks.
>
> --
> Kind Regards,
>
> Gavin Henry.
> Managing Director.
>
> T +44 (0) 1224 279484
> M +44 (0) 7930 323266
> F +44 (0) 1224 824887
> E ghenry AT suretecsystems DOT com
>
> Open Source. Open Solutions(tm).
>
> http://www.suretecsystems.com/
>
>
>


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