Amanda-Users

amlabel: command not found (was Re: port 35280 not secure)

2006-04-05 09:55:31
Subject: amlabel: command not found (was Re: port 35280 not secure)
From: Anne Wilson <cannewilson AT tiscali.co DOT uk>
To: amanda-users AT amanda DOT org
Date: Wed, 5 Apr 2006 14:49:41 +0100
On Monday 03 April 2006 22:20, Kevin Till wrote:
> Anne Wilson wrote:
> > On Monday 03 April 2006 22:03, you wrote:
> >>what is the latest output of:
> >>
> >>ls -la /usr/local/sbin/amcheck
> >
> > -rwsr-x---  1 amanda disk 82445 Mar 26 20:31 /usr/local/sbin/amcheck
> >
> > I've talked it over with Gene.  Early on in the installation I made a
> > mistake, which I thought I had corrected, but which may be responsible
> > for the whole mess.  I'm going to start all over again.  Thanks for
> > trying to help, Kevin. I'll let you know how it goes.
>
> Ok, just do "make install" again, it will install
>
> -rwsr-x---  1 root disk 63345 Apr  3 10:45 /usr/local/sbin/amcheck
>
> and let us know how it goes.

I've completely rebuilt and reinstalled.  Because we also had trouble with 
that data link, I nuked the slots and link as well, and re-ran mkvtapes as 
amanda, only to see 

mode of `/Backup/amandatapes/Dailys/slot1' changed to 0750 (rwxr-x---)
./mkvtapes: line 24: amlabel: command not found
etc.

So, two possibilities.  Am I running this from the wrong directory? - it is in 
server-src.  I've tried running mkvtapes both by referencing the directory 
above, where I originally had it, and by putting a copy in server-src, both 
times getting the same result.

Or is there something actually wrong with my amendments of the script:

for n in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
do
        mkdir -p /Backup/amandatapes/Dailys/slot${n}
        chmod -v 750 /Backup/amandatapes/Dailys/slot${n}
        rm -f /Backup/amandatapes/Dailys/data
        ln 
-s /Backup/amandatapes/Dailys/slot${n} /Backup/amandatapes/Dailys/data
        amlabel -f Daily Dailys-${n} slot ${n}
done

Anne

Attachment: pgpeIqi59COL8.pgp
Description: PGP signature

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