Mtx is installed in /usr/local/sbin which is in the path of the Amanda and root user. [EMAIL PROTECTED] [/home/amanda]#which mtx /usr/local/sbin/mtx
[EMAIL PROTECTED] [/home/amanda]#logout [EMAIL PROTECTED] [~]#which mtx /usr/local/sbin/mtx -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon LaBadie Sent: Tuesday, October 16, 2007 11:09 AM To: amanda-users@amanda.org Subject: Re: problems with chg-zd-mtx and using 2 drives On Tue, Oct 16, 2007 at 10:53:09AM -0500, Krahn, Anderson wrote: > Here are some errors i get with chg-zd-mtx: > > chg-zd-mtx: debug 1 pid 9380 ruid 30063 euid 30063: start at Mon Oct > > 15 14:34:48 2007 > > 14:34:48 Using config file /etc/amanda/Full/changer.conf > > 14:34:48 Arg info: > > $# = 1 > > $0 = "/opt/amanda/client/libexec/chg-zd-mtx" > > $1 = "-info" > > 14:34:48 Running: mtxRunning: status > > 14:34:48 Exit code: 127 > > Stderr: > > /opt/amanda/client/libexec/chg-zd-mtx: line 389: mtx: command not found ^^^^^^^^^^^^^^^^^^^^^^ I don't know why the PATH variable in effect when this script is running does not include the directory for the mtx binary, but that does appear to be the case. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road (609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)