Re: DUMP program not found

2001-10-23 Thread Toomas Aas

Hi Bernhard!

On 23 Oct 01 at 8:22 you wrote:

> do "make distclean" or "rm config.cache" before you rerun configure

Thanks. I should have figured that one out myself.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* What are you looking down here for? Read the message!



Re: DUMP program not found

2001-10-22 Thread Bernhard R. Erdmann

> ERROR: heerold.raad.tartu.ee: [DUMP program not available]
> ERROR: heerold.raad.tartu.ee: [RESTORE program not available]
> 
> After installing dump and restore (doh), the error messages were
> still there. So I repeated the ./configure, make and make install
> steps, but I still get the same error messages from amcheck.

do "make distclean" or "rm config.cache" before you rerun configure



DUMP program not found

2001-10-22 Thread Toomas Aas

Hello!

I used to have Red Hat 6.1 server running amanda 2.4.2p2 as a 
client, backing up to amanda 2.4.2p1 server running FreeBSD 4.3.

After my Red Hat box got h4X0r'd, I decided to reinstall it from 
scratch and replaced RedHat with Slackware 8.0.

Then I installed amanda 2.4.2p2 from source. When I first did the 
install, I was not aware that dump and restore were not present on 
the system. I did:
./configure --with-user=amanda --with-group=backup
make
make install

After making necessary changes to configuration files, I ran 
amcheck, which resulted in error messages:

ERROR: heerold.raad.tartu.ee: [DUMP program not available]
ERROR: heerold.raad.tartu.ee: [RESTORE program not available]

After installing dump and restore (doh), the error messages were 
still there. So I repeated the ./configure, make and make install 
steps, but I still get the same error messages from amcheck.

I looked at config.log, and saw the following therein:

-- cut  
configure:3922: checking for dump
configure:3962: checking for ufsrestore
configure:3962: checking for restore
configure:4008: checking whether /sbin/dump supports -E or -S for
estimates configure:4018: /sbin/dump 9Ef /dev/null
/dev/null/invalid/fs 2>&1 | /bin/grep - v Dumping | /bin/grep -v
Date | /bin/grep -v Label >conftest.d-E 2>&1
  DUMP: Must specify disk or filesystem
  DUMP: The ENTIRE dump is aborted.
configure:4023: /sbin/dump 9Sf /dev/null /dev/null/invalid/fs 2>&1 |
/bin/grep - v Dumping | /bin/grep -v Date | /bin/grep -v Label
>conftest.d-S 2>&1
  DUMP: Only level 0 dumps are allowed on a subdirectory
  DUMP: The ENTIRE dump is aborted.
configure:4028: /sbin/dump 9f /dev/null /dev/null/invalid/fs 2>&1 |
/bin/grep -v
 Dumping | /bin/grep -v Date | /bin/grep -v Label >conftest.d 2>&1
  DUMP: Only level 0 dumps are allowed on a subdirectory
  DUMP: The ENTIRE dump is aborted.
- cut ---

I don't know what to think of it. It seems like at least 
./configure sees that dump and restore are available.

/sbin/dump and /sbin/restore are chmod 755

How can I make amcheck see the 'missing' dump and restore?

TIA

--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* What are you looking down here for? Read the message!