Permission issue with Request Tracker

I have successfully installed Request tracker but when
I go to the RT site I get the following message.

error: mkdir /opt/rt3/var/mason_data/obj: Permission
denied at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Compiler/ToObject.pm
line 102
context:

187: # whether they should generate a full stack
trace (confess() and cluck())
188: # or simply report the caller’s package (croak()
and carp()), respectively.
189: # confess() and croak() die, carp() and cluck()
warn.
190:
191: sub croak { die shortmess @_ }
192: sub confess { die longmess @_ }
193: sub carp { warn shortmess @_ }
194: sub cluck { warn longmess @_ }
195:

code stack: /usr/lib/perl5/5.8.0/Carp.pm:191
g /usr/lib/perl5/5.8.0/File/Path.pm:150
g /usr/lib/perl5/5.8.0/File/Path.pm:143
g
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Compiler/ToObject.pm:102
g
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:308
g
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198
g
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
g
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60
g
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
g
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
g
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213
g
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:863
g
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789
g /opt/rt3/bin/webmux.pl:134
g /dev/null:0
g

I have searched and found this question asked several
other times on the mailing list but none seem to have
any answers that work. Does anybody know how to get
around this error? Thanks in advance.

Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

error: mkdir /opt/rt3/var/mason_data/obj: Permission
denied at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Compiler/ToObject.pm
I have searched and found this question asked several
other times on the mailing list but none seem to have
any answers that work. Does anybody know how to get
around this error? Thanks in advance.

The easy way is to do this as root:

mkdir -p /opt/rt3/var/mason_data
chown -R www /opt/rt3/var/mason_data

Switch “www” to the user that apache is running under

Thanks,
/Autrijus/

error: mkdir /opt/rt3/var/mason_data/obj: Permission
denied at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Compiler/ToObject.pm
I have searched and found this question asked several
other times on the mailing list but none seem to have
any answers that work. Does anybody know how to get
around this error? Thanks in advance.

The easy way is to do this as root:

mkdir -p /opt/rt3/var/mason_data
chown -R www /opt/rt3/var/mason_data

Switch “www” to the user that apache is running under

It should be noted that if you’d supplied the --with-web-user and
–with-web-groups parameters to configure when installing RT, this
should have happened automatically.

Thanks,
/Autrijus/


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

http://www.bestpractical.com/rt – Trouble Ticketing. Free.