On Wednesday 05 April 2006 09:49, Anne Wilson wrote: >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
I found it, at least I did here Anne. It seems that if you are logged in from a password login as the user amanda, then /usr/local/sbin IS NOT in the $PATH, see my other private message. I also posted both here and on the fedora list as to why /usr/local/bin is not in a normal users $PATH. In any event, I added it to the ~/.bash_profile and it survives doing an 'su - amanda' now. But my real question is: whyinhell ain't it in a normal users $PATH in the first place? Boggles this mind, thats for sure... -- Cheers, Gene People having trouble with vz bouncing email to me should add the word 'online' between the 'verizon', and the dot which bypasses vz's stupid bounce rules. I do use spamassassin too. :-) Yahoo.com and AOL/TW attorneys please note, additions to the above message by Gene Heskett are: Copyright 2006 by Maurice Eugene Heskett, all rights reserved.