<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
Hello,<br>
<br>
  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:<br>
<br>
<pre>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::<a
 class="moz-txt-link-freetext" href="Path::mkpath%28">Path::mkpath(</a>'/cmweb/tools/rt/var/mason_data/obj', 0, 509) called at /usr/local/lib/perl5/5.6.1/File/Path.pm line 133
File::<a
 class="moz-txt-link-freetext" href="Path::mkpath%28">Path::mkpath(</a>'/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::<a
 class="moz-txt-link-freetext" href="Path::mkpath%28">Path::mkpath(</a>'/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::<a
 class="moz-txt-link-freetext" href="Path::mkpath%28">Path::mkpath(</a>'/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::<a
 class="moz-txt-link-freetext" href="Path::mkpath%28">Path::mkpath(</a>'/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::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/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</pre>
  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.<br>
<br>
  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.<br>
<br>
  I would appreciate any advice or troubleshooting tips anyone could
provide.<br>
<br>
Thank you,<br>
Michael~<br>
</body>
</html>