it might be that your mtx version is not generating the messages the script likes, check carefully the mtx status output and compare it to the sed script line inside chg-zd-mtx. I had a problem caused by mtx status writing a 0 on the wrong side of a ":".
On Fri, 2002-08-30 at 18:09, Martin Schmidt wrote: > Hi, > > as anyone configured amanda/Linux with a Sony Library LIB-81 and a AIT2-Drive > (SDX-500) already ? > > I have got it running using mtx and tar, but amanda does not really like it, > the chg-zd-mtx reports errors, which cause I suspect in my config's: > --------------- > backup:/etc/amanda/hne # /usr/lib/amanda/chg-zd-mtx -info > /usr/lib/amanda/chg-zd-mtx: [: -eq: unary operator expected > /usr/lib/amanda/chg-zd-mtx: [: -eq: unary operator expected > 2 1 > backup:/etc/amanda/hne # /usr/lib/amanda/chg-zd-mtx -slot 1 > /usr/lib/amanda/chg-zd-mtx: [: -eq: unary operator expected > /usr/lib/amanda/chg-zd-mtx: [: 1: unary operator expected > /usr/lib/amanda/chg-zd-mtx: [: 1: unary operator expected > /usr/lib/amanda/chg-zd-mtx: [: 1: unary operator expected > /usr/lib/amanda/chg-zd-mtx: [: too many arguments > /usr/lib/amanda/chg-zd-mtx: [: -gt: unary operator expected > /usr/lib/amanda/chg-zd-mtx: [: -eq: unary operator expected > 1 /dev/nst0 > ----------------------- > > I did a brave ( ;-) ) look in the script, but there I did not find anything > suspicuos ( Which does not mean very much ), I just think, the script is > working on other systems, so the very difference can only be my configs. > > Thanks for help. > > > Martin -- All power corrupts, but we need electricity.
