RE: amanda issue

2001-04-06 Thread Ben Hyatt

Error: Autoconf requires GNU m4 1.1 or later 
make: *** [autoconf.m4f] Error 1 

You need GNU make
ftp://ftp.gnu.org/gnu/make/

-Ben 

anurag 






Re: amanda issue

2001-04-05 Thread Ben Hyatt

amanda issueHi,
I'm installing amanda software on Sun Solaris box. I make userand as
amanda. i logged in as amanda and run
./configure --with-user=amanda --with-group=amanda . works fine  after that
i logeed in as root and give a command make it gives me an error:-

../libtool: ar: not found
  ^^^

add /usr/ccs/bin to your path - re-run make

-Ben








RE: amanda issue

2001-04-05 Thread Ben Hyatt

kindly let me know now what will i do.
I want to make this Sun box make as a Backup Server because this box contain a
Tape Drive.
Waiting for you reply

I would highly suggest you read the documentation in the DOCS directory.
Also the amanda website has a faq-o-matic page that answers some frequently
asked questions.

anurag

-Ben




RE: Amanda Issue.

2001-03-23 Thread Nischal, Anurag

Hi,
Now when i run a command from the client machine it gives me an error.
su amanda -c "amcheck Daily"
amanda's Password: 
"/usr/local/etc/amanda/Daily/amanda.conf", line 75: duplicate parameter,
prev def on line 74
"/usr/local/etc/amanda/Daily/amanda.conf", line 76: duplicate parameter,
prev def on line 75
amcheck: could not find config file
"/usr/local/etc/amanda/Daily/amanda.conf"
$ 
Kindly help me out

Anurag
-Original Message-
From: John R. Jackson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 4:18 PM
To: Nischal, Anurag
Cc: [EMAIL PROTECTED]
Subject: Re: Amanda Issue. 


Now in this stage it gives me an error.
"/usr/local/etc/amanda/Daily/amanda.conf", line 75: duplicate
parameter,
prev def on line 74

