RE: REPOST:Need some help with - EX_IOERR 74 input/output error

2006-02-16 Thread Dallas L. Engelken
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Friday, February 10, 2006 18:24
 To: users@spamassassin.apache.org
 Subject: RE: REPOST:Need some help with - EX_IOERR 74 
 input/output error
 
 - Original Message -
  I'm not sure it'll be a parameter as only about 7,000 
 messages failed 
  out of 90,000. Unless its some kind of time out... But thats the 
  thing, I don't know what the error 70 means.
 
 look for a file called sysexits.h. there you can get the meaning of 
 error codes. taken from a feroda sysexits.h:
 EX_IOERR -- An error occurred while doing I/O on some file.
 define EX_IOERR74  /* input/output error */
 
 well, thats not much of information. but place a 'set -x'
 at the top of your bash script, this might help discovering the 
 problem.
 
 regards,
 
 I allready know (realize) the EX_IOERR is an IO error. I'm 
 trying to figure out what is going on to cause it and what 
 exactly the system is trying to tell me that it failed on.
 Could it not find the file? The directory? Read the file? As 
 you indicated the sysexits.h doesn't tell much.
 

Memory exhaustion will also cause this if you softlimit your spam daemon
too low, the [74] is how spamc exited.

2006-02-16 14:42:27:11462: error_condition: ANTISPAM: spamassassin error
code: [74]
2006-02-16 14:42:27.582304500 Out of memory!

2006-02-16 14:42:29:11473: error_condition: ANTISPAM: spamassassin error
code: [74]
2006-02-16 14:42:29.777359500 Out of memory!

2006-02-16 14:42:39:11833: error_condition:  ANTISPAM: spamassassin
error code: [74]
2006-02-16 14:42:39.601188500 Out of memory!

D





RE: REPOST:Need some help with - EX_IOERR 74 input/output error

2006-02-10 Thread Dallas L. Engelken
 -Original Message-
 From: Matthias Fuhrmann 
 [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 09, 2006 6:50 PM
 To: Kevin W. Gagel
 Cc: users@spamassassin.apache.org
 Subject: RE: REPOST:Need some help with - EX_IOERR 74 
 input/output error
 
 On Thu, 9 Feb 2006, Kevin W. Gagel wrote:
 
  - Original Message -
   Has anyone got any idea's on this? No one responded to my first 
   post on it.
   ---
   I'm using a script to pipe messages to spamc. Out of 
 about  90,000 
   messages passed to spamc via the script about 7,000  
 failed with an 
   error code of 74.
  
   What does spamc mean by EX_IOERR?
  
   Is this a failure between my script and spamc or something else?
  
  Ok, ok... I'll come to the rescue!  :)
  
  I've fought this before.  I believe the problem was improper 
  commenting of user parameter passed via my perl script.  
 Can you show 
  me your code that calls spamc plz?
 
  OK, I've uploaded it to my filestore, you can access it at:
  http://mail.cnc.bc.ca/users/[EMAIL PROTECTED]/EX_IOERR/mailfilter.txt
 
  I'm not sure it'll be a parameter as only about 7,000 
 messages failed 
  out of 90,000. Unless its some kind of time out... But thats the 
  thing, I don't know what the error 70 means.
 
 look for a file called sysexits.h. there you can get the 
 meaning of error codes. taken from a feroda sysexits.h:
 EX_IOERR -- An error occurred while doing I/O on some file.
 define EX_IOERR74  /* input/output error */
 
 well, thats not much of information. but place a 'set -x' at 
 the top of your bash script, this might help discovering the problem.
 

Also, man spamc lists all the possible return codes.

   EX_USAGE64  command line usage error
   EX_DATAERR  65  data format error
   EX_NOINPUT  66  cannot open input
   EX_NOUSER   67  addressee unknown
   EX_NOHOST   68  host name unknown
   EX_UNAVAILABLE  69  service unavailable
   EX_SOFTWARE 70  internal software error
   EX_OSERR71  system error (e.g., can't fork)
   EX_OSFILE   72  critical OS file missing
   EX_CANTCREAT73  can't create (user) output file
   EX_IOERR74  input/output error
   EX_TEMPFAIL 75  temp failure; user is invited to retry
   EX_PROTOCOL 76  remote error in protocol
   EX_NOPERM   77  permission denied
   EX_CONFIG   78  configuration error

Dallas


RE: REPOST:Need some help with - EX_IOERR 74 input/output error

2006-02-10 Thread Kevin W. Gagel
- Original Message -
 I'm not sure it'll be a parameter as only about 7,000
 messages failed out of 90,000. Unless its some kind of
 time out... But thats the thing, I don't know what the
 error 70 means.

look for a file called sysexits.h. there you can get the
meaning of error codes. taken from a feroda sysexits.h:
EX_IOERR -- An error occurred while doing I/O on some file.
define EX_IOERR74  /* input/output error */

well, thats not much of information. but place a 'set -x'
at the top of your bash script, this might help discovering
the problem.

regards,

I allready know (realize) the EX_IOERR is an IO error. I'm
trying to figure out what is going on to cause it and what
exactly the system is trying to tell me that it failed on.
Could it not find the file? The directory? Read the file? As
you indicated the sysexits.h doesn't tell much.

What will the set -x do?

=
Kevin W. Gagel
Network Administrator
Information Technology Services
(250) 562-2131 local 448
My Blog:
http://mail.cnc.bc.ca/blogs/gagel

---
The College of New Caledonia, Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://avas.cnc.bc.ca
---


RE: REPOST:Need some help with - EX_IOERR 74 input/output error

2006-02-10 Thread Matthias Fuhrmann
On Fri, 10 Feb 2006, Kevin W. Gagel wrote:

 - Original Message -
  I'm not sure it'll be a parameter as only about 7,000
  messages failed out of 90,000. Unless its some kind of
  time out... But thats the thing, I don't know what the
  error 70 means.
 
 look for a file called sysexits.h. there you can get the
 meaning of error codes. taken from a feroda sysexits.h:
 EX_IOERR -- An error occurred while doing I/O on some file.
 define EX_IOERR74  /* input/output error */
 
 well, thats not much of information. but place a 'set -x'
 at the top of your bash script, this might help discovering
 the problem.
 
 regards,

 I allready know (realize) the EX_IOERR is an IO error. I'm
 trying to figure out what is going on to cause it and what
 exactly the system is trying to tell me that it failed on.
 Could it not find the file? The directory? Read the file? As
 you indicated the sysexits.h doesn't tell much.
 What will the set -x do?

it makes the bash script verbose, its kind of debugging modus.
just try, wont harm anything.

regards,
Matthias


RE: REPOST:Need some help with - EX_IOERR 74 input/output error

2006-02-09 Thread Dallas L. Engelken
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 09, 2006 3:58 PM
 To: users@spamassassin.apache.org
 Subject: REPOST:Need some help with - EX_IOERR 74 input/output error
 
 Has anyone got any idea's on this? No one responded to my 
 first post on it.
 ---
 I'm using a script to pipe messages to spamc. Out of about 
 90,000 messages passed to spamc via the script about 7,000 
 failed with an error code of 74.
 
 What does spamc mean by EX_IOERR?
 
 Is this a failure between my script and spamc or something else?
 

Ok, ok... I'll come to the rescue!  :)

I've fought this before.  I believe the problem was improper commenting
of user parameter passed via my perl script.  Can you show me your code
that calls spamc plz?

D

  


RE: REPOST:Need some help with - EX_IOERR 74 input/output error

2006-02-09 Thread Kevin W. Gagel
- Original Message -
 Has anyone got any idea's on this? No one responded to my
 first post on it.
 ---
 I'm using a script to pipe messages to spamc. Out of
 about  90,000 messages passed to spamc via the script
 about 7,000  failed with an error code of 74.
 
 What does spamc mean by EX_IOERR?
 
 Is this a failure between my script and spamc or
 something else? 

Ok, ok... I'll come to the rescue!  :)

I've fought this before.  I believe the problem was
improper commenting of user parameter passed via my perl
script.  Can you show me your code that calls spamc plz?

OK, I've uploaded it to my filestore, you can access it at:
http://mail.cnc.bc.ca/users/[EMAIL PROTECTED]/EX_IOERR/mailfilter.txt

I'm not sure it'll be a parameter as only about 7,000
messages failed out of 90,000. Unless its some kind of time
out... But thats the thing, I don't know what the error 70
means.

=
Kevin W. Gagel
Network Administrator
Information Technology Services
(250) 562-2131 local 448
My Blog:
http://mail.cnc.bc.ca/blogs/gagel

---
The College of New Caledonia, Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://avas.cnc.bc.ca
---


RE: REPOST:Need some help with - EX_IOERR 74 input/output error

2006-02-09 Thread Matthias Fuhrmann
On Thu, 9 Feb 2006, Kevin W. Gagel wrote:

 - Original Message -
  Has anyone got any idea's on this? No one responded to my
  first post on it.
  ---
  I'm using a script to pipe messages to spamc. Out of
  about  90,000 messages passed to spamc via the script
  about 7,000  failed with an error code of 74.
 
  What does spamc mean by EX_IOERR?
 
  Is this a failure between my script and spamc or
  something else?
 
 Ok, ok... I'll come to the rescue!  :)
 
 I've fought this before.  I believe the problem was
 improper commenting of user parameter passed via my perl
 script.  Can you show me your code that calls spamc plz?

 OK, I've uploaded it to my filestore, you can access it at:
 http://mail.cnc.bc.ca/users/[EMAIL PROTECTED]/EX_IOERR/mailfilter.txt

 I'm not sure it'll be a parameter as only about 7,000
 messages failed out of 90,000. Unless its some kind of time
 out... But thats the thing, I don't know what the error 70
 means.

look for a file called sysexits.h. there you can get the meaning of error
codes. taken from a feroda sysexits.h:
EX_IOERR -- An error occurred while doing I/O on some file.
define EX_IOERR74  /* input/output error */

well, thats not much of information. but place a 'set -x' at the top of
your bash script, this might help discovering the problem.

regards,
Matthias