Amanda-Users

RE: Amverifyrun not working in 2.5.0

2006-05-19 15:24:23
Subject: RE: Amverifyrun not working in 2.5.0
From: "Gordon J. Mills III" <Gordon.Mills AT usa DOT net>
To: <amanda-users AT amanda DOT org>
Date: Fri, 19 May 2006 14:17:22 -0500
It did work in 2.4.5. I have 2 other servers that are running 2.4.5
successfully (as this one was before yesterday). I used this one as a test
since it is not in production yet, but will be soon.

I compared the versions of the script and they are identical. It is the
amdump.1 file that appears to have changed and now doesn't contain the lines
that the script is grepping for.

Thanks,
Gordon 

> -----Original Message-----
> From: Brad Willson [mailto:bwil150n AT u.washington DOT edu] 
> Sent: Friday, May 19, 2006 11:43 AM
> To: Gordon.Mills AT usa DOT net
> Subject: Re: Amverifyrun not working in 2.5.0
> 
> Welcome to the club.  2.5.0 gives 'stable' a new meaning.
> 
> Jon Badie made the following suggestion off-list:
> 
> >If you are switching back and chg-zd-mtx works in 2.4.5, 
> save a copy of 
> >the script.  Then compare it to the 2.5 version (diff cmd) 
> and if there 
> >are differences (I don't think there should be) try the 
> older version 
> >as a drop-in replacement.
> >
> 
> Gordon J. Mills III wrote:
> 
> >I just upgraded one of my amanda servers to 2.5.0. This is on a 
> >debian-stable (sarge) machine using the apt packages. I was using 
> >2.4.5p1 before. The backup appears to have worked fine, but 
> when I run 
> >amverifyrun to determine which tape(s) to verify, I get the 
> Illegal slot: "-1" error.
> >
> >This problem appears to stem from these lines in the 
> amverifyrun script:
> >FIRST_SLOT=`grep "taper: slot" $AMLOG | fgrep 'exact label match new 
> >tape first labelstr match' | sed 1q | sed 's/://g' | awk 
> '{print $3}'` 
> >if [ X"$FIRST_SLOT" = X"" ]; then
> >  FIRST_SLOT='-1'
> >fi
> >
> >If I grep for those strings in the amdump.1 file, I do not 
> find them. 
> >Is this a bug in 2.5.0 or is it just a problem with the 
> debian packages 
> >or perhaps somehow my setup is messed up?
> >
> >Regards,
> >Gordon
> >
> >
> >
> >  
> >
> 
> --
> Brad Willson, Sr. Computer Specialist
> UW GeneTests, UW Box: 358735
> EM: bwil150n AT u.washington DOT edu
> W: 206.221.4674, C: 425.891.2732
> http://www.genetests.org
> 
> 



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