[rt-users] RTFM 2.0.4 / RT 3.0.4 Syslog error line 77?

Glenn Sieb ges at wingfoot.org
Wed Mar 16 00:20:26 EST 2005


I went to the wiki, and tried adding this to RT_SiteConfig.pm, as 
Ruslan's entry suggested:

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

Fully stopped (apachectl stop) & started Apache (apachectl startssl), 
still getting the error on line 77 of Syslog.pm

I'm running FreeBSD 4.11, Perl 5.8.6, Apache/2.0.53 (FreeBSD) PHP/4.3.10 
mod_fastcgi/2.4.2 mod_ssl/2.0.53 OpenSSL/0.9.7e

The errors follow..

Thanks in advance.. :-/

Best,
--Glenn

In my httpd-errors.log I'm seeing:
FastCGI: server "/sw/rt/bin/mason_handler.fcgi" stderr: getservbyname 
failed for tcp at 
/usr/local/lib/perl5/site_perl/5.8.6/Log/Dispatch/Syslog.pm line 77, 
referer: http://rt.wingfoot.org/

The error in RT:

*error:*  	no connection to syslog available at 
/usr/local/lib/perl5/site_perl/5.8.6/Log/Dispatch/Syslog.pm line 77
*context:*  	
*...*  	
*265:*  	# whether they should generate a full stack trace (confess() 
and cluck())
*266:*  	# or simply report the caller's package (croak() and carp()), 
respectively.
*267:*  	# confess() and croak() die, carp() and cluck() warn.
*268:*  	
*269:*  	sub croak { die shortmess @_ }
*270:*  	sub confess { die longmess @_ }
*271:*  	sub carp { warn shortmess @_ }
*272:*  	sub cluck { warn longmess @_ }
*273:*  	
*...*  	

*code stack:*  	/usr/local/lib/perl5/5.8.6/Carp.pm:269
/usr/local/lib/perl5/5.8.6/mach/Sys/Syslog.pm:436
/usr/local/lib/perl5/5.8.6/mach/Sys/Syslog.pm:299
/usr/local/lib/perl5/site_perl/5.8.6/Log/Dispatch/Syslog.pm:77
/usr/local/lib/perl5/site_perl/5.8.6/Log/Dispatch/Output.pm:41
/usr/local/lib/perl5/site_perl/5.8.6/Log/Dispatch.pm:95
/usr/local/lib/perl5/site_perl/5.8.6/Log/Dispatch.pm:74
/usr/local/lib/perl5/site_perl/5.8.6/Log/Dispatch.pm:22
/sw/rt-3.4.1/lib/RT/FM/ArticleCollection_Overlay.pm:78
/sw/rt-3.4.1/share/html/RTFM/Elements/UpdatedArticles:63
/sw/rt-3.4.1/share/html/RTFM/index.html:26
/sw/rt-3.4.1/share/html/autohandler:215

raw error <http://rt.wingfoot.org/RTFM/index.html#raw>

The raw error:

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


Trace begun at /usr/local/lib/perl5/site_perl/5.8.6/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.6/Log/Dispatch/Syslog.pm line 77^J') called at /usr/local/lib/perl5/5.8.6/Carp.pm line 269
Carp::croak('no connection to syslog available') called at /usr/local/lib/perl5/5.8.6/mach/Sys/Syslog.pm line 436
Sys::Syslog::connect at /usr/local/lib/perl5/5.8.6/mach/Sys/Syslog.pm line 299
Sys::Syslog::syslog('DEBUG', '%s', 'RT::FM::ArticleCollection Limit called :QUOTEVALUE 0 VALUE LastUpdated FIELD Created OPERATOR !=^J') called at /usr/local/lib/perl5/site_perl/5.8.6/Log/Dispatch/Syslog.pm line 77
Log::Dispatch::Syslog::log_message('Log::Dispatch::Syslog=HASH(0x952c3c8)', 'level', 'debug', 'name', 'syslog', 'message', 'RT::FM::ArticleCollection Limit called :QUOTEVALUE 0 VALUE LastUpdated FIELD Created OPERATOR !=^J') called at /usr/local/lib/perl5/site_perl/5.8.6/Log/Dispatch/Output.pm line 41
Log::Dispatch::Output::log(undef, 'level', 'debug', 'name', 'syslog', 'message', 'RT::FM::ArticleCollection Limit called :QUOTEVALUE 0 VALUE LastUpdated FIELD Created OPERATOR !=') called at /usr/local/lib/perl5/site_perl/5.8.6/Log/Dispatch.pm line 95
Log::Dispatch::_log_to('Log::Dispatch=HASH(0x93e1838)', 'level', 'debug', 'name', 'syslog', 'message', 'RT::FM::ArticleCollection Limit called :QUOTEVALUE 0 VALUE LastUpdated FIELD Created OPERATOR !=') called at /usr/local/lib/perl5/site_perl/5.8.6/Log/Dispatch.pm line 74
Log::Dispatch::log('Log::Dispatch=HASH(0x93e1838)', 'level', 'debug', 'message', 'RT::FM::ArticleCollection Limit called :QUOTEVALUE 0 VALUE LastUpdated FIELD Created OPERATOR !=') called at /usr/local/lib/perl5/site_perl/5.8.6/Log/Dispatch.pm line 22
Log::Dispatch::__ANON__('Log::Dispatch=HASH(0x93e1838)', 'RT::FM::ArticleCollection Limit called :QUOTEVALUE 0 VALUE LastUpdated FIELD Created OPERATOR !=') called at /sw/rt-3.4.1/lib/RT/FM/ArticleCollection_Overlay.pm line 78
RT::FM::ArticleCollection::Limit('RT::FM::ArticleCollection=HASH(0x99d6cc4)', 'FIELD', 'Created', 'OPERATOR', '!=', 'VALUE', 'LastUpdated', 'QUOTEVALUE', 0) called at /sw/rt-3.4.1/share/html/RTFM/Elements/UpdatedArticles line 63
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x99f4b74)') called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 1074
eval {...} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /sw/rt-3.4.1/share/html/RTFM/index.html line 26
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x99c0494)') called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 1074
eval {...} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next('HTML::Mason::Request::CGI=HASH(0x998362c)') called at /sw/rt-3.4.1/share/html/autohandler line 215
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Component.pm line 136
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x95cab8c)') called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 1069
eval {...} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 338
eval {...} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 338
eval {...} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::CGI=HASH(0x998362c)') called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/CGIHandler.pm line 197
eval {...} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/CGIHandler.pm line 197
HTML::Mason::Request::CGI::exec('HTML::Mason::Request::CGI=HASH(0x998362c)') called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Interp.pm line 216
HTML::Mason::Interp::exec(undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/CGIHandler.pm line 127
eval {...} at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/CGIHandler.pm line 127
HTML::Mason::CGIHandler::_handler('HTML::Mason::CGIHandler=HASH(0x937cd3c)', 'HASH(0x96f00ec)') called at /usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/CGIHandler.pm line 76
HTML::Mason::CGIHandler::handle_cgi_object('HTML::Mason::CGIHandler=HASH(0x937cd3c)', 'CGI::Fast=HASH(0x99a9fac)') called at /sw/rt/bin/mason_handler.fcgi line 76


eval {...} at /sw/rt/bin/mason_handler.fcgi line 76


-- 
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety." 
          ~Benjamin Franklin, Historical Review of Pennsylvania, 1759




More information about the rt-users mailing list