Amanda-Users

Re: Problem with changer

2006-05-09 04:37:44
Subject: Re: Problem with changer
From: Stefan MARTEL <stefan.martel4 AT ac-lille DOT fr>
To: Salvatore Enrico Indiogine <hindiogine AT gmail DOT com>
Date: Tue, 09 May 2006 10:33:01 +0200
Quoting Salvatore Enrico Indiogine <hindiogine AT gmail DOT com>:

I have the same problem as Luis when i run amcheck
Amanda Tape Server Host Check
-----------------------------
Holding disk /amanda/amandahold/test: 14245792 kB disk space available, using 14245792 kB
amcheck-server: could not get changer info: cannot determine first slot

And in my /tmp/amanda/mtx-zd-mtx.***.debug file i have :
chg-zd-mtx: debug 1 pid 8275 ruid 1002 euid 1002: start at Tue May 9 10:14:19 2006
10:14:19 Using config file /var/lib/amanda/test/changerfile.conf
10:14:19 Arg info:
         $# = 1
         $0 = "/usr/lib/amanda/chg-zd-mtx"
         $1 = "-info"
10:14:19 Running: /usr/sbin/mtx status
10:14:19 Exit code: 1
         Stderr:
failed to set sg timeout - Operation not permitted
10:14:19 Exit (2) -> <none> cannot determine first slot
chg-zd-mtx: pid 8356 finish time Tue May  9 10:14:19 2006

How can i change the permission (i don't run amcheck in "root") ?

Best regards



2006/5/8, Luis Rodrigues <luis AT ess.co DOT at>:
I'm getting an error while running chg-zd-mtx: "<none> cannot determine first slot"
Does anyone have any ideia.

When it happened to me, it was caused by incorrect permissions and
user:group for /dev/sg1 the generic SCSI device file for the changer.

I had to change them from root:root to root:disk and from 600 to 660.


Check the log files: /etc/amanda or /var/log/amanda


--
Enrico Indiogine
Parasol Laboratory
Texas A&M University

enricoi AT cs.tamu DOT edu
hindiogine AT gmail DOT com
979-845-3937





<Prev in Thread] Current Thread [Next in Thread>