barcode scanners (or, chg-zd-mtx problem)

2005-07-08 Thread Cam
Hi, My amanda configuration is working nicely, but i have a problem w/ the barcode scanning stuff. MTX reports all the :VolumeTag=blahblah stuff indicating that my barcode scanner should be working. the tape-changer i'm using is chg-zd-mtx. i a line in my /etc/amana/DailySet1/amanda.conf that

Re: barcode scanners (or, chg-zd-mtx problem)

2005-07-08 Thread Benjamin Lewis
On July 8 2005, Cam wrote: havereader 1 firstslot 1 lastslot 17 cleanslot -1 offline_before_unload 0 but when i run the /usr/lib/amanda/chg-zd-mtx -info' it reports 4 30 1 You need equals signs (=) between the keywords and values in the changer.conf file. Like this: havereader=1

Re: barcode scanners (or, chg-zd-mtx problem)

2005-07-08 Thread Graeme Humphries
On Fri, 2005-07-08 at 10:34 -0600, Cam wrote: havereader 1 firstslot 1 lastslot 17 cleanslot -1 offline_before_unload 0 but when i run the /usr/lib/amanda/chg-zd-mtx -info' it reports 4 30 1 Where are you running it from? It'll read the config in the local directory (IIRC), so you should

Re: another chg-zd-mtx problem

2003-02-14 Thread Pete Poggione
All of my issues have been solved and Amanda is running like a champ. I wanted to thank all of you that worked with me off list to solve the problem and apologize for posting so many emails at first. The final solution: You know how hard it is to RTFM at times.. In the chg-zd-mtx script itself

Re: another chg-zd-mtx problem

2003-02-13 Thread Pete Poggione
Jon - Perhaps I'm have a blonde moment over this whole configuration issue. Please excuse my ignorance... and I do appreciate your help. Below see my comments embedded in your last email.. On Wed, 2003-02-12 at 15:16, Jon LaBadie wrote: Is there a groups command on your system. Or maybe the

Re: another chg-zd-mtx problem

2003-02-13 Thread Gene Heskett
On Thursday 13 February 2003 09:54, Pete Poggione wrote: Jon - Perhaps I'm have a blonde moment over this whole configuration issue. Please excuse my ignorance... and I do appreciate your help. Below see my comments embedded in your last email.. On Wed, 2003-02-12 at 15:16, Jon LaBadie wrote:

Re: another chg-zd-mtx problem

2003-02-12 Thread Pete Poggione
Eric - Yeah my brain must have been up my proverbial a**. I actually tried that first and it didn't work. What I didn't pay attention to was that /dev/sg2 actually was a sym link to /dev/scsi/host0/ (I'm running Mandrake 9 and using devfs) So once I changed the group recursively of

Re: another chg-zd-mtx problem

2003-02-12 Thread Eric Sproul
On Wed, 2003-02-12 at 09:58, Pete Poggione wrote: If I change the group of /dev/sg2 to disk (the amanda group on my box is 'disk') I still get the same problem: [root@ruby daily-net]# ls -la /dev/sg2 lr-xr-xr-x1 root disk 36 Feb 10 13:45 /dev/sg2 - scsi/host0/ Pete, Could

Re: another chg-zd-mtx problem

2003-02-12 Thread Pete Poggione
You and I are thinking the same. As I looked further it seems for some reason the target was not owned by root but rather by me.(?) changing the ownership to root eliminated all permission issues. It is now like this: [root@ruby dev]# ls -l sg2 lr-xr-xr-x1 root root 36 Feb 10

Re: another chg-zd-mtx problem

2003-02-12 Thread Eric Sproul
On Wed, 2003-02-12 at 10:49, Pete Poggione wrote: You and I are thinking the same. As I looked further it seems for some reason the target was not owned by root but rather by me.(?) changing the ownership to root eliminated all permission issues. It is now like this: [root@ruby dev]# ls -l

Re: another chg-zd-mtx problem

2003-02-12 Thread Pete Poggione
in hopes that it would fix the chg-zd-mtx problem. The system is Mandrake 9.0 ~P On Wed, 2003-02-12 at 11:09, Eric Sproul wrote: On Wed, 2003-02-12 at 10:49, Pete Poggione wrote: You and I are thinking the same. As I looked further it seems for some reason the target was not owned by root

Re: another chg-zd-mtx problem

2003-02-12 Thread Jean-Louis Martineau
. Incidentally there has been some questions as to the version of Amanda I am running. It's 2.4.3 now. I upgraded from 2.4.2 in hopes that it would fix the chg-zd-mtx problem. The system is Mandrake 9.0 ~P On Wed, 2003-02-12 at 11:09, Eric Sproul wrote: On Wed, 2003-02-12 at 10:49

Re: another chg-zd-mtx problem

2003-02-12 Thread Jon LaBadie
On Wed, Feb 12, 2003 at 12:25:40PM -0500, Pete Poggione wrote: amcheck now gives me: Amanda Tape Server Host Check - Holding disk /var/tmp: 7048472 KB disk space available, that's plenty amcheck-server: could not get changer info: could not determine current

another chg-zd-mtx problem

2003-02-11 Thread Pete Poggione
If this problem is addressed somewhere else in the mail list archives I apologize in advance. I have not been able to find anything that helps me solve this problem after 3 days of searching and fiddling... THE HISTORY: I have had Amanda configured and running on this server with a single

Re: another chg-zd-mtx problem

2003-02-11 Thread Eric Sproul
On Tue, 2003-02-11 at 14:41, Pete Poggione wrote: I get an error trying to access /dev/sg2 as the Amanda user so I had to set /sbin/mtx to run as suid root. That seemed to take care of that issue (if anyone has a better idea let me know) Pete, This is not wise-- with suid root, any

Re: another chg-zd-mtx problem

2003-02-11 Thread John R. Jackson
amcheck-server: could not get changer info: badly formed result from changer: /usr/lib/amanda/chg-zd-mtx: line 151: [: : integer expression expected You neglected to mention what version of Amanda you're using, but this was a known problem with chg-zd-mtx a while back. I don't think it was every

chg-zd-mtx problem

2001-03-14 Thread Mark L. Chang
in loadslot() we have code that picks the slot source/destination: [${firstslot}-${lastslot}]) loadslot=$1 ;; clean) loadslot=$cleanslot ;; *)

Re: chg-zd-mtx problem

2001-03-14 Thread Jason Hollinden
Get the newest chg.zd.mtx.sh.in from CVS, as it's fixed there. On Wed, 14 Mar 2001, Mark L. Chang wrote: in loadslot() we have code that picks the slot source/destination: [${firstslot}-${lastslot}]) loadslot=$1 ;;