From owner-freebsd-questions Thu May 11 16:37:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from Samizdat.uucom.com (samizdat.uucom.com [198.202.217.54]) by hub.freebsd.org (Postfix) with ESMTP id 7690137BCB4 for ; Thu, 11 May 2000 16:37:06 -0700 (PDT) (envelope-from cshenton@uucom.com) Received: (from cshenton@localhost) by Samizdat.uucom.com (8.9.3/8.9.3) id TAA21255; Thu, 11 May 2000 19:37:03 -0400 (EDT) To: cjclark@home.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: AMANDA and chio(1) References: <20000505081519.D13920@cc942873-a.ewndsr1.nj.home.com> From: Chris Shenton Date: 11 May 2000 19:37:03 -0400 In-Reply-To: "Crist J. Clark"'s message of "Fri, 5 May 2000 08:15:19 -0400" Message-ID: Lines: 48 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 5 May 2000 08:15:19 -0400, "Crist J. Clark" 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