Manjit Notay wrote:
> Hi all
> I have successfully managed to install amanda and mtx on a solaris 8 system.
> i can use mtx to manipulate my overland 10 tape autochanger, but whenever
> i run ./chg-zd-mtx -info i get the response,
>
> chg-zd-mtx: test: argument expected
>
> please can someone shed some light.
>
Well, my solaris days were some years ago, but a LOT of the standard tools doesn't work "as expected". But I had also some small issues on linux recently with the chg-zd-mtx shell script, that is, ALL parameters had to be set in the chg-zd-mtx.conf. Leaving some values commented out to simply let the script take its default values led to trouble.
What I do in such situations (concerning shell scripts) is to set debugging on:
insert "set -x" into the script at the point where U want to start debugging, i.e. right below the #!/bin/sh in chg-zd-mtx.
If U can't find a quick solution, maybe trying bash is an option?
hope that helps a bit
Cheers,
-roli
> regards, > Manjit Notay > > > > Click Here For Special Deals > > http://www.ebookers.com > > This email including any attachments is confidential and may be legally > privileged. If you have received it in error please advise the sender > immediately by return email and then delete it from your system.The > unauthorized use, distribution, copying or alteration of this email is > strictly forbidden. > > >
-- Dipl.-Ing. Roland Schützner Technical Management All Information Network & Services GmbH email: [EMAIL PROTECTED] phone: +43/662/45 23 35-20 fax: +43/662/45 23 35-90