[rt-users] error when searching (long)

Ruslan U. Zakirov cubic at acronis.ru
Thu Apr 1 08:46:36 EST 2004


Log::Dispatch - it's not a part of RT. This is kinf of offtopic here.
You should try update this module, do make test under unpriveleged module.
As workaround you could turn off LogToScreen.

Palle Girgensohn wrote:

> Hi,
> 
> When searching I get an error. "no connection to syslog available at" seems bogus, since I get a lot of stuff in my syslog, see below. It seems FastCGI tries to write to /dev/conslog, that is stupid. FreeBSD has a symlink /dev/log -> /var/run/log, which is a unix domain socket.
> 
> Logging configuration is not altered from default, i.e.
> 
> Set($LogToSyslog    , 'debug');
> Set($LogToScreen    , 'error');
> Set($LogToFile      , undef);
> Set($LogDir, '/usr/local/rt3/var/log');
> Set($LogToFileNamed , "rt.log");    #log to rt.log
> 
> I have no errors in the database log, all it does is fetch the session object and updates it.
> 
> After logging in, I click "Tickets" choose for example "Queue is XXX" and click search. Boom. I expect that the syslog error is not the real error, but this is all I get, right?
> 
> I run RT 3.0.10, Freebsd 4.9, postgresql 7.4.2, perl 5.8.3. FastCGI.
> 
> Help appreciated!
> 
> /Palle
> 
> --------------
> Here's the on screen error:
> 
> error:  	no connection to syslog available at /usr/local/lib/perl5/site_perl/5.8.3/Log/Dispatch/Syslog.pm line 77
> context:  	
> ...  	
> 187:  	# whether they should generate a full stack trace (confess() and cluck())
> 188:  	# or simply report the caller's package (croak() and carp()), respectively.
> 189:  	# confess() and croak() die, carp() and cluck() warn.
> 190:  	
> 191:  	sub croak { die shortmess @_ }
> 192:  	sub confess { die longmess @_ }
> 193:  	sub carp { warn shortmess @_ }
> 194:  	sub cluck { warn longmess @_ }
> 195:  	
> ...  	
> code stack:  	/usr/local/lib/perl5/5.8.3/Carp.pm:191
> /usr/local/lib/perl5/5.8.3/mach/Sys/Syslog.pm:429
> /usr/local/lib/perl5/5.8.3/mach/Sys/Syslog.pm:337
> /usr/local/lib/perl5/site_perl/5.8.3/Log/Dispatch/Syslog.pm:77
> /usr/local/lib/perl5/site_perl/5.8.3/Log/Dispatch/Output.pm:41
> /usr/local/lib/perl5/site_perl/5.8.3/Log/Dispatch.pm:95
> /usr/local/lib/perl5/site_perl/5.8.3/Log/Dispatch.pm:74
> /usr/local/lib/perl5/site_perl/5.8.3/Log/Dispatch.pm:22
> /usr/local/rt3/lib/RT/Tickets_Overlay.pm:902
> /usr/local/rt3/lib/RT/Interface/Web.pm:602
> /usr/local/rt3/share/html/Search/Listing.html:101
> /usr/local/rt3/share/html/autohandler:196
> 
> raw error
> 
> 
> 
> no connection to syslog available at /usr/local/lib/perl5/site_perl/5.8.3/Log/Dispatch/Syslog.pm line 77
> 
> Rest of message in  gzipped attachment (40K limit in this maillist)
> 
> 
> 
> ------------------------
> Here's info from syslog:
> 
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: [Thu Apr  1 12:59:18 2004] [error]: Do not know how to thaw data with code `F' at /usr/local/lib/perl5/site_perl/5.8.3/FreezeThaw.pm line 542
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: FreezeThaw::thawScalar(0) called at /usr/local/lib/perl5/site_perl/5.8.3/FreezeThaw.pm line 679
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: FreezeThaw::thaw('FrT%3B%402%7C%256%7C%241%7C1%241%7C2%241%7C3%258%7C%2411%
> m line 898
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr:      eval {...} called at /usr/local/rt3/lib/RT/Tickets_Overlay.pm line 897
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: RT::Tickets::ThawLimits('RT::Tickets=HASH(0x96345b4)','FrT%3B%402%7C%256%7C
> sr/local/rt3/lib/RT/Interface/Web.pm line 602
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: HTML::Mason::Commands::ProcessSearchQuery('ARGS','HASH(0x9853fac)') called at /usr/local/rt3/share/html/Search/Listing.html line 101
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: HTML::Mason::Commands::__ANON__('CompileRestriction',1,'OwnerOp','=','Prior
>  /usr/local/lib/perl5/site_perl/5.8.3/HTML/Mason/Component.pm line 134
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x92565
> 'Action','Search
> Mason/Request.pm line 1074
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr:      eval {...} called at /usr/local/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 1068
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: HTML::Mason::Request::comp('undef','undef','CompileRestriction',1,'OwnerOp'
> b/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 760
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: HTML::Mason::Request::call_next('HTML::Mason::Request::CGI=HASH(0x986368c)'
> ion','Search',..
> 
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: HTML::Mason::Commands::__ANON__('CompileRestriction',1,'OwnerOp','=','Prior
>  /usr/local/lib/perl5/site_perl/5.8.3/HTML/Mason/Component.pm line 134
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8f80f
> 'Action','Search
> Mason/Request.pm line 1069
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr:      eval {...} called at /usr/local/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 1068
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: HTML::Mason::Request::comp('undef','undef','undef','CompileRestriction',1,'
> /perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 338
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr:      eval {...} called at /usr/local/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 338
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr:      eval {...} called at /usr/local/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm line 297
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: HTML::Mason::Request::exec('HTML::Mason::Request::CGI=HASH(0x986368c)') called at /usr/local/lib/perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm line 183
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr:      eval {...} called at /usr/local/lib/perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm line 183
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: HTML::Mason::Request::CGI::exec('HTML::Mason::Request::CGI=HASH(0x986368c)'
> /Interp.pm line 207
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: HTML::Mason::Interp::exec('undef','undef','CompileRestriction',1,'OwnerOp',
> /perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm line 121
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr:      eval {...} called at /usr/local/lib/perl5/site_perl/5.8.3/HTML/Mason/CGIHandler.pm line 121
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: HTML::Mason::CGIHandler::_handler('HTML::Mason::CGIHandler=HASH(0x8def17c)'
> l/5.8.3/HTML/Mason/CGIHandler.pm line 76
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: HTML::Mason::CGIHandler::handle_cgi_object('HTML::Mason::CGIHandler=HASH(0x
> /rt3/bin/mason_handler.fcgi line 54
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr:      eval {...} called at /usr/local/rt3/bin/mason_handler.fcgi line 54
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: Stack:
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: [/usr/local/lib/perl5/5.8.3/Carp.pm:192]
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: [/usr/local/lib/perl5/site_perl/5.8.3/FreezeThaw.pm:542]
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: [/usr/local/lib/perl5/site_perl/5.8.3/FreezeThaw.pm:679]
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: [/usr/local/rt3/lib/RT/Tickets_Overlay.pm:898]
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: [/usr/local/rt3/lib/RT/Interface/Web.pm:602]
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: [/usr/local/rt3/share/html/Search/Listing.html:101]
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: [/usr/local/rt3/share/html/autohandler:196]
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: (/usr/local/rt3/lib/RT/Tickets_Overlay.pm:902)
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: stream /dev/conslog is not writable at /usr/local/lib/perl5/site_perl/5.8.3/Log/Dispatch/Syslog.pm line 77
> FastCGI: server "/usr/local/rt3/bin/mason_handler.fcgi" stderr: console is not writable at /usr/local/lib/perl5/site_perl/5.8.3/Log/Dispatch/Syslog.pm line 77
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.bestpractical.com
> http://lists.bestpractical.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm



More information about the rt-users mailing list