Hello.
I have a mostly successful installation of otrs on a system running
Solaris 8. The problem is when I try to run the Postmaster.pl script I
get the following error:
> cat test-message | bin/PostMaster.pl
unix passed to setlogsock, but path not available at
/opt/local/apache/htdocs/otrs/Kernel/System/Log/SysLog.pm line 39
I did some research on the web and found the following:
> The Sys::Syslog module breaks rather badly on Solaris in a
> couple of cases:
>
> 1) there's no support for the setlogsock('unix') used in
> MIMEDefang. Solaris has no unix socket for syslog at all.
>
> 2) if you run syslogd with the -t flag, to make it not listen
> on its udp socket (pretty standard on secure boxes), then the
> Sys::Syslog module won't log anything! It won't error, but it
> won't log, either.
>
> One solution is to use the Unix::Syslog CPAN module, which wraps
> the OS's native C syslog calls to log directly to syslog. This
> works great for me on my secured Solaris boxes.
We do, in fact, run syslogd with the -t option, so I couldn't use the
setlogsock('inet') option, and I tried using the Unix::Syslog module
but it apparently doesn't have a setlogsock routine?
Does anyone have any suggestions?
--jenny
Jennifer Fox
Unix System Administrator
NOAA Aeronomy Laboratory, Boulder, CO