Amanda-Users

Re: Problem with amlabel

2006-04-27 04:55:09
Subject: Re: Problem with amlabel
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Carl Holzhauer <cholzhauer AT sscorp DOT com>
Date: Thu, 27 Apr 2006 09:35:44 +0200
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          *
***********************************************************************


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