Koozali.org: home of the SME Server

Errors in spamd/current - warn failed to run x

Offline Paul Howard

  • *
  • 17
  • +0/-0
    • The Devil Wears A Mechanical Heart
Errors in spamd/current - warn failed to run x
« on: January 30, 2008, 04:43:53 PM »
Okay I am new to SME Server and still classify myself as a Linux newbie. I wasnt sure where to post this, so hope for my first post I don't make a hash of it.

I have taken a look at the spamd/current log file and the RBL lookups appear to have been operating successfully until 25th January and then something has gone wrong, although I dont know what. I've set out an extract of the log below.

Quote
2008-01-25 09:30:49.310455500 [2974] warn: Error creating a DNS resolver socket: Network is unreachable at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/DnsResolver.pm line 233.
2008-01-25 09:30:52.630018500 [2974] warn: razor2: razor2 check failed: No such file or directory razor2: razor2 had unknown error during get_server_info at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/Plugin/Razor2.pm line 188. at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/Plugin/Razor2.pm line 326.
2008-01-25 09:30:58.904647500 [2974] info: spamd: server started on port 783/tcp (running version 3.2.4)
2008-01-25 09:30:58.904999500 [2974] info: spamd: server pid: 2974
2008-01-25 09:30:58.927201500 [2974] info: spamd: server successfully spawned child process, pid 3776
2008-01-25 09:30:58.945818500 [2974] info: spamd: server successfully spawned child process, pid 3777
2008-01-25 09:30:58.950639500 [2974] info: prefork: child states: II
2008-01-25 09:45:26.282417500 [3776] info: spamd: connection from localhost [127.0.0.1] at port 32836
2008-01-25 09:45:26.310475500 [3776] info: spamd: checking message <000701c85f33$05d592c1$991a4ea8@kduppd> for qpsmtpd:1005
2008-01-25 09:45:26.365205500 [3776] warn: plugin: eval failed: oops, no key at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/AsyncLoop.pm line 173, <GEN9> line 80.
2008-01-25 09:45:26.371881500 [3776] warn: rules: failed to run DNS_FROM_AHBL_RHSBL RBL test, skipping:
2008-01-25 09:45:26.372038500 [3776] warn:  (oops, no id at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/AsyncLoop.pm line 172, <GEN9> line 80.
2008-01-25 09:45:26.372101500 [3776] warn: )
2008-01-25 09:45:26.373915500 [3776] warn: rules: failed to run NO_DNS_FOR_FROM RBL test, skipping:
2008-01-25 09:45:26.374072500 [3776] warn:  (oops, no id at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/AsyncLoop.pm line 172, <GEN9> line 80.
2008-01-25 09:45:26.374136500 [3776] warn: )
2008-01-25 09:45:26.377298500 [3776] warn: rules: failed to run DNS_FROM_DOB RBL test, skipping:
2008-01-25 09:45:26.377418500 [3776] warn:  (oops, no id at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/AsyncLoop.pm line 172, <GEN9> line 80.
2008-01-25 09:45:26.377478500 [3776] warn: )
2008-01-25 09:45:26.383785500 [3776] warn: rules: failed to run DNS_FROM_OPENWHOIS RBL test, skipping:
2008-01-25 09:45:26.383905500 [3776] warn:  (oops, no id at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/AsyncLoop.pm line 172, <GEN9> line 80.
2008-01-25 09:45:26.383995500 [3776] warn: )
2008-01-25 09:45:26.385173500 [3776] warn: rules: failed to run __RFC_IGNORANT_ENVFROM RBL test, skipping:
2008-01-25 09:45:26.385291500 [3776] warn:  (oops, no id at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/AsyncLoop.pm line 172, <GEN9> line 80.
2008-01-25 09:45:26.385348500 [3776] warn: )
2008-01-25 09:45:31.736087500 [3776] info: spamd: identified spam (16.8/4.0) for qpsmtpd:1005 in 5.5 seconds, 3441 bytes.
2008-01-25 09:45:31.736097500 [3776] info: spamd: result: Y 16 - DIGEST_MULTIPLE,DOS_OE_TO_MX,HTML_MESSAGE,PYZOR_CHECK,RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E4_51_100,RAZOR2_CF_RANGE_E8_51_100,RAZOR2_CHECK,RCVD_NUMERIC_HELO,RDNS_NONE,SARE_SPEC_REPLICA_OBFU,SARE_SPEC_ROLEX,SARE_SPEC_ROLEX_NOV5A scantime=5.5,size=3441,user=qpsmtpd,uid=1005,required_score=4.0,rhost=localhost,raddr=127.0.0.1,rport=32836,mid=<000701c85f33$05d592c1$991a4ea8@kduppd>,autolearn=failed
2008-01-25 09:45:32.259904500 [2974] info: prefork: child states: II
2008-01-25 09:52:41.367913500 [2974] info: spamd: server killed by SIGTERM, shutting down
2008-01-25 09:54:43.991889500 [2952] warn: Error creating a DNS resolver socket: Network is unreachable at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/DnsResolver.pm line 233.
2008-01-25 09:54:47.644132500 [2952] warn: razor2: razor2 check failed: No such file or directory razor2: razor2 had unknown error during get_server_info at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/Plugin/Razor2.pm line 188. at /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin/Plugin/Razor2.pm line 326.
2008-01-25 09:54:53.369824500 [2952] info: spamd: server started on port 783/tcp (running version 3.2.4)
2008-01-25 09:54:53.370121500 [2952] info: spamd: server pid: 2952
2008-01-25 09:54:53.390228500 [2952] info: spamd: server successfully spawned child process, pid 3747
2008-01-25 09:54:53.407985500 [2952] info: spamd: server successfully spawned child process, pid 3748
2008-01-25 09:54:53.413283500 [2952] info: prefork: child states: IS
2008-01-25 09:54:53.509116500 [2952] info: prefork: child states: II

It looks like RBL lookups are failing and log entries are still be written like those above,  which is worrying!  No idea where I go from here, any help appreicated.

Offline mdo

  • *
  • 355
  • +0/-0
Re: Errors in spamd/current - warn failed to run x
« Reply #1 on: January 30, 2008, 06:59:36 PM »
Good catch Paul.

Things like this should not be reported here, instead please do what the headerlines say whenever you create a forum post:
"Don't report problems here - Please report bugs and potential bugs in the bug tracker"

Please follow the link to the bug tracker and report the issue there. That's where the developers will pick up but posts in the forums about problems can get lost.
...

Offline Paul Howard

  • *
  • 17
  • +0/-0
    • The Devil Wears A Mechanical Heart
Re: Errors in spamd/current - warn failed to run x
« Reply #2 on: January 31, 2008, 09:42:26 AM »
Sorry  :oops: I wasn't too sure whether it was bug or whether somewhere along the line I had knackered something up being a newbie. Didn't want to file a bug and waste time if I had been a donut. 

I'll file a bug report. Thanks.

Offline okepc

  • ****
  • 118
  • +0/-0
    • http://www.okepc.nl
Re: Errors in spamd/current - warn failed to run x
« Reply #3 on: January 31, 2008, 09:56:29 AM »
Please post a link to the bug report?

Offline Paul Howard

  • *
  • 17
  • +0/-0
    • The Devil Wears A Mechanical Heart
Re: Errors in spamd/current - warn failed to run x
« Reply #4 on: January 31, 2008, 10:30:30 AM »