Amanda-Users

RE: Need A sample Tapelist file

2003-06-25 15:20:47
Subject: RE: Need A sample Tapelist file
From: "Harry Mbang" <hmbang AT devassoc1 DOT com>
To: <gene.heskett AT verizon DOT net>, <amanda-users AT amanda DOT org>
Date: Wed, 25 Jun 2003 15:15:27 -0400
Hi, thanks all for the responses.  I went followed your advice of
reinstalling Amanda.  Now I have the config folder in
/usr/local/etc/Amanda.  I am now at the point where when I do amcheck, I
get three errors:

1)Can not open exclude file /usr/local/lib/Amanda/exclude/gtar ...

2)Can not read/write /etc/amandates ...

3) Cannot read/write /usr/local/var/Amanda/gnutar-lists/ ...

I am at a loss because unlike before I cannot find these files anywhere.
Any ideas?  I cannot find reference to a similar problem in the archives
(scanning the titles).  Thanks in advance.

-----Original Message-----
From: Gene Heskett [mailto:gene.heskett AT verizon DOT net] 
Sent: Tuesday, June 24, 2003 11:15 PM
To: Harry Mbang; amanda-users AT amanda DOT org
Subject: Re: Need A sample Tapelist file

On Tuesday 24 June 2003 17:27, Harry Mbang wrote:
>Hi,
>     I am still trying to get my first successful Amanda backup. 
> Now when I run amcheck, I get an error
>
>"cannot read/write /usr/local/var/Amanda/gnutar-lists: No such file
> or directory"
>
>Indeed there is no such file or directory.  My gnutar-lists is
> located in /var/lib/Amanda.  What shall I do?  I am also guessing
> that Amanda is going to want read/write other files and folders in
> the non-extisting directory.  Should I recompile Amanda with some
> option specifying the default directory for that type files and
> folders?  Thanks in advance for any advice.
>
>Harry.
It sounds as if you have a mix-n-match install there.  If an rpm, it 
could be /var/lib/amanda.  But the default for building a tarball is 
/usr/local/whatever.

Move your tapelists and the rest of your config stuff to 
/usr/local/etc/amanda and see if that fixes things by running amcheck 
(as the user who normally runs amanda, it won't run as root), and 
fixing any other errors (warnings can be ignored) that pop up.  Also 
do an 'rpm -e amanda*' to get rid of the rpms , they have no business 
surviving on the system if you have built amanda from a tarball.

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.26% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.