[rt-users] Error writing to rt.log

Mathew Snyder theillien at yahoo.com
Wed Aug 1 13:00:41 EDT 2007


The errors appear to be different when it happens too:
error: 	 Cannot write to '/usr/local/rt-3.6.1/var/log/rt.log': at
/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/File.pm line 124.
	
context: 	
... 	 	
120: 	 }	
121: 	 else	
122: 	 {	
123: 	 $fh = $self->{fh};	
124: 	 print $fh $p{message}	
125: 	 or die "Cannot write to '$self->{filename}': $!";	
126: 	 }	
127: 	 }	
128: 	 	
... 	 	
code stack:
/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/File.pm:124
/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/Output.pm:41
/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:95
/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:74
/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:22
/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay_SQL.pm:487
/usr/local/rt-3.6.1/share/html/Elements/MyReminders:69
/usr/local/rt-3.6.1/share/html/Elements/MyRT:87
/usr/local/rt-3.6.1/share/html/Elements/MyRT:61
/usr/local/rt-3.6.1/local/html/index.html:79
/usr/local/rt-3.6.1/share/html/autohandler:279
	
raw error



Cannot write to '/usr/local/rt-3.6.1/var/log/rt.log':  at
/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/File.pm line 124.





Trace begun at /usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Exceptions.pm
line 129

HTML::Mason::Exceptions::rethrow_exception('Cannot write to
\'/usr/local/rt-3.6.1/var/log/rt.log\':  at
/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/File.pm line 124.^J')
called at /usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/File.pm line 124

Log::Dispatch::File::log_message('Log::Dispatch::File=HASH(0xa7e6b3c)',
'level', 'error', 'name', 'rtlog', 'message', '[Wed Aug  1 16:57:05
2007] [error]: Query error in <<(Owner = "Nobody" OR Owner =
"datreides") AND Type = "reminder" AND (Status = "new" OR Status =
"open") AND Due > "1970-01-01">>:^JCannot write to
\'/usr/local/rt-3.6.1/var/log/rt.log\':  at
/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/File.pm line
124.^J^JStack:^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/File.pm:124]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/Output.pm:41]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:95]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:74]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:22]^J
[/usr/local/rt-3.6.1/lib/RT/Date.pm:211]^J
[/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay.pm:475]^J
[/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay_SQL.pm:330]^J
[/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay_SQL.pm:485]^J
[/usr/local/rt-3.6.1/share/html/Elements/MyReminders:69]^J
[/usr/local/rt-3.6.1/share/html/Elements/MyRT:87]^J
[/usr/local/rt-3.6.1/share/html/Elements/MyRT:61]^J
[/usr/local/rt-3.6.1/local/html/index.html:79]^J
[/usr/local/rt-3.6.1/share/html/autohandler:279]
(/usr/local/rt-3.6.1//lib/RT/Tickets_Overlay_SQL.pm:487)^J') called at
/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/Output.pm line 41

Log::Dispatch::Output::log(undef, 'level', 'error', 'name', 'rtlog',
'message', 'Query error in <<(Owner = "Nobody" OR Owner = "datreides")
AND Type = "reminder" AND (Status = "new" OR Status = "open") AND Due >
"1970-01-01">>:^JCannot write to \'/usr/local/rt-3.6.1/var/log/rt.log\':
at /usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/File.pm line
124.^J^JStack:^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/File.pm:124]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/Output.pm:41]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:95]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:74]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:22]^J
[/usr/local/rt-3.6.1/lib/RT/Date.pm:211]^J
[/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay.pm:475]^J
[/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay_SQL.pm:330]^J
[/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay_SQL.pm:485]^J
[/usr/local/rt-3.6.1/share/html/Elements/MyReminders:69]^J
[/usr/local/rt-3.6.1/share/html/Elements/MyRT:87]^J
[/usr/local/rt-3.6.1/share/html/Elements/MyRT:61]^J
[/usr/local/rt-3.6.1/local/html/index.html:79]^J
[/usr/local/rt-3.6.1/share/html/autohandler:279]^J') called at
/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm line 95

Log::Dispatch::_log_to('Log::Dispatch=HASH(0xa68d760)', 'level',
'error', 'name', 'rtlog', 'message', 'Query error in <<(Owner = "Nobody"
OR Owner = "datreides") AND Type = "reminder" AND (Status = "new" OR
Status = "open") AND Due > "1970-01-01">>:^JCannot write to
\'/usr/local/rt-3.6.1/var/log/rt.log\':  at
/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/File.pm line
124.^J^JStack:^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/File.pm:124]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/Output.pm:41]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:95]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:74]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:22]^J
[/usr/local/rt-3.6.1/lib/RT/Date.pm:211]^J
[/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay.pm:475]^J
[/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay_SQL.pm:330]^J
[/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay_SQL.pm:485]^J
[/usr/local/rt-3.6.1/share/html/Elements/MyReminders:69]^J
[/usr/local/rt-3.6.1/share/html/Elements/MyRT:87]^J
[/usr/local/rt-3.6.1/share/html/Elements/MyRT:61]^J
[/usr/local/rt-3.6.1/local/html/index.html:79]^J
[/usr/local/rt-3.6.1/share/html/autohandler:279]^J') called at
/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm line 74

