That's part of the problem Paul, thanks for catching that. When I make
that change however, I get an error:
-bash-3.00$ amlabel dailyset dailyset0 slot 0
changer: got exit: 2 str: please check your config and use a config file
for chg-scsi
amlabel: could not load slot "0": check your config and use a config
file for chg-scsi
amlabel: could not load slot "0": check your config and use a config
file for chg-scsi
amlabel: pid 593 finish time Thu Apr 27 14:05:06 2006
-bash-3.00$
Where do I specify a config file for chg-scsi?
thanks
-----Original Message-----
From: owner-amanda-users AT amanda DOT org
[mailto:owner-amanda-users AT amanda DOT org] On Behalf Of Paul Bijnens
Sent: Thursday, April 27, 2006 3:36 AM
To: Carl Holzhauer
Cc: amanda-users AT amanda DOT org
Subject: Re: Problem with amlabel
On 2006-04-27 08:46, Christoph Scheeder wrote:
Carl Holzhauer schrieb:
I'm sure I just have something written incorrectly, but here's the
error I'm getting
-bash-3.00$ amlabel dailyset dailyset0 slot 0
changer: got exit: 1 str: <error> could not read result from
"/usr/local/libexec/chg-scsi-solaris.conf"
This seems to me like you have the changer configuration file specified
in the place of the changer script file.
tpchanger "the-glue-program-that-drives-the-changer"
changerfile "a-parameter-used-by-that-program"
So you need to specify the glue program, which lives in libexec.
tpchanger "chg-scsi"
When the program does not start with a '/', Amanda prepends the
libexecdir (and possibly a version suffix) to to locate the program.
That program uses a configuration file, which you specify with the
"changerfile" parameter:
changerfile "chg-sci-solaris.conf"
When that file does not start with a '/', it is supposed to live in the
same directory as the amanda.conf file.