Amanda uses the full path to all the backup/restore programs that it was
configured with (and are fixed at compile time).  So if Amanda was built
with your dump program as /usr/sbin/dump. but now it is /sbin/dump or
/usr/local/bin/dump, then you will get the 'program not available' error
even though 'dump' is somewhere in the Amanda user's path. (Disclaimer:
I'm a 'tar' user, and am assuming Amanda deals with ufsdump, vxdump, and
other variants of dump in a similar way to the way it finds GNU tar.)
   Somewhere near the beginning of /tmp/amanda/amandad.*.debug you can
find the full command path  that Amanda is trying to run.  You can then
either make a link from there to the real program, or (probably better
for the long term) rebuild Amanda with the correct path.

Good luck,
Frank

--On Saturday, June 01, 2002 14:08:30 -0400 Kaan Saldiraner <[EMAIL PROTECTED]> 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
> 
> Thanks,
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 01, 2002 8:07 AM
> To: Kaan Saldiraner
> Subject: RE: Dump Program Not available
> 
> 
> It sounds like your environment for the amanda user does not have the path
> to
> the dump command. "su -" to the amanda user account and see if you can run
> dump from the command line. If not you need to add it to the path for the
> amanda user.
> 
> Just my 2 cents.
> 
> Wade
> 
> 
> 
>> Hello,
>> 
>> Thanks for the response but i think that the solution that you have gave
> me
>> is for something else... Thanks for your response ..
>> My problem is that amanda doesn't see that the machine has Dump already..
>> Maybe permission problem????
>> 
>> -----Original Message-----
>> From: Gene Heskett [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, May 31, 2002 8:37 PM
>> To: Kaan Saldiraner; [EMAIL PROTECTED]
>> Subject: Re: Dump Program Not available
>> 
>> 
>> On Friday 31 May 2002 05:21 pm, Kaan Saldiraner wrote:
>> > Hello,
>> > 
>> > I just installed a client and when i do amcheck for the Server it
>> > gives me this error
>> > 
>> > ERROR: machine.domain.com: [DUMP program not available]
>> > ERROR: machine.domain.com: [RESTORE program not available]
>> > 
>> > I rpmed the dump program and recompiled amanda on the client after
>> > and still the same error
>> > 
>> > Any ideas??
>> > 
>> > Thanks
>> > 
>> > Kaan Saldiraner
>> > Steltor Inc.
>> > (514)733-8500 x6503
>> > www.steltor.com
>> 
>> Either see if its listed in inetd.conf if your system usesd inetd,
>> or see if there is an amanda in /etc/xinetd.d.  If so, edit it to
>> change the disable = yes line to disable = no, then restart
>> /etc/rc.d/int.d/xinetd.
>> 
>> --
>> Cheers, Gene
>> AMD K6-III@500mhz 320M
>> Athlon1600XP@1400mhz  512M
>> 98.96+% setiathome rank, not too shabby for a hillbilly
>> 
>> 
>> 
>> 
> 
> 
> ---------------------------------------------
> This message was sent using Endymion MailMan.
> http://www.endymion.com/products/mailman/
> 
> 
> 
> 



--
Frank Smith                                                [EMAIL PROTECTED]
Systems Administrator                                     Voice: 512-374-4673
Hoover's Online                                             Fax: 512-374-4501

Reply via email to