Hi /usr/local/sbin probably isn't in your path.
so /usr/local/sbin/amcheck (options) should work.. Madhvi Gokool wrote:
Hello I have encountered the following error when trying to run the following command or any other amanda program on the tape server host [amanda@backup sbin]$ amcheck -l bash: amcheck: command not found The permissions of the am* commands in /usr/local/sbin area s follows :- 34807 -rwxr-xr-x 1 amanda operator 442325 Feb 4 16:30 amadmin 34808 -rwxr-xr-x 1 amanda operator 542304 Feb 4 16:30 amcheck 34814 -rwxr-xr-x 1 amanda operator 1811 Feb 4 16:30 amcheckdb 34846 -rwsr-x--- 1 root root 542304 Feb 11 15:22 amcheck_old 34815 -rwxr-xr-x 1 amanda operator 3936 Feb 4 16:30 amcleanup 34806 -rwxr-xr-x 1 amanda operator 218270 Feb 4 16:30 amdd 34816 -rwxr-xr-x 1 amanda operator 3744 Feb 4 16:30 amdump 34809 -rwxr-xr-x 1 amanda operator 381176 Feb 4 16:30 amflush 34810 -rwxr-xr-x 1 amanda operator 197506 Feb 4 16:30 amgetconf 34811 -rwxr-xr-x 1 amanda operator 413403 Feb 4 16:30 amlabel 34805 -rwxr-xr-x 1 amanda operator 218366 Feb 4 16:30 ammt 34817 -rwxr-xr-x 1 amanda operator 4427 Feb 4 16:30 amoverview 34824 -rwxr-x--- 1 amanda operator 379886 Feb 4 16:30 amrecover 34813 -rwxr-xr-x 1 amanda operator 402562 Feb 4 16:30 amreport 34823 -rwxr-xr-x 1 amanda operator 312351 Feb 4 16:30 amrestore 34818 -rwxr-xr-x 1 amanda operator 6607 Feb 4 16:30 amrmtape 34822 -rwxr-xr-x 1 amanda operator 29050 Feb 4 16:30 amstatus 34812 -rwxr-xr-x 1 amanda operator 422231 Feb 4 16:30 amtape 34819 -rwxr-xr-x 1 amanda operator 6888 Feb 4 16:30 amtoc 34820 -rwxr-xr-x 1 amanda operator 12053 Feb 4 16:30 amverify 34821 -rwxr-xr-x 1 amanda operator 1123 Feb 4 16:30 amverifyrun Where have I gone wrong ??? Thanx in asdvance Madhvi
-- Martin Hepworth Senior Systems Administrator Solid State Logic Ltd +44 (0)1865 842300 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************
