Amanda-Users

Re: problems with chg-zd-mtx and using 2 drives

2007-10-16 17:17:50
Subject: Re: problems with chg-zd-mtx and using 2 drives
From: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
To: "Krahn, Anderson" <AKrahn AT gs1us DOT org>
Date: Tue, 16 Oct 2007 16:12:24 -0500
On 10/16/07, Krahn, Anderson <AKrahn AT gs1us DOT org> wrote:
> Here are the debug logs:
> 15:17:56 Running: /usr/local/sbin/mtxRunning: status
> 15:17:56 Exit code: 1
>          Stderr:
> cannot open SCSI device '/dev/scsi/changer/c3t3d1' - Permission denied
> 15:17:56 Exit (2) -> <none> no slots available
> chg-zd-mtx: pid 29607 finish time Tue Oct 16 15:17:56 2007

Ah -- so it's a permissions error.  You'll need to make sure that
'amanda', or the group amanda is in, has r/w permissions on the
changer device.  Usually that's accomplished by putting amanda in the
'disk' group or some such.

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com