RT 3.4.5 installation error

Hello,

My packages:

rt-3.4.5

Apache/2.2.0 (Unix) mod_perl/2.0.2 Perl/v5.8.8,

RedHat 7.3 Linux

When I finished the installation RT and first access the page ,I got the
following error message, can someone give me some advice?

Regards

System error

error:

mkdir /usr/local/apache/htdocs/rt/var/mason_data/obj: Permission denied at
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm line
102

context:

265:

whether they should generate a full stack trace (confess() and cluck())

266:

or simply report the caller’s package (croak() and carp()), respectively.

267:

confess() and croak() die, carp() and cluck() warn.

268:

269:

sub croak { die shortmess @_ }

270:

sub confess { die longmess @_ }

271:

sub carp { warn shortmess @_ }

272:

sub cluck { warn longmess @_ }

273:

code stack:

/usr/local/lib/perl5/5.8.8/Carp.pm:269
/usr/local/lib/perl5/5.8.8/File/Path.pm:168
/usr/local/lib/perl5/5.8.8/File/Path.pm:161
/usr/local/lib/perl5/5.8.8/File/Path.pm:161
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm:102
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:434
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:238
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:204
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:97
/usr/local/lib/perl5/site_perl/5.8.8/Class/Container.pm:275
/usr/local/lib/perl5/site_perl/5.8.8/Class/Container.pm:353
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:348
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:869
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:823
/usr/local/apache/htdocs/rt/bin/webmux.pl:123
-e:0

raw error http://192.168.20.104/#raw#raw

mkdir /usr/local/apache/htdocs/rt/var/mason_data/obj: Permission denied at
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm line
102

Trace begun at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm
line 129
HTML::Mason::Exceptions::rethrow_exception(‘mkdir
/usr/local/apache/htdocs/rt/var/mason_data/obj: Permission denied at
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm line
102^J’) called at /usr/local/lib/perl5/5.8.8/Carp.pm line 269
Carp::croak(‘mkdir /usr/local/apache/htdocs/rt/var/mason_data/obj:
Permission denied’) called at /usr/local/lib/perl5/5.8.8/File/Path.pm line
168
File::Path::mkpath(’/usr/local/apache/htdocs/rt/var/mason_data/obj’, 0, 509)
called at /usr/local/lib/perl5/5.8.8/File/Path.pm line 161
File::Path::mkpath(’/usr/local/apache/htdocs/rt/var/mason_data/obj/386575762
8’, 0, 509) called at /usr/local/lib/perl5/5.8.8/File/Path.pm line 161
File::Path::mkpath(’/usr/local/apache/htdocs/rt/var/mason_data/obj/386575762
8/standard’, 0, 509) called at
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm line
102
HTML::Mason::Compiler::ToObject::compile_to_file(undef, ‘file’,
’/usr/local/apache/htdocs/rt/var/mason_data/obj/3865757628/standard/index.ht
ml.obj’, ‘source’, ‘HTML::Mason::ComponentSource=HASH(0x983685c)’) called at
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm line 434
HTML::Mason::Interp::load(‘HTML::Mason::Interp=HASH(0x921fe3c)’,
’/index.html’) called at
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 238
eval {…} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm
line 223
HTML::Mason::Request::_initialize(‘HTML::Mason::Request::ApacheHandler=HASH(
0x96865a0)’) called at
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 204
HTML::Mason::Request::new(‘HTML::Mason::Request::ApacheHandler’,
‘error_mode’, ‘output’, ‘autoflush’, 0, ‘error_format’, ‘html’, ‘interp’,
‘HTML::Mason::Interp=HASH(0x921fe3c)’, ‘comp’, ‘/index.html’, ‘args’,
‘ARRAY(0x918ebc4)’, ‘ah’, ‘HTML::Mason::ApacheHandler=HASH(0x921fce0)’,
‘apache_req’, ‘Apache2::RequestRec=SCALAR(0x8a07efc)’, ‘container’,
‘HASH(0x9685ff4)’) called at
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 97
HTML::Mason::Request::ApacheHandler::new(‘HTML::Mason::Request::ApacheHandle
r’, ‘error_mode’, ‘output’, ‘autoflush’, 0, ‘error_format’, ‘html’,
‘interp’, ‘HTML::Mason::Interp=HASH(0x921fe3c)’, ‘comp’, ‘/index.html’,
‘args’, ‘ARRAY(0x918ebc4)’, ‘ah’,
‘HTML::Mason::ApacheHandler=HASH(0x921fce0)’, ‘apache_req’,
‘Apache2::RequestRec=SCALAR(0x8a07efc)’, ‘container’, ‘HASH(0x9685ff4)’)
called at /usr/local/lib/perl5/site_perl/5.8.8/Class/Container.pm line 275
Class::Container::call_method(‘HTML::Mason::Interp=HASH(0x921fe3c)’,
‘request’, ‘new’, ‘interp’, ‘HTML::Mason::Interp=HASH(0x921fe3c)’, ‘comp’,
’/index.html’, ‘args’, ‘ARRAY(0x918ebc4)’, ‘ah’,
‘HTML::Mason::ApacheHandler=HASH(0x921fce0)’, ‘apache_req’,
‘Apache2::RequestRec=SCALAR(0x8a07efc)’, ‘container’, ‘HASH(0x9685ff4)’)
called at /usr/local/lib/perl5/site_perl/5.8.8/Class/Container.pm line 353
Class::Container::create_delayed_object(‘interp’,
‘HTML::Mason::Interp=HASH(0x921fe3c)’, ‘comp’, ‘/index.html’, ‘args’,
‘ARRAY(0x918ebc4)’, ‘ah’, ‘HTML::Mason::ApacheHandler=HASH(0x921fce0)’,
‘apache_req’, ‘Apache2::RequestRec=SCALAR(0x8a07efc)’, ‘container’,
‘HASH(0x9685ff4)’) called at
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm line 348
HTML::Mason::Interp::make_request(‘HTML::Mason::Interp=HASH(0x921fe3c)’,
‘comp’, ‘/index.html’, ‘args’, ‘ARRAY(0x918ebc4)’, ‘ah’,
‘HTML::Mason::ApacheHandler=HASH(0x921fce0)’, ‘apache_req’,
‘Apache2::RequestRec=SCALAR(0x8a07efc)’) called at
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 869
eval {…} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.
pm line 868
HTML::Mason::ApacheHandler::prepare_request(‘HTML::Mason::ApacheHandler=HASH
(0x921fce0)’, ‘Apache2::RequestRec=SCALAR(0x8a07efc)’) called at
/usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 823
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(
0x921fce0)’, ‘Apache2::RequestRec=SCALAR(0x8a07efc)’) called at
/usr/local/apache/htdocs/rt/bin/webmux.pl line 123
eval {…} at /usr/local/apache/htdocs/rt/bin/webmux.pl line 123
RT::Mason::handler(‘Apache2::RequestRec=SCALAR(0x8a07efc)’) called at -e
line 0
eval {…} at -e line 0

Hello,

My packages:

rt-3.4.5

Apache/2.2.0 (Unix) mod_perl/2.0.2 Perl/v5.8.8,

RedHat 7.3 Linux

When I finished the installation RT and first access the page ,I got the following error message, can someone give me some advice?

Regards

System error

error:

mkdir /usr/local/apache/htdocs/rt/var/mason_data/obj: Permission denied at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Compiler/ToObject.pm line 102

[snip]

configure script in RT tarball has two options --with-web-user and
–with-web-group that you should b specified if your apache runs under
user:group different from default web:web.

Best regards, Ruslan.