Amanda-Users

Re: Disaster recovery and amanda-2.6.0b1

2008-01-13 18:59:03
Subject: Re: Disaster recovery and amanda-2.6.0b1
From: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
To: "Gene Heskett" <gene.heskett AT verizon DOT net>
Date: Sun, 13 Jan 2008 18:52:30 -0500
On Jan 13, 2008 2:25 PM, Gene Heskett <gene.heskett AT verizon DOT net> wrote:
> [root@coyote amanda-2.6.0b1-20080111]# su amanda -c "amcheck Daily"
> bash: /usr/local/sbin/amcheck: Permission denied
> [root@coyote amanda-2.6.0b1-20080111]# su - amanda
> [amanda@coyote ~]$ ls
> amanda-2.5.2p1-20070713         amanda-2.5.2p1-20070727
> amanda-2.6.0b1-20080111         bacula-2.0.3-1.src.rpm  Mail
> amanda-2.5.2p1-20070713.tar.gz  amanda-2.5.2p1-20070727.tar.gz
> amanda-2.6.0b1-20080111.tar.gz  delete_old_debug.diff
> amanda-2.5.2p1-20070720         amanda-2.5.2p1-20071101         amandahosts
> fix-3hole.ps
> amanda-2.5.2p1-20070720.tar.gz  amanda-2.5.2p1-20071101.tar.gz
> amplot-2.5.1.diff               gh.cf
> [amanda@coyote ~]$ amcheck Daily
> -bash: /usr/local/sbin/amcheck: Permission denied

Perhaps I'm not seeing it here, but what are the permissions on
/usr/local/sbin/amcheck?  And what is the date -- was it really just
installed, or did something go wrong with the install script that you
didn't notice?

I also notice that gh.cf doesn't do 'make install' .  You may also
want to add some kind of error handling to the ./configure line:
  ./configure .... || exit 1

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com