Skip site navigation (1)Skip section navigation (2)
Date:      11 May 2000 19:37:03 -0400
From:      Chris Shenton <cshenton@uucom.com>
To:        cjclark@home.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: AMANDA and chio(1)
Message-ID:  <lfwvl0y7z4.fsf@Samizdat.uucom.com>
In-Reply-To: "Crist J. Clark"'s message of "Fri, 5 May 2000 08:15:19 -0400"
References:  <20000505081519.D13920@cc942873-a.ewndsr1.nj.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 5 May 2000 08:15:19 -0400, "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com> said:

Crist> I am trying to get AMANDA 2.3.0 to work with our tape
Crist> jukebox. To be able to control the jukebox, AMANDA needs a
Crist> "glue" program or script to be the interface between it and the
Crist> jukebox. One way to do this is via a script that uses chio(1)

I found 2.3 to be very difficult and ended up writing my own glue to
call chio. 


Crist> AMANDA 2.4.1, which is also in the ports, seems to come with a
Crist> SCSI glue program. However, the port claims to be dependent on
Crist> gnuplot which in turn claims to need X11. I do not have X11 on
Crist> this system and was not planning on putting it on. Does AMANDA
Crist> 2.4.1 _really_ need X11? Would the glue programs that come with
Crist> it work for 2.3.0?

I upgraded to 2.4.x a long while back and their chg-chio works well,
after one small fix:

*** chg-chio~	Sun Apr 30 12:24:18 2000
--- chg-chio	Thu May 11 14:33:53 2000
***************
*** 347,353 ****
  		$currentTape = 1;
  	}
  
! 	print STDERR "$currentTape $max_slot 1\n";
  	print "$currentTape $max_slot 1\n";
  	exit 0;
  }
--- 347,353 ----
  		$currentTape = 1;
  	}
  
! 	#BLOWS UP AMANDA: print STDERR "$currentTape $max_slot 1\n";
  	print "$currentTape $max_slot 1\n";
  	exit 0;
  }

The output to STDERR gets slurped by one of the amanda processes
(amtape?) as text and confuses it.  I reported this to the amanda
lists aeons ago but this buglet still exists.

Works well once you get all the amanda.conf and
host:~operator/.amandahosts stuff figured out.  Mail me at
chris@shenton.org if you want mine as a sample.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?lfwvl0y7z4.fsf>