Syslog.pm Error

I just installed RT3 on Solaris 9 on SUN V20z and when I try to login
I get the follwoing error.

Anyone else have seen this error? I thought it is a Syslog.pm bug for Solaris.

Thanks for any help

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

Trace begun at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Exceptions.pm
line 131
HTML::Mason::Exceptions::rethrow_exception(‘no connection to syslog
available at /usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm
line 77^J’) called at /usr/local/lib/perl5/5.8.5/Carp.pm line 201
Carp::croak(‘no connection to syslog available’) called at
/usr/local/lib/perl5/5.8.5/i86pc-solaris/Sys/Syslog.pm line 430
Sys::Syslog::connect at
/usr/local/lib/perl5/5.8.5/i86pc-solaris/Sys/Syslog.pm line 293
Sys::Syslog::syslog(‘WARNING’, ‘%s’, ‘unix dgram connect: Socket
operation on non-socket at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77^J
(/opt/rt3/lib/RT.pm:250)^J’) called at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
Log::Dispatch::Syslog::log_message(‘Log::Dispatch::Syslog=HASH(0x98bdc6c)’,
‘level’, ‘warning’, ‘name’, ‘syslog’, ‘message’, ‘unix dgram connect:
Socket operation on non-socket at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77^J
(/opt/rt3/lib/RT.pm:250)^J’) called at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Output.pm line 41
Log::Dispatch::Output::log(undef, ‘level’, ‘warning’, ‘name’,
‘syslog’, ‘message’, ‘unix dgram connect: Socket operation on
non-socket at /usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm
line 77^J’) called at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch.pm line 95
Log::Dispatch::_log_to(‘Log::Dispatch=HASH(0x98bb7b0)’, ‘level’,
‘warning’, ‘name’, ‘syslog’, ‘message’, ‘unix dgram connect: Socket
operation on non-socket at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line
77^J’) called at /usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch.pm
line 74
Log::Dispatch::log(‘Log::Dispatch=HASH(0x98bb7b0)’, ‘level’,
‘warning’, ‘message’, ‘unix dgram connect: Socket operation on
non-socket at /usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm
line 77^J’) called at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch.pm line 22
Log::Dispatch::ANON(‘Log::Dispatch=HASH(0x98bb7b0)’, ‘unix dgram
connect: Socket operation on non-socket at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line
77^J’) called at /opt/rt3/lib/RT.pm line 250
RT::ANON(‘unix dgram connect: Socket operation on non-socket at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line
77^J’) called at /usr/local/lib/perl5/5.8.5/Carp.pm line 203
Carp::carp(‘unix dgram connect: Socket operation on non-socket’)
called at /usr/local/lib/perl5/5.8.5/i86pc-solaris/Sys/Syslog.pm line
428
Sys::Syslog::connect at
/usr/local/lib/perl5/5.8.5/i86pc-solaris/Sys/Syslog.pm line 293
Sys::Syslog::syslog(‘INFO’, ‘%s’, ‘Successful login for Asif from
198.207.1.7 (/opt/rt3/share/html/autohandler:181)^J’) called at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
Log::Dispatch::Syslog::log_message(‘Log::Dispatch::Syslog=HASH(0x98bdc6c)’,
‘level’, ‘info’, ‘name’, ‘syslog’, ‘message’, ‘Successful login for
Asif from 198.207.1.7 (/opt/rt3/share/html/autohandler:181)^J’) called
at /usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Output.pm line 41
Log::Dispatch::Output::log(undef, ‘level’, ‘info’, ‘name’, ‘syslog’,
‘message’, ‘Successful login for Asif from 198.207.1.7’) called at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch.pm line 95
Log::Dispatch::_log_to(‘Log::Dispatch=HASH(0x98bb7b0)’, ‘level’,
‘info’, ‘name’, ‘syslog’, ‘message’, ‘Successful login for Asif from
198.207.1.7’) called at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch.pm line 74
Log::Dispatch::log(‘Log::Dispatch=HASH(0x98bb7b0)’, ‘level’, ‘info’,
‘message’, ‘Successful login for Asif from 198.207.1.7’) called at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch.pm line 22
Log::Dispatch::ANON(‘Log::Dispatch=HASH(0x98bb7b0)’, ‘Successful
login for Asif from 208.47.0.166’) called at
/opt/rt3/share/html/autohandler line 181
HTML::Mason::Commands::ANON(‘pass’, ‘test’, ‘user’, ‘Asif’) called
at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line
134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x9976218)’,
‘pass’, ‘test’, ‘user’, ‘Asif’) called at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1069
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 1068
HTML::Mason::Request::comp(undef, undef, undef, ‘pass’, ‘test’,
‘user’, ‘Asif’) called at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 338
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 338
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 297
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x9cca3ec)’)
called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm
line 134
eval {…} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm
line 134
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x9cca3ec)’)
called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm
line 792
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(0x8b7eb8c)’,
‘Apache=SCALAR(0x991295c)’) called at /opt/rt3/bin/webmux.pl line 105
eval {…} at /opt/rt3/bin/webmux.pl line 105
RT::Mason::handler(‘Apache=SCALAR(0x991295c)’) called at /dev/null line 0
eval {…} at /dev/null line 0

Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu

I just installed RT3 on Solaris 9 on SUN V20z and when I try to login
I get the follwoing error.

Anyone else have seen this error? I thought it is a Syslog.pm bug for
Solaris.

Thanks for any help

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

Asif, perhaps it would help you to consult this posting to RT-Users
from last July:

http://marc.free.net.ph/message/20030715.071640.1ace5b74.html

Author: Larry Stone
CC: Phil Homewood, rt-users

Asif Iqbal wrote:

unix passed to setlogsock, but path not available at
/usr/local/lib/perl5/site_perl/5.8.0/Log/Dispatch/Syslog.pm line
66

You’re using Solaris or HP/UX?

Search the mailing lists, this has been mentioned before.
Basically, unless you want to hack on the Log::Dispatch
and/or Sys::Syslog (from memory) modules, you’re probably
better off disabling syslog and logging to file instead.

Here’s what I noted about fixing the Syslog module to overcome the same
problem on Solaris 8:

Need to fix lib/perl5/site_perl/5.8.0/Log/Dispatch/Syslog.pm
In the _init routine, there are args:
socket => { type => SCALAR,
default => ‘unix’ },
…change the default to ‘inet’, which is what the POD documentation
says:
default => ‘inet’ },
…then syslog will work.

 -- Larry