Possible bug in qmailanalog matchup program?

2000-11-08 Thread James Morgenstein

All-

I am attempting to process about 500 MB of qmail log files but continue to
run into the following bug when running the matchup program:

  matchup: fatal: unable to write fd 5: file descriptor not open

I have isolated the problem to the matchup program by running the following
sequence of commands:

  # cat /var/log/qmail/*.s /var/log/qmail/current  biglog.txt
  # cat biglog.txt | /usr/local/qmailanalog/bin/tai64nfrac  big64nfrac.txt
  # cat big64nfrac.txt | /usr/local/qmailanalog/bin/matchup  bigmatchup.txt

I get the above error on the last line of this sequence of commands.

I also get the same error if I string all of these commands together into a
single line such as:

  # cat /var/log/qmail/*.s /var/log/qmail/current |
/usr/local/qmailanalog/bin/tai64nfrac | /usr/local/qmailanalog/bin/matchup 
bigmatchup.txt

Without being able to process all the data, I am afraid that I cannot
extract the information I desire using the other qmailanalog tools.

Thanks for the help.

James




Re: Possible bug in qmailanalog matchup program?

2000-11-08 Thread Peter van Dijk

On Wed, Nov 08, 2000 at 12:21:16PM -0500, James Morgenstein wrote:
[snip]
 
   matchup: fatal: unable to write fd 5: file descriptor not open

You obviously did not read the docs.

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me
'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me



Re: Possible bug in qmailanalog matchup program?

2000-11-08 Thread Ben Beuchler

On Wed, Nov 08, 2000 at 12:21:16PM -0500, James Morgenstein wrote:

 I am attempting to process about 500 MB of qmail log files but continue to
 run into the following bug when running the matchup program:
 
   matchup: fatal: unable to write fd 5: file descriptor not open

man matchup

It's not a bug.

-- 
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612) 321-9290 x101
Bitstream Underground   www.bitstream.net



Re: Possible bug in qmailanalog matchup program?

2000-11-08 Thread Mate Wierdl

On Wed, Nov 08, 2000 at 12:21:16PM -0500, James Morgenstein wrote:
 All-
 
 I am attempting to process about 500 MB of qmail log files but continue to
 run into the following bug when running the matchup program:
 
   matchup: fatal: unable to write fd 5: file descriptor not open
 
 I have isolated the problem to the matchup program by running the following
 sequence of commands:
 
   # cat /var/log/qmail/*.s /var/log/qmail/current  biglog.txt
   # cat biglog.txt | /usr/local/qmailanalog/bin/tai64nfrac  big64nfrac.txt
   # cat big64nfrac.txt | /usr/local/qmailanalog/bin/matchup  bigmatchup.txt

How does this correspond to what the man page for matchup says:

   matchup  exits after it sees end of file.  It prints pend
   ing messages and deliveries on descriptor 5, in  a  format
   suitable for input to a future invocation of matchup:

  log.1 matchup out.1 5pending.2
  cat pending.2 log.2 | matchup out.2 5pending.3
  cat pending.3 log.3 | matchup out.3 5pending.4

Mate