On Sat, Jun 01, 2002 at 02:08:30PM -0400, Kaan Saldiraner wrote:
> Hello,
> 
> Thanks for the responce .. I ran this command while su - to amanda
> 
> export PATH=$PATH:/usr/sbin/:/usr/local/bin:/sbin:/bin
> 
> Now amanda user can infact run the dump and restore without doing /sbin/dump
> ..etc.
> 
> But when i do amcheck on my server It is still giving me the same error.
> 
> DUMP Porgram not available
> RESTORE program not available
>
>>> End of included message <<<

Amcheck and friends do not use the PATH variable for find "dump" or "tar".
They are hardcoded as absolute paths at compile time.  To see what has
been compiled in, look at the file <path_to_amdanda_source>/config/config.h

There will be two line #define DUMP and #define GNUTAR.  These defines
are where amcheck is failing to find the programs.

-- 
Jon H. LaBadie                  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

Reply via email to