Amanda-Users

RE: Problem with amlabel

2006-04-27 14:07:02
Subject: RE: Problem with amlabel
From: "Carl Holzhauer" <cholzhauer AT sscorp DOT com>
To: "Paul Bijnens" <paul.bijnens AT xplanation DOT com>
Date: Thu, 27 Apr 2006 14:04:31 -0400
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.



-- 
Paul Bijnens, xplanation Technology Services        Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************




__________________________________________________________
Message transport security by GatewayDefender.com
3:49:32 AM ET - 4/27/2006


__________________________________________________________
Message transport security by GatewayDefender.com
2:04:33 PM ET - 4/27/2006


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