No logging in Solaris 9 (with workaround) - question?

Randy Fishel randyf at sibernet.com
Wed Sep 13 07:21:08 IST 2006


On Sep 12, 2006, at 1:04 PM, René Berber wrote:

> Julian Field wrote:
>
>> René Berber wrote:
> [snip]
>>>>     eval {
>>>>       if ($^O !~ /solaris|sunos|irix/i) {
>>>>         Sys::Syslog::setlogsock('unix');
>>>>       } else {
>>>>         Sys::Syslog::setlogsock('udp');
>>>>       }
>>>>     }
>>>>
>> Can other Solaris users comment on this please?
>
> Testing other Solaris servers:
>
> Solaris 8  / perl 5.6.1(AS) /  doesn't work as above, it works with  
> commented else

    Try using 'inet', instead of 'udp', and see if that works.

> Solaris 9  / perl 5.8.0     /  works both ways (as above and  
> commented out else)
> Solaris 10 / perl 5.8.4     /  works both ways (as above and  
> commented out else
>
> The second test contradicts my original findings, I had no logging  
> until I changed the code but it should have worked with no setlogsock.
> -- 
> René Berber
>
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list