[rt-users] Couldn't create object file /opt/rt3/var/mason_data/obj/standard/Elements/Header: Permission denied

Nir Dvir nir at chipx.co.il
Sun Mar 13 09:42:57 EST 2005


I tried to change the friendly name at the Header element and the system now presents this error when accessing the rt homepage.
It's not the first time I edited this string and it worked ok, but this time something went wrong, so I restored the file from the Elements source and still the same
diff /root/rt-3.0.11/html/Elements/Header /opt/rt3/share/html/Elements/Header has no output.
It looks like a permission issue but I could not figure out where, the file permission is the same as it was before, I verified it on the snapshot ( rt is stored on a Netapp NAS)
Any ideas what went wrong?
-----------------------------------------------------------

System error
error: 
Couldn't create object file /opt/rt3/var/mason_data/obj/standard/Elements/Header: Permission denied
context: 
... 

304: 
{
305: 
if ($tries++ == 3) {
306: 
$self->_compilation_error( $source->friendly_name, "Could not load or recreate object file after 3 tries" );
307: 
}
308: 
if ($objfilemod < $srcmod) {
309: 
$self->compiler->compile_to_file( file => $objfile, source => $source);
310: 
}
311: 
$comp = eval { $self->eval_object_code( object_file => $objfile ) };
312: 

... 


code stack: 
/usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Interp.pm:308
/usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm:892
/usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm:996
/opt/rt3/share/html/Elements/Login:35
/opt/rt3/share/html/autohandler:205

Raw output yields this:
------------------------------

Couldn't create object file /opt/rt3/var/mason_data/obj/standard/Elements/Header: Permission denied

Trace begun at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Compiler/ToObject.pm line 112
HTML::Mason::Compiler::ToObject::compile_to_file(undef, 'file', '/opt/rt3/var/mason_data/obj/standard/Elements/Header', 'source', 'HTML::Mason::ComponentSource=HASH(0xa8099b0)') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Interp.pm line 308
HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0xa4d7650)', '/Elements/Header') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 892
HTML::Mason::Request::fetch_comp('HTML::Mason::Request::ApacheHandler=HASH(0xa7e8098)', '/Elements/Header') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 996
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0xa7e8098)', '/Elements/Header', 'Title', 'Login', 'Focus', 'user') called at /opt/rt3/share/html/Elements/Login line 35
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa711484)') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1074
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at /opt/rt3/share/html/autohandler line 205
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa5e3f48)') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1069
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 338
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 338
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa7e8098)') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm line 134
eval {...} at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0xa7e8098)') called at /usr/local/lib/perl5/site_perl/5.8.4/HTML/Mason/ApacheHandler.pm line 792
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0xa4d5094)', 'Apache=SCALAR(0xa713f60)') called at /opt/rt3/bin/webmux.pl line 105
eval {...} at /opt/rt3/bin/webmux.pl line 105
RT::Mason::handler('Apache=SCALAR(0xa713f60)') called at /dev/null line 0
eval {...} at /dev/null line 0





More information about the rt-users mailing list