Amanda-Users

Re: "no slots available" error with amanda and chg-zd-mtx

2003-08-01 12:19:39
Subject: Re: "no slots available" error with amanda and chg-zd-mtx
From: Darin Dugan <dddugan AT iastate DOT edu>
To: "Woodman, Joel" <woodman AT chuma1.cas.usf DOT edu>, "'amanda-users AT amanda DOT org'" <amanda-users AT amanda DOT org>
Date: Fri, 01 Aug 2003 11:16:24 -0500

At 10:44 AM 8/1/2003, Woodman, Joel wrote:
Hello Amanda folks,

I'm a shiny new Amanda user, with a Dell PowerEdge 6450 server and a
PowerVault 120T tape pod. The server's running RedHat Linux 9 and Amanda
2.4.4p1, with chg-zd-mtx managing the tape changer. mtx is mtx 1.2.18rel,
from ftp.badtux.net. As far as I can tell, I've configured everything
properly, however I've been stumped by one serious error:

# /usr/lib/amanda/chg-zd-mtx -info
<none> no slots available
<snip>
The chg-zd-mtx log does show that something's gone wrong:

chg-zd-mtx: debug 1 pid 26374 ruid 0 euid 0: start at Fri Aug  1 11:21:48
2003
11:21:49 Using config file /etc/amanda/cas-unix/changer.conf
11:21:49 Arg info:
         $# = 1
         $0 = "/usr/lib/amanda/chg-zd-mtx"
         $1 = "-info"
11:21:49 Running: mtx status
11:21:49 Exit code: 127
         Stderr:
/usr/lib/amanda/chg-zd-mtx: line 381: mtx: command not found
11:21:49 Exit (2) -> <none> no slots available
chg-zd-mtx: pid 26452 finish time Fri Aug  1 11:21:49 2003

Does the value of $MTX set in /usr/lib/amanda/chg-zd-mtx match the correct path to mtx on your system?


<snip>
So-- what gives? If I run amtape, it says that no slots are available, just
like chg-zd-mtx does.
-Joel

--
Darin Dugan
dddugan AT iastate DOT edu