Amanda-Users

Re: chg-manual has anyone used it successfully?

2002-08-18 14:44:38
Subject: Re: chg-manual has anyone used it successfully?
From: Sébastien GALLET <sgallet AT ibourgogne DOT net>
To: "Jon LaBadie" <jon AT jgcomp DOT com>, <amanda-users AT amanda DOT org>
Date: Sun, 18 Aug 2002 20:29:57 +0200
Yes i do.
The file mentionned by changerfile in amanda.conf must NOT exist or be
empty.

In chg-manual, comment the line
  DD if=$tape count=1 >> $logfile 2>&1

This command reads the beginning of the tape (only to log it) and causes an
Input/Output Error in amanda when it try to get tape label.

Bye

----- Original Message -----
From: "Jon LaBadie" <jon AT jgcomp DOT com>
To: "amanda-users" <amanda-users AT amanda DOT org>
Sent: Thursday, August 15, 2002 11:22 PM
Subject: chg-manual has anyone used it successfully?


> Investigating a recent posting I looked at the chg-manual code.
> It contains the following:
>
> if [ -f $changerfile ]; then
> . $changerfile
> fi
>
> $changerfile is <configdir>/changer.conf normally.
>
> It is being "sourced" in this code such that the lines should
> be shell script syntax.  But changer.conf is not a shell script.
> Instead it contains lines like:
>
>    number_configs     1
>
> which the sourcing tries to execute like a command line and
> of course there is no program called "number_configs".
>
> It appears that the author of chg-manual expected the syntax
> of changer.conf to be parameter assignments like NUM_CONFIG=1.
>
> Has anyone been using chg-manual?  HOW?
>
> --
> Jon H. LaBadie                  jon AT jgcomp DOT com
>  JG Computing
>  4455 Province Line Road        (609) 252-0159
>  Princeton, NJ  08540-4322      (609) 683-7220 (fax)
>


<Prev in Thread] Current Thread [Next in Thread>