As Marc Mengel just said, if you look at your amanda.conf you'll see
three duplicate lines and comments right above them that explain what
to do (you're supposed to pick one or none).

This is probably a problem in our release (that amanda.conf has a syntax
error) and I'll see about changing that for the future.  You're the
second person this week that has run into this.

Anurag

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



RE: Amanda Issue.

2001-03-23 Thread Nischal, Anurag

Hi,
As per ur mail i checked from amcheck -f Daily it gives me following
eror 

su amanda -f "amcheck Daily"
amanda's Password: 
ksh: amcheck: 0403-006 Execute permission denied.
$ 
which amcheck
/usr/local/sbin/amcheck
$ 
$
I logged in as amanda and py path is  
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/
local/bin:/usr/local/sbin:./home/amanda/amanda-2.4.2p1:/home/amanda/back
:.
$ pwd
/home/amanda
and my home directory is /home/amanda
$ cd /usr/local/sbin
$ ls -la
total 10152
drwxr-xr-x   2 root system   512 Mar 19 15:07 .
drwxr-xr-x  12 bin  bin  512 Mar 19 16:11 ..
-rwxr-xr-x   1 amanda   amanda688917 Mar 19 15:07 amadmin
-rwxrwxrwx   1 amanda   amanda721068 Mar 19 15:07 amcheck
-rwxr-xr-x   1 amanda   amanda  1813 Mar 19 15:07 amcheckdb
-rwxr-xr-x   1 amanda   amanda  3938 Mar 19 15:07 amcleanup
-rwxr-xr-x   1 amanda   amanda  3785 Mar 19 15:07 amdump
-rwxr-xr-x   1 amanda   amanda688191 Mar 19 15:07 amflush
-rwxr-xr-x   1 amanda   amanda272117 Mar 19 15:07 amgetconf
-rwxr-xr-x   1 amanda   amanda530104 Mar 19 15:07 amlabel
-rwxr-xr-x   1 amanda   amanda  4261 Mar 19 15:07 amoverview
-rwxr-x---   1 amanda   amanda639783 Mar 19 15:07 amrecover
-rwxr-xr-x   1 amanda   amanda620149 Mar 19 15:07 amreport
-rwxr-xr-x   1 amanda   amanda373828 Mar 19 15:07 amrestore
-rwxr-xr-x   1 amanda   amanda  6500 Mar 19 15:07 amrmtape
-rwxr-xr-x   1 amanda   amanda 21364 Mar 19 15:07 amstatus
-rwxr-xr-x   1 amanda   amanda553398 Mar 19 15:07 amtape
-rwxr-xr-x   1 amanda   amanda  6888 Mar 19 15:07 amtoc
-rwxr-xr-x   1 amanda   amanda 11688 Mar 19 15:07 amverify
$ 
kindly advise
anurag
-Original Message-
From: Dr.Prabhakar Ganapathy [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 9:33 AM
To: Nischal, Anurag
Subject: Re: Amanda Issue. 


Nischal ,
use amcheck -f Daily
- Original Message - 
From: "Nischal, Anurag" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, March 23, 2001 9:12 AM
Subject: RE: Amanda Issue. 


 Hi,
 Now when i run a command from the client machine it gives me an error.
 su amanda -c "amcheck Daily"
 amanda's Password: 
 "/usr/local/etc/amanda/Daily/amanda.conf", line 75: duplicate
parameter,
 prev def on line 74
 "/usr/local/etc/amanda/Daily/amanda.conf", line 76: duplicate
parameter,
 prev def on line 75
 amcheck: could not find config file
 "/usr/local/etc/amanda/Daily/amanda.conf"
 $ 
 Kindly help me out
 
 Anurag
 -Original Message-
 From: John R. Jackson [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 22, 2001 4:18 PM
 To: Nischal, Anurag
 Cc: [EMAIL PROTECTED]
 Subject: Re: Amanda Issue. 
 
 
 Now in this stage it gives me an error.
 "/usr/local/etc/amanda/Daily/amanda.conf", line 75: duplicate
 parameter,
 prev def on line 74
 
 As Marc Mengel just said, if you look at your amanda.conf you'll see
 three duplicate lines and comments right above them that explain what
 to do (you're supposed to pick one or none).
 
 This is probably a problem in our release (that amanda.conf has a
syntax
 error) and I'll see about changing that for the future.  You're the
 second person this week that has run into this.
 
 Anurag
 
 John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]
 




RE: Amanda Issue.

2001-03-23 Thread Nischal, Anurag

Hi,
I configure it again at client 
Login as amanda give a command ./configure --with-user=amanda
--with-group=amanda
then login as root giv command make, make install.and my home directory
of amanda user is /home/amanda. 
now the status is as follows
# ls -la /usr/local/sbin/   
total 10168
drwxr-xr-x   2 root system   512 Mar 23 13:10 .
drwxr-xr-x  12 bin  bin  512 Mar 19 16:11 ..
-rwxr-xr-x   1 amanda   amanda688917 Mar 23 13:09 amadmin
-rwsr-x---   1 root amanda721068 Mar 23 13:09 amcheck
-rwxr-xr-x   1 amanda   amanda  1813 Mar 23 13:09 amcheckdb
-rwxr-xr-x   1 amanda   amanda  3938 Mar 23 13:09 amcleanup
-rwxr-xr-x   1 amanda   amanda  3785 Mar 23 13:09 amdump
-rwxr-xr-x   1 amanda   amanda688191 Mar 23 13:09 amflush
-rwxr-xr-x   1 amanda   amanda272117 Mar 23 13:09 amgetconf
-rwxr-xr-x   1 amanda   amanda530104 Mar 23 13:09 amlabel
-rwxr-xr-x   1 amanda   amanda  4261 Mar 23 13:09 amoverview
-rwxr-xr-x   1 amanda   amanda  4463 Mar 23 13:10 amplot
-rwxr-x---   1 amanda   amanda639783 Mar 23 13:10 amrecover
-rwxr-xr-x   1 amanda   amanda620149 Mar 23 13:09 amreport
-rwxr-xr-x   1 amanda   amanda373828 Mar 23 13:10 amrestore
-rwxr-xr-x   1 amanda   amanda  6500 Mar 23 13:09 amrmtape
-rwxr-xr-x   1 amanda   amanda 21364 Mar 23 13:09 amstatus
-rwxr-xr-x   1 amanda   amanda553398 Mar 23 13:09 amtape
-rwxr-xr-x   1 amanda   amanda  6888 Mar 23 13:09 amtoc
-rwxr-xr-x   1 amanda   amanda 11688 Mar 23 13:09 amverify
# pwd
/home/amanda/amanda-2.4.2p1
# su amanda "amcheck -c Daily"
ksh: amcheck: 0403-006 Execute permission denied.
# 
# 
$ whoami
amanda
$ su amanda -c "amcheck Daily"
amanda's Password: 
"/usr/local/etc/amanda/Daily/amanda.conf", line 75: duplicate parameter,
prev def on line 74
"/usr/local/etc/amanda/Daily/amanda.conf", line 76: duplicate parameter,
prev def on line 75
amcheck: could not find config file
"/usr/local/etc/amanda/Daily/amanda.conf"
$ 

anurag
-Original Message-
From: John R. Jackson [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 12:49 PM
To: Nischal, Anurag
Cc: Dr.Prabhakar Ganapathy; [EMAIL PROTECTED]
Subject: Re: Amanda Issue. 


$ cd /usr/local/sbin
$ ls -la
total 10152
drwxr-xr-x   2 root system   512 Mar 19 15:07 .
drwxr-xr-x  12 bin  bin  512 Mar 19 16:11 ..
-rwxr-xr-x   1 amanda   amanda688917 Mar 19 15:07 amadmin
-rwxrwxrwx   1 amanda   amanda721068 Mar 19 15:07 amcheck
-rwxr-xr-x   1 amanda   amanda  1813 Mar 19 15:07 amcheckdb
-rwxr-xr-x   1 amanda   amanda  3938 Mar 19 15:07 amcleanup
-rwxr-xr-x   1 amanda   amanda  3785 Mar 19 15:07 amdump
-rwxr-xr-x   1 amanda   amanda688191 Mar 19 15:07 amflush
-rwxr-xr-x   1 amanda   amanda272117 Mar 19 15:07 amgetconf
-rwxr-xr-x   1 amanda   amanda530104 Mar 19 15:07 amlabel
-rwxr-xr-x   1 amanda   amanda  4261 Mar 19 15:07 amoverview
-rwxr-x---   1 amanda   amanda639783 Mar 19 15:07 amrecover
-rwxr-xr-x   1 amanda   amanda620149 Mar 19 15:07 amreport
-rwxr-xr-x   1 amanda   amanda373828 Mar 19 15:07 amrestore
-rwxr-xr-x   1 amanda   amanda  6500 Mar 19 15:07 amrmtape
-rwxr-xr-x   1 amanda   amanda 21364 Mar 19 15:07 amstatus
-rwxr-xr-x   1 amanda   amanda553398 Mar 19 15:07 amtape
-rwxr-xr-x   1 amanda   amanda  6888 Mar 19 15:07 amtoc
-rwxr-xr-x   1 amanda   amanda 11688 Mar 19 15:07 amverify

Those permissions (not just on amcheck, but on lots of the files)
are seriously broken.  Amcheck should not be mode 777 and needs to be
setuid-root, as do some of the others.

I think the best thing for you to do is re-install the Amanda software
(you don't need to change your configuration stuff yet, just redo the
software).  You did do the "make install" as root, didn't you?

anurag

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: Amanda Issue.

2001-03-23 Thread Alexandre Oliva

On Mar 22, 2001, "John R. Jackson" [EMAIL PROTECTED] wrote:

 Now in this stage it gives me an error.
 "/usr/local/etc/amanda/Daily/amanda.conf", line 75: duplicate parameter,
 prev def on line 74

 This is probably a problem in our release (that amanda.conf has a syntax
 error) and I'll see about changing that for the future.  You're the
 second person this week that has run into this.

The error is there on purpose.  The example file is not supposed to be
used unchanged.  You have to go through the various configuration
variables, particularly those, and make sure they match your
expectations.

Maybe we should just say that in big blinking :-) letters at the top
of the example file?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



Re: Amanda Issue.

2001-03-23 Thread John R. Jackson

Maybe we should just say that in big blinking :-) letters at the top
of the example file?

I couldn't get the blinking to work on all terminal types :-), but I've
added the appended notice at the top.

Not that I necessarily expect it to do any good.  :-)

Alexandre Oliva

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

###  !!! WARNING !!!  !!! WARNING !!!  !!! WARNING !!!  !!! WARNING !!!  ###
###  ###
###  This file is not meant to be installed "as is", and in fact, it ###
###  WILL NOT WORK!  You must go through it and make changes appropriate ###
###  to your own situation.  See the documentation in this file, in the  ###
###  "man amanda" man page, in the "docs" directory and at the Amanda###
###  web page (www.amanda.org).  ###
###  ###
###  !!! WARNING !!!  !!! WARNING !!!  !!! WARNING !!!  !!! WARNING !!!  ###



RE: Amanda Issue.

2001-03-23 Thread Bort, Paul

The network monitoring tool we use here (Big Brother) solves the problem by
appending .DIST to all of the files that need to be edited before use. That
might help here. 

-Original Message-
From: John R. Jackson [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 2:13 PM
To: Alexandre Oliva
Cc: Nischal, Anurag; [EMAIL PROTECTED]
Subject: Re: Amanda Issue. 


Maybe we should just say that in big blinking :-) letters at the top
of the example file?

I couldn't get the blinking to work on all terminal types :-), but I've
added the appended notice at the top.

Not that I necessarily expect it to do any good.  :-)

Alexandre Oliva

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

###  !!! WARNING !!!  !!! WARNING !!!  !!! WARNING !!!  !!! WARNING !!!  ###
###  ###
###  This file is not meant to be installed "as is", and in fact, it ###
###  WILL NOT WORK!  You must go through it and make changes appropriate ###
###  to your own situation.  See the documentation in this file, in the  ###
###  "man amanda" man page, in the "docs" directory and at the Amanda###
###  web page (www.amanda.org).  ###
###  ###
###  !!! WARNING !!!  !!! WARNING !!!  !!! WARNING !!!  !!! WARNING !!!  ###



Re: Amanda Issue.

2001-03-22 Thread Marc W. Mengel


This question should go to [EMAIL PROTECTED], and I am copying that
list for further discussion.

From the error you include, an examination of lines 74..76 of your
amanda.conf file would indicate that you either have a repeated line,
or different values specified for the same parameter.

Following up to [EMAIL PROTECTED] with a copy of your amanda.conf
file would be the proper course of action.

Marc Mengel [EMAIL PROTECTED]

On Thu, 22 Mar 2001, Nischal, Anurag wrote:
 Now in this stage it gives me an error.
 "/usr/local/etc/amanda/Daily/amanda.conf", line 75: duplicate parameter,
 prev def on line 74
 "/usr/local/etc/amanda/Daily/amanda.conf", line 76: duplicate parameter,
 prev def on line 75





Re: Amanda Issue.

2001-03-22 Thread John R. Jackson

Now in this stage it gives me an error.
"/usr/local/etc/amanda/Daily/amanda.conf", line 75: duplicate parameter,
prev def on line 74

As Marc Mengel just said, if you look at your amanda.conf you'll see
three duplicate lines and comments right above them that explain what
to do (you're supposed to pick one or none).

This is probably a problem in our release (that amanda.conf has a syntax
error) and I'll see about changing that for the future.  You're the
second person this week that has run into this.

Anurag

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]