Log::Dispatch::log('Log::Dispatch=HASH(0xa68d760)', 'level', 'error',
'message', 'Query error in <<(Owner = "Nobody" OR Owner = "datreides")
AND Type = "reminder" AND (Status = "new" OR Status = "open") AND Due >
"1970-01-01">>:^JCannot write to \'/usr/local/rt-3.6.1/var/log/rt.log\':
at /usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/File.pm line
124.^J^JStack:^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/File.pm:124]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/Output.pm:41]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:95]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:74]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:22]^J
[/usr/local/rt-3.6.1/lib/RT/Date.pm:211]^J
[/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay.pm:475]^J
[/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay_SQL.pm:330]^J
[/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay_SQL.pm:485]^J
[/usr/local/rt-3.6.1/share/html/Elements/MyReminders:69]^J
[/usr/local/rt-3.6.1/share/html/Elements/MyRT:87]^J
[/usr/local/rt-3.6.1/share/html/Elements/MyRT:61]^J
[/usr/local/rt-3.6.1/local/html/index.html:79]^J
[/usr/local/rt-3.6.1/share/html/autohandler:279]^J') called at
/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm line 22

Log::Dispatch::__ANON__('Log::Dispatch=HASH(0xa68d760)', 'Query error in
<<(Owner = "Nobody" OR Owner = "datreides") AND Type = "reminder" AND
(Status = "new" OR Status = "open") AND Due > "1970-01-01">>:^JCannot
write to \'/usr/local/rt-3.6.1/var/log/rt.log\':  at
/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/File.pm line
124.^J^JStack:^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/File.pm:124]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch/Output.pm:41]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:95]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:74]^J
[/usr/lib/perl5/vendor_perl/5.8.8/Log/Dispatch.pm:22]^J
[/usr/local/rt-3.6.1/lib/RT/Date.pm:211]^J
[/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay.pm:475]^J
[/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay_SQL.pm:330]^J
[/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay_SQL.pm:485]^J
[/usr/local/rt-3.6.1/share/html/Elements/MyReminders:69]^J
[/usr/local/rt-3.6.1/share/html/Elements/MyRT:87]^J
[/usr/local/rt-3.6.1/share/html/Elements/MyRT:61]^J
[/usr/local/rt-3.6.1/local/html/index.html:79]^J
[/usr/local/rt-3.6.1/share/html/autohandler:279]^J') called at
/usr/local/rt-3.6.1/lib/RT/Tickets_Overlay_SQL.pm line 487

RT::Tickets::FromSQL('RT::Tickets=HASH(0xafae994)', '(Owner = "Nobody"
OR Owner = "datreides") AND Type = "reminder" AND (Status = "new" OR
Status = "open") AND Due > "1970-01-01"') called at
/usr/local/rt-3.6.1/share/html/Elements/MyReminders line 69

HTML::Mason::Commands::__ANON__ at
/usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Component.pm line 135

HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xaa
1b19c)') called at
/usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Request.pm line 1246

eval {...} at /usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Request.pm
line 1245

HTML::Mason::Request::comp(undef, undef) called at
/usr/local/rt-3.6.1/share/html/Elements/MyRT line 87

HTML::Mason::Commands::_show('HASH(0xac440cc)') called at
/usr/local/rt-3.6.1/share/html/Elements/MyRT line 61

HTML::Mason::Commands::__ANON__ at
/usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Component.pm line 135

HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa9
e1be0)') called at
/usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Request.pm line 1251

eval {...} at /usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Request.pm
line 1245

HTML::Mason::Request::comp(undef, undef) called at
/usr/local/rt-3.6.1/local/html/index.html line 79

HTML::Mason::Commands::__ANON__ at
/usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Component.pm line 135

HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa8
f9924)') called at
/usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Request.pm line 1251

eval {...} at /usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Request.pm
line 1245

HTML::Mason::Request::comp(undef, undef) called at
/usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Request.pm line 914

HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HAS
H(0xade0cbc)') called at /usr/local/rt-3.6.1/share/html/autohandler line
279

HTML::Mason::Commands::__ANON__ at
/usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Component.pm line 135

HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa8
8e8fc)') called at
/usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Request.pm line 1246

eval {...} at /usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Request.pm
line 1245

HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Request.pm line 459

eval {...} at /usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Request.pm
line 459

eval {...} at /usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/Request.pm
line 411

HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa
de0cbc)') called at
/usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/ApacheHandler.pm line 168

HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheH
andler=HASH(0xade0cbc)') called at
/usr/lib/perl5/vendor_perl/5.8.7/HTML/Mason/ApacheHandler.pm line 826

HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=H
ASH(0x8c77308)', 'Apache2::RequestRec=SCALAR(0xaf25724)') called at
/usr/local/rt-3.6.1/bin/webmux.pl line 123

eval {...} at /usr/local/rt-3.6.1/bin/webmux.pl line 123

RT::Mason::handler('Apache2::RequestRec=SCALAR(0xaf25724)') called at -e
line 0

eval {...} at -e line 0



Keep up with me and what I'm up to: http://theillien.blogspot.com



More information about the rt-users mailing list