Amanda-Users

Re: sendbackup: error [spawn /opt/csw/bin/gzip: dup2 err: Bad file number]

2009-04-23 16:15:24
Subject: Re: sendbackup: error [spawn /opt/csw/bin/gzip: dup2 err: Bad file number]
From: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
To: Darin Perusich <Darin.Perusich AT cognigencorp DOT com>
Date: Thu, 23 Apr 2009 15:32:13 -0400
On Thu, Apr 23, 2009 at 3:18 PM, Darin Perusich
<Darin.Perusich AT cognigencorp DOT com> wrote:
> In my continued testing of amsuntar I am intermittently seeing this
> "/opt/csw/bin/gzip: dup2 err: Bad file number" error during amdump.
> While it appears to be random I have seen this occur with certain
> partitions more then others, I've been changing up the disklist to try
> and recreate it with more frequency.

I don't know the exact circumstances, but basically this means that
gzip was trying to duplicate a file descriptor, and gave a bad file
descriptor either for the source or target argument.  If you have some
context, I may be able to give more detail -- how is gzip being
invoked?  Can you use truss or the like to figure out what it's trying
to do?

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com

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