[rt-users] mkdir ... var/mason_data/obj: Permission denied

Jim Mozley jim.mozley at exponential-e.com
Thu Jul 17 04:30:45 EDT 2003


*This message was transferred with a trial version of CommuniGate(tm) Pro*
Michael,

It might be worth trying perl from source or using the package version from
www.sunfreeware.com before installing RT. This will add perl 5.8 under
/usr/local. I use this approach rather than using Sun's build of perl,
sunfreeware.com has had explanatory notes on this in the past.

Regards,

Jim

----- Original Message ----- 
From: "Michael D. Richards" <michael at emdee.net>
To: <rt-users at lists.fsck.com>
Sent: Wednesday, July 16, 2003 11:31 PM
Subject: [rt-users] mkdir ... var/mason_data/obj: Permission denied


> Hello,
>
>   I have just installed RT 3.0.3 on Solaris 8 under Apache 1.3.27 and
> mod_perl 1.27. I am getting the following message when attempting to
> send mail to the gateway:
>
> mkdir /cmweb/tools/rt/var/mason_data/obj: Permission denied at
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler/ToObject.pm line 96
>
>
> Trace begun at
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Exceptions.pm line 128
> HTML::Mason::Exceptions::rethrow_exception('mkdir
/cmweb/tools/rt/var/mason_data/obj: Permission denied at
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler/ToObject.pm line
96^J') called at /usr/local/lib/perl5/5.6.1/Carp.pm line 119
> Carp::croak('mkdir /cmweb/tools/rt/var/mason_data/obj: Permission denied')
called at /usr/local/lib/perl5/5.6.1/File/Path.pm line 140
> File::Path::mkpath('/cmweb/tools/rt/var/mason_data/obj', 0, 509) called at
/usr/local/lib/perl5/5.6.1/File/Path.pm line 133
> File::Path::mkpath('/cmweb/tools/rt/var/mason_data/obj/standard', 0, 509)
called at /usr/local/lib/perl5/5.6.1/File/Path.pm line 133
> File::Path::mkpath('/cmweb/tools/rt/var/mason_data/obj/standard/REST', 0,
509) called at /usr/local/lib/perl5/5.6.1/File/Path.pm line 133
> File::Path::mkpath('/cmweb/tools/rt/var/mason_data/obj/standard/REST/1.0',
0, 509) called at /usr/local/lib/perl5/5.6.1/File/Path.pm line 133
>
File::Path::mkpath('/cmweb/tools/rt/var/mason_data/obj/standard/REST/1.0/NoAuth', 0, 509) called at
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Compiler/ToObject.pm line 96
> HTML::Mason::Compiler::ToObject::compile_to_file(undef, 'file',
'/cmweb/tools/rt/var/mason_data/obj/standard/REST/1.0/NoAuth/mail-gateway',
'source', 'HTML::Mason::ComponentSource=HASH(0x90e749c)') called at
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Interp.pm line 323
> HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x9007418)',
'/REST/1.0/NoAuth/mail-gateway') called at
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 201
> eval {...}('HTML::Mason::Interp=HASH(0x9007418)',
'/REST/1.0/NoAuth/mail-gateway') called at
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 188
>
HTML::Mason::Request::_initialize('HTML::Mason::Request::ApacheHandler=HASH(
0x90e76d0)') called at
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 168
> HTML::Mason::Request::new('HTML::Mason::Request::ApacheHandler',
'error_format', 'html', 'error_mode', 'output', 'interp',
'HTML::Mason::Interp=HASH(0x9007418)', 'comp',
'/REST/1.0/NoAuth/mail-gateway', 'args', 'ARRAY(0x90e71c8)', 'ah',
'HTML::Mason::ApacheHandler=HASH(0x900764c)', 'apache_req',
'Apache=SCALAR(0x8e0af54)') called at
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 60
>
HTML::Mason::Request::ApacheHandler::new('HTML::Mason::Request::ApacheHandle
r', 'error_format', 'html', 'error_mode', 'output', 'interp',
'HTML::Mason::Interp=HASH(0x9007418)', 'comp',
'/REST/1.0/NoAuth/mail-gateway', 'args', 'ARRAY(0x90e71c8)', 'ah',
'HTML::Mason::ApacheHandler=HASH(0x900764c)', 'apache_req',
'Apache=SCALAR(0x8e0af54)') called at
/usr/local/lib/perl5/site_perl/5.6.1/Class/Container.pm line 265
> Class::Container::call_method('HTML::Mason::Interp=HASH(0x9007418)',
'request', 'new', 'interp', 'HTML::Mason::Interp=HASH(0x9007418)', 'comp',
'/REST/1.0/NoAuth/mail-gateway', 'args', 'ARRAY(0x90e71c8)', 'ah',
'HTML::Mason::ApacheHandler=HASH(0x900764c)', 'apache_req',
'Apache=SCALAR(0x8e0af54)') called at
/usr/local/lib/perl5/site_perl/5.6.1/Class/Container.pm line 343
>
Class::Container::create_delayed_object('HTML::Mason::Interp=HASH(0x9007418)
', 'request', 'interp', 'HTML::Mason::Interp=HASH(0x9007418)', 'comp',
'/REST/1.0/NoAuth/mail-gateway', 'args', 'ARRAY(0x90e71c8)', 'ah',
'HTML::Mason::ApacheHandler=HASH(0x900764c)', 'apache_req',
'Apache=SCALAR(0x8e0af54)') called at
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Interp.pm line 232
> HTML::Mason::Interp::make_request('HTML::Mason::Interp=HASH(0x9007418)',
'comp', '/REST/1.0/NoAuth/mail-gateway', 'args', 'ARRAY(0x90e71c8)', 'ah',
'HTML::Mason::ApacheHandler=HASH(0x900764c)', 'apache_req',
'Apache=SCALAR(0x8e0af54)') called at
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 853
>
HTML::Mason::ApacheHandler::prepare_request('HTML::Mason::ApacheHandler=HASH
(0x900764c)', 'Apache=SCALAR(0x8e0af54)') called at
/usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 780
>
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(
0x900764c)', 'Apache=SCALAR(0x8e0af54)') called at
/cmweb/tools/rt/bin/webmux.pl line 118
> RT::Mason::handler('Apache=SCALAR(0x8e0af54)') called at /dev/null line 0
> eval {...}('Apache=SCALAR(0x8e0af54)') called at /dev/null line 0
>
>   The /cmweb/tools/rt/var/mason_data directory already exists. It is
> owned by the same user/group that the Apache server runs under and is
> the same as I specified during configure using --with-web-user and
> --with-web-group.
>
>   The real kicker is that there is no such thing as
> /usr/local/lib/perl5/site_perl/5.6.1 and never has been. There isn't
> even a perl 5.6.1 on this machine. I can not figure out where that
> reference is coming from. RT's web interface seems to work just fine.
> mod_perl also appears to work fine as well. I have scoured the system
> conf stray config modules, bad env variables, bad config files, etc and
> have been unable to locate anything references this directory.
>
>   I would appreciate any advice or troubleshooting tips anyone could
> provide.
>
> Thank you,
> Michael~
>




More information about the rt-users mailing list