Qmailanalog matchup error

2001-05-29 Thread John Scarborough
Title: Qmailanalog matchup error





I am trying to run matchup. I have cleaned the maillog as 
documented and generated a file to parse through matchup. 
Running matchup results in output like below .

Any help you  TIA!

/usr/local/qmailanalog/bin/matchup: 
[EMAIL PROTECTED]: No such file or directory
/usr/local/qmailanalog/bin/matchup: 990959401.508748: command 
not found
/usr/local/qmailanalog/bin/matchup: 990959401.510608: command 
not found
/usr/local/qmailanalog/bin/matchup: 990959401.555309: command 
not found
/usr/local/qmailanalog/bin/matchup: 990959401.558207: command 
not found
/usr/local/qmailanalog/bin/matchup: 990959401.559713: command 
not found
/usr/local/qmailanalog/bin/matchup: 990959420.577015: command 
not found
/usr/local/qmailanalog/bin/matchup: 990959420.578531: command 
not found
/usr/local/qmailanalog/bin/matchup: syntax error near 
unexpected token `Sorry,_I_couldn't_find_any_host_by_that_name._(#'
/usr/local/qmailanalog/bin/matchup: 
/usr/local/qmailanalog/bin/matchup: line 735: ` 
990967436.502499 delivery 1604: deferral: 
Sorry,_I_couldn't_find_any_host_by_that_name._(#4.1.2)/'
Broken pipe


John Scarborough
TwinEngines Inc.
404.522.4262
http://www.twinengines.com
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 






Re: Qmailanalog matchup error [Virus Checked]

2001-05-29 Thread Jeff_D_Sweeten

Sounds like a path PATH issue

You have have  ...\qmailanalog\bin in your path





John Scarborough [EMAIL PROTECTED] on 05/29/2001 02:23:15 PM

To:   [EMAIL PROTECTED]
cc:(bcc: Jeff D Sweeten/ASC/US/AON)
Subject:  Qmailanalog matchup error [Virus Checked]



I am trying to run matchup.  I have cleaned the maillog as
documented and generated a file to parse through matchup.
Running matchup results in output like below .

Any help you  TIA!

 /usr/local/qmailanalog/bin/matchup:
 [EMAIL PROTECTED]: No such file or directory
 /usr/local/qmailanalog/bin/matchup: 990959401.508748: command
 not found
 /usr/local/qmailanalog/bin/matchup: 990959401.510608: command
 not found
 /usr/local/qmailanalog/bin/matchup: 990959401.555309: command
 not found
 /usr/local/qmailanalog/bin/matchup: 990959401.558207: command
 not found
 /usr/local/qmailanalog/bin/matchup: 990959401.559713: command
 not found
 /usr/local/qmailanalog/bin/matchup: 990959420.577015: command
 not found
 /usr/local/qmailanalog/bin/matchup: 990959420.578531: command
 not found
 /usr/local/qmailanalog/bin/matchup: syntax error near
 unexpected token `Sorry,_I_couldn't_find_any_host_by_that_name._(#'
 /usr/local/qmailanalog/bin/matchup:
 /usr/local/qmailanalog/bin/matchup: line 735: `
 990967436.502499 delivery 1604: deferral:
 Sorry,_I_couldn't_find_any_host_by_that_name._(#4.1.2)/'
 Broken pipe


 John Scarborough
 TwinEngines Inc.
 404.522.4262
 http://www.twinengines.com
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]




Title: Qmailanalog matchup error





I am trying to run matchup. I have cleaned the maillog as 
documented and generated a file to parse through matchup. 
Running matchup results in output like below .

Any help you  TIA!

/usr/local/qmailanalog/bin/matchup: 
[EMAIL PROTECTED]: No such file or directory
/usr/local/qmailanalog/bin/matchup: 990959401.508748: command 
not found
/usr/local/qmailanalog/bin/matchup: 990959401.510608: command 
not found
/usr/local/qmailanalog/bin/matchup: 990959401.555309: command 
not found
/usr/local/qmailanalog/bin/matchup: 990959401.558207: command 
not found
/usr/local/qmailanalog/bin/matchup: 990959401.559713: command 
not found
/usr/local/qmailanalog/bin/matchup: 990959420.577015: command 
not found
/usr/local/qmailanalog/bin/matchup: 990959420.578531: command 
not found
/usr/local/qmailanalog/bin/matchup: syntax error near 
unexpected token `Sorry,_I_couldn't_find_any_host_by_that_name._(#'
/usr/local/qmailanalog/bin/matchup: 
/usr/local/qmailanalog/bin/matchup: line 735: ` 
990967436.502499 delivery 1604: deferral: 
Sorry,_I_couldn't_find_any_host_by_that_name._(#4.1.2)/'
Broken pipe


John Scarborough
TwinEngines Inc.
404.522.4262
http://www.twinengines.com
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 







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



qmailanalog - matchup

2000-04-27 Thread Steffan Hoeke

Hi,

I've (finally) started using qmailanalog, but when i try to pass a specific maillog 
through matchup i get the following error :

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

I'm using a script to pass maillog  maillog.1 thu 7 to matchup.
2 of the logs generate this error :-(

I've attached the script, just in case.
I know it's not great programming, it's more 'brute force', but i'm a newbie to unix 
and haven't gotten the hang of scripting yet :-(

Thanks,
 Steffan
-- 
http://therookie.dyndns.org


#
## Which shell to use for processing
#
#!/usr/local/bin/bash

#
## Where should temporary files be stored
#
TempLoc=/tmp

#
## Where can i find the log files
#
LogLoc=/var/log

cd $TempLoc
echo preprocessing maillog.7
echo -n '   copying'
cp $LogLoc/maillog.7.gz .
echo ' .'
echo -n '   unpacking'
gunzip ./maillog.7.gz
echo ' .'
echo -n '   filtering'
awk '{$1="";$2="";$3="";$4="";$5="";print}' ./maillog.7 | matchup 
./matchup.out
echo ' .'

echo preprocessing maillog.6
echo -n '   copying'
cp $LogLoc/maillog.6.gz .
echo ' .'
echo -n '   unpacking'
gunzip ./maillog.6.gz
echo ' .'
echo -n '   filtering'
awk '{$1="";$2="";$3="";$4="";$5="";print}' ./maillog.6 | matchup 
./matchup.out
echo ' .'

echo preprocessing maillog.5
echo -n '   copying'
cp $LogLoc/maillog.5.gz .
echo ' .'
echo -n '   unpacking'
gunzip ./maillog.5.gz
echo ' .'
echo -n '   filtering'
awk '{$1="";$2="";$3="";$4="";$5="";print}' ./maillog.5 | matchup 
./matchup.out
echo ' .'

echo preprocessing maillog.4
echo -n '   copying'
cp $LogLoc/maillog.4.gz .
echo ' .'
echo -n '   unpacking'
gunzip ./maillog.4.gz
echo ' .'
echo -n '   filtering'
awk '{$1="";$2="";$3="";$4="";$5="";print}' ./maillog.4 | matchup 
./matchup.out
echo ' .'

echo preprocessing maillog.3
echo -n '   copying'
cp $LogLoc/maillog.3.gz .
echo ' .'
echo -n '   unpacking'
gunzip ./maillog.3.gz
echo ' .'
echo -n '   filtering'
awk '{$1="";$2="";$3="";$4="";$5="";print}' ./maillog.3 | matchup 
./matchup.out
echo ' .'

echo preprocessing maillog.2
echo -n '   copying'
cp $LogLoc/maillog.2.gz .
echo ' .'
echo -n '   unpacking'
gunzip ./maillog.2.gz
echo ' .'
echo -n '   filtering'
awk '{$1="";$2="";$3="";$4="";$5="";print}' ./maillog.2 | matchup 
./matchup.out
echo ' .'

echo preprocessing maillog.1
echo -n '   copying'
cp $LogLoc/maillog.1.gz .
echo ' .'
echo -n '   unpacking'
gunzip ./maillog.1.gz
echo ' .'
echo -n '   filtering'
awk '{$1="";$2="";$3="";$4="";$5="";print}' ./maillog.1 | matchup 
./matchup.out
echo ' .'

echo preprocessing maillog.0
echo -n '   copying'
cp $LogLoc/maillog.0.gz .
echo ' .'
echo -n '   unpacking'
gunzip ./maillog.0.gz
echo ' .'
echo -n '   filtering'
awk '{$1="";$2="";$3="";$4="";$5="";print}' ./maillog.0 | matchup 
./matchup.out
echo ' .'

echo preprocessing maillog
echo -n '   copying'
cp $LogLoc/maillog .
echo ' .'
echo -n '   unpacking'
echo -n ' not needed'
echo ' .'
echo -n '   filtering'
awk '{$1="";$2="";$3="";$4="";$5="";print}' ./maillog | matchup 
./matchup.out
echo ' .'
echo cleaning up
echo -n '   removing maillog.7'
rm maillog.7
echo ' .'
echo -n '   removing maillog.6'
rm maillog.6
echo ' .'   
echo -n '   removing maillog.5'
rm maillog.5
echo ' .'   
echo -n '   removing maillog.4'
rm maillog.4
echo ' .'
echo -n '   removing maillog.3'
rm maillog.3
echo ' .'
echo -n '   removing maillog.2'
rm maillog.2
echo ' .'
echo -n '   removing maillog.1'
rm maillog.1
echo ' .'
echo -n '   removing maillog.0'
rm maillog.0
echo ' .'
echo -n '   removing maillog'
rm maillog
echo ' .'



Re: qmailanalog - matchup

2000-04-27 Thread Peter Green

On Thu, Apr 27, 2000 at 12:35:21PM +0200, Steffan Hoeke wrote:
 Hi,
 
 I've (finally) started using qmailanalog, but when i try to pass a
 specific maillog through matchup i get the following error :
 
 matchup: fatal: unable to write to fd 5: file descriptor not open

Did you read the man page for matchup?

   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

It's only an error if there are messages pending. You'll probably want to
change your script to reflect this or you won't have accurate reports.

/pg
-- 
Peter Green
Gospel Communications Network, SysAdmin
[EMAIL PROTECTED]