255 retcodes in syslog
Julian Field
mailscanner at ecs.soton.ac.uk
Sun Nov 21 12:11:25 GMT 2004
[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Can you change Log.pm line 140 to read
Sys::Syslog::syslog($level, $_) if $_ ne "";
and tell me if this helps.
Jeff A. Earickson wrote:
> Julian,
>
> What I already had in my 4.35.11 and the Message.pm file in 4.36.1
> were the same (cksum = 1930658726 166284). Thinking that the syslog
> fix might have been someplace else in 4.36.1, I went ahead and upgraded
> to 4.36.1. Still the same syslog complaint at the bottom of a debug
> run:
>
> syslog: expecting argument $format at
> /opt/MailScanner/lib/MailScanner/Log.pm line 140
> 255
>
> The entire debug output is 496KB. The "MailScanner -v" output is
> attached.
>
> Jeff Earickson
> Colby College
>
> On Sat, 20 Nov 2004, Julian Field wrote:
>
>> Date: Sat, 20 Nov 2004 12:27:26 +0000
>> From: Julian Field <mailscanner at ECS.SOTON.AC.UK>
>> Reply-To: MailScanner mailing list <MAILSCANNER at JISCMAIL.AC.UK>
>> To: MAILSCANNER at JISCMAIL.AC.UK
>> Subject: Re: 255 retcodes in syslog
>>
>> Please can you try the Message.pm from 4.36.1 as I fixed 1 syslog bug in
>> there.
>>
>> Jeff A. Earickson wrote:
>>
>>> Julian,
>>>
>>> Weirdness with 4.35.11 plus latest Message.pm; this may be the cause
>>> of my excess load. I noticed a gob of the following in my syslogs
>>> over the last day or so:
>>>
>>> Nov 19 14:50:54 basalt <12>root: Process did not exit cleanly, returned
>>> 255 with signal 0
>>>
>>> I found a couple of tnef files in my /var/spool/mqueue that should not
>>> have been there. I zapped them and ran MS in debug mode. The end of
>>> that output said:
>>>
>>> syslog: expecting argument $format at
>>> /opt/MailScanner/lib/MailScanner/Log.pm line 140
>>> 255
>>>
>>> The "MailScanner -v" output is attached and I can send you the entire
>>> debug output if needed (518K). The only other thing that I've done
>>> lately (yesterday) was install dccifd for DCC, which seems to work
>>> correctly. I followed the MAQ, following the advice of:
>>>
>>> http://www.sng.ecs.soton.ac.uk/mailscanner/serve/cache/312.html
>>>
>>> (Thanks Ugo and Tomar)
>>>
>>> Advice please?
>>>
>>> Jeff Earickson
>>> Colby College
>>>
>>> ------------------------ MailScanner list ------------------------
>>> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>>> 'leave mailscanner' in the body of the email.
>>> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
>>> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>>>
>>> Support MailScanner development - buy the book off the website!
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> Running on
>>> SunOS basalt 5.9 Generic_117171-12 sun4u sparc SUNW,Netra-T12
>>> This is Perl version 5.008005 (5.8.5)
>>>
>>> This is MailScanner version 4.35.11
>>> Module versions are:
>>> 1.00 AnyDBM_File
>>> 1.14 Archive::Zip
>>> 1.03 Carp
>>> 1.119 Convert::BinHex
>>> 1.00 DirHandle
>>> 1.05 Fcntl
>>> 2.73 File::Basename
>>> 2.08 File::Copy
>>> 2.01 FileHandle
>>> 1.06 File::Path
>>> 0.14 File::Temp
>>> 1.27 HTML::Entities
>>> 3.36 HTML::Parser
>>> 2.28 HTML::TokeParser
>>> 1.21 IO
>>> 1.10 IO::File
>>> 1.123 IO::Pipe
>>> 3.05 MIME::Base64
>>> 5.415 MIME::Decoder
>>> 5.415 MIME::Decoder::UU
>>> 5.415 MIME::Head
>>> 5.415 MIME::Parser
>>> 3.03 MIME::QuotedPrint
>>> 5.415 MIME::Tools
>>> 0.10 Net::CIDR
>>> 1.08 POSIX
>>> 1.77 Socket
>>> 0.05 Sys::Syslog
>>> 1.02 Time::localtime
>>>
>>> Optional module versions are:
>>> 1.810 DB_File
>>> 1.08 Digest
>>> 1.01 Digest::HMAC
>>> 2.33 Digest::MD5
>>> 2.10 Digest::SHA1
>>> 0.44 Inline
>>> 0.12 Mail::ClamAV
>>> 3.000001 Mail::SpamAssassin
>>> 1.997 Mail::SPF::Query
>>> 0.15 Net::CIDR::Lite
>>> 0.48 Net::DNS
>>> missing Net::LDAP
>>> 1.94 Parse::RecDescent
>>> 0.25 SAVI
>>> 1.2 Sys::Hostname::Long
>>> 2.42 Test::Harness
>>> 0.47 Test::Simple
>>> 1.95 Text::Balanced
>>> 1.35 URI
>>>
>>>
>>
>> --
>> Julian Field
>> www.MailScanner.info
>> Buy the MailScanner book at www.MailScanner.info/store
>> Professional Support Services at www.MailScanner.biz
>> MailScanner thanks transtec Computers for their support
>>
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>
>> ------------------------ MailScanner list ------------------------
>> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>> 'leave mailscanner' in the body of the email.
>> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
>> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>>
>> Support MailScanner development - buy the book off the website!
>>
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
>
>------------------------------------------------------------------------
>
>Running on
>SunOS basalt 5.9 Generic_117171-12 sun4u sparc SUNW,Netra-T12
>This is Perl version 5.008005 (5.8.5)
>
>This is MailScanner version 4.36.1
>Module versions are:
>1.00 AnyDBM_File
>1.14 Archive::Zip
>1.03 Carp
>1.119 Convert::BinHex
>1.00 DirHandle
>1.05 Fcntl
>2.73 File::Basename
>2.08 File::Copy
>2.01 FileHandle
>1.06 File::Path
>0.14 File::Temp
>1.27 HTML::Entities
>3.36 HTML::Parser
>2.28 HTML::TokeParser
>1.21 IO
>1.10 IO::File
>1.123 IO::Pipe
>3.05 MIME::Base64
>5.415 MIME::Decoder
>5.415 MIME::Decoder::UU
>5.415 MIME::Head
>5.415 MIME::Parser
>3.03 MIME::QuotedPrint
>5.415 MIME::Tools
>0.10 Net::CIDR
>1.08 POSIX
>1.77 Socket
>0.05 Sys::Syslog
>1.02 Time::localtime
>
>Optional module versions are:
>1.810 DB_File
>1.08 Digest
>1.01 Digest::HMAC
>2.33 Digest::MD5
>2.10 Digest::SHA1
>0.44 Inline
>0.12 Mail::ClamAV
>3.000001 Mail::SpamAssassin
>1.997 Mail::SPF::Query
>0.15 Net::CIDR::Lite
>0.48 Net::DNS
>missing Net::LDAP
>1.94 Parse::RecDescent
>0.25 SAVI
>1.2 Sys::Hostname::Long
>2.42 Test::Harness
>0.47 Test::Simple
>1.95 Text::Balanced
>1.35 URI
>
>
--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list