Re: Error after installing/configuring amanda
2003-02-17 06:56:19
On Monday 17 February 2003 01:57 am, 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
On linux, possibly others, the syntax would have been "./amcheck" in
order to tell the shell to look here rather than in one of the dirs
in the $PATH environment variable.
I'd guess that the best way is to add /usr/local/sbin to the $PATH
that the user amanda gets when you are the user amanda.
>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 ???
Missed the dot-slash in front of the command to anchor it to the
current directory you are cd'd to. A common mistake :)
>Thanx in asdvance
>Madhvi
--
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz 512M
99.23% setiathome rank, not too shabby for a WV hillbilly
|
|
|