no connection to syslog available

Andres Mujica - SEAQ andres.mujica at seaq.com.co
Thu Jul 6 14:02:08 IST 2006


Julian Field <MailScanner <at> ecs.soton.ac.uk> writes:

> > Sys::Syslog::syslog($level, $_) if $_ ne "";
> > ---
> >
> > Syslog.h has :
> > ---
> > define  _PATH_LOG       "/tmp/syslog"
> > ---
> This should show you what you have installed:
> 	MailScanner -v
> It should be in the first section, ie compulsory modules. It's called  
> Sys::Syslog.
> 
> And make sure your syslogd is running
> 



i´ m having this exact issue, i've checked and found sys:syslog installed, so i
made this and at least goes on without the message, but i wan to know if what i
did would work or i must downgrade my perl or something like that,

thanks for your comments

according to:

http://wiki.bestpractical.com/index.cgi?action=revisions&page_name=NoConnectionToSyslog&revision_id=-1

and

http://shock.hates-software.com/2003/10/14/40577a20.html

i've modified Log.pm so instead of using unix sockets it goes through tcp/ip (i
think)

diff Log.pm Log.pm-orig
71,72c71
<         #Sys::Syslog::setlogsock('unix');
<         Sys::Syslog::setlogsock('inet');
---
>         Sys::Syslog::setlogsock('unix');

now i'm getting some annoying error 
MailScanner -debug
In Debugging mode, not forking...
Ignore errors about failing to find EOCD signature
format error: can't find EOCD signature
 at /usr/sbin/MailScanner line 781
format error: can't find EOCD signature
 at /usr/sbin/MailScanner line 781
format error: can't find EOCD signature
 at /usr/sbin/MailScanner line 781
format error: can't find EOCD signature
 at /usr/sbin/MailScanner line 781
format error: can't find EOCD signature
 at /usr/sbin/MailScanner line 781


please tell me if this pseudo patch is fine or its a horrible haclçk.


thanks

Andres
SEAQ







More information about the MailScanner mailing list