Have anyone seen this when pointing browser to Apache?
Fresh install with dependency checked ok.
Please help!
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:
…
Under /opt/rt3/var, mason_data already has the correct ownership
drwxrwx— 2 www www 4096 Jun 24 15:45 session_data
drwxrwx— 5 www www 4096 Jun 24 15:45 mason_data
(Temporarily) chmod 777 that dir, and see what user creates
the obj dir. Also check /opt/rt3/var, /opt/rt3 and /opt to
make sure that they’re executable by everyone.
Phil Homewood, Systems Janitor, http://www.SnapGear.com pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
Under /opt/rt3/var, mason_data already has the correct ownership
drwxrwx— 2 www www 4096 Jun 24 15:45 session_data
drwxrwx— 5 www www 4096 Jun 24 15:45 mason_data
(Temporarily) chmod 777 that dir, and see what user creates
the obj dir. Also check /opt/rt3/var, /opt/rt3 and /opt to
make sure that they’re executable by everyone.
Phil Homewood, Systems Janitor, http://www.SnapGear.com pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
[root@rt-tracker var]# ls -lart
total 20
drwxrwx— 2 www www 4096 Jun 26 09:20 session_data
drwxrwxrwx 5 www www 4096 Jun 26 09:20 mason_data
drwxr-xr-x 2 root root 4096 Jun 26 09:20 log
In my experience the {rt-install-root}/var/log directory has to be
writable by the user running the webserver, usually “www”.
Installing 3.0.0 and 3.0.2 left it owned by root, so I had to
to chown it to www before RT would start.
(This is Apache 1.3.27 / fastcgi / Solaris 2.8 / MySQL 4.0.12 etc)