>I'm a "brand new" if about amanda and mtx so please don't laugh too hard at
>me.  ...

We never laugh at new users!!!  :-)

Welcome!

>in the mtx-changer.conf file I have:
>...
>statefile /var/lib/amanda/DailySet1/curinfo/localhost/_etc/state
>slot 1 /dev/sga
>slot 2 /dev/sga
>...

Where did you get the idea behind this file?  It doesn't match what
chg-zd-mtx is going to want.  It looks like what you might set up for
chg-multi, not chg-zd-mtx.

>amcheck-server: could not get changer info: badly formed result from changer:
>"/usr/lib/amanda/chg-zd-mtx: [: -eq:

This came up a while back but I can't find it in my archives.  This
script has had a major overhaul for the next release.  Would you mind
trying it instead?  You can get it at:

  ftp://gandalf.cc.purdue.edu/pub/amanda/chg-zd-mtx.sh.in-243

To install it:

  cd changer-src
  Save your current chg-zd-mtx.sh.in
  Copy the new file in as chg-zd-mtx.sh.in
  cd ..
  ./configure ...
  make
  cd changer-src
  make install

You might want to take a look at the script itself.  It starts out with
a lengthy set of comments about how to set it up.

>What am I missing here?

I'm sure it's something about your config file and a variable in the
(old) script that's not set where it should be.

If you don't want to try the new version (which is fine), I think the
following might be better:

  firstslot=1
  lastslot=6

Even in the old script there is a block of comments about the format
of the config file.  Just make sure you throw away all the lines you
don't need (it doesn't handle comments) and put keyword=value entries
in exactly like it says (the new version tries to be a bit more tolerant).

>Greg 

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

Reply via email to