[rt-users] Log::Dispatch error

Ed Santora ed_santora at harvard.edu
Tue Aug 23 11:53:54 EDT 2005


Hi,

I just upgraded to RT 3.4.3 from 3.0.11 on Solaris. I keep getting the 
following error on the screen:

error:   	no connection to syslog available at 
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77

and this error in the web log:

Tue Aug 23 11:42:17 2005] [error] [client xxx.xxx.xx.xxx] FastCGI: server 
"/home/web/sites/rt/rt3/bin/mason_handler.fcgi" stderr: unix dgram connect: 
Socket operation on non-socket at 
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77


I have the following in both RT_SiteConfig.pm and RT_Config.pm:

#  Mail loops will generate a critical log message.
Set($LogToSyslog    , undef);
Set($LogToScreen    , 'error');
Set($LogToFile      , 'debug');
Set($LogDir, '/home/web/sites/rt/rt3/var/log');
Set($LogToFileNamed , "rt.log");    #log to rt.log

# On Solaris or UnixWare, set to ( socket => 'inet' ).  Options here
# override any other options RT passes to Log::Dispatch::Syslog.
# Other interesting flags include facility and logopt.  (See the
# Log::Dispatch::Syslog documentation for more information.)  (Maybe
# ident too, if you have multiple RT installations.)

@LogToSyslogConf = ( socket => 'inet' ) unless (@LogToSyslogConf);


I've tried commenting out the last line above, but I'm still getting the 
error.

Any help would be greatly appreciated. Thanks!

-Ed

Ed Santora, System Administrator
Harvard University, Academic Computing
Division of Continuing Education



More information about the rt-users mailing list