Installation issue

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:

code stack: /usr/lib/perl5/5.8.0/Carp.pm:191
/usr/lib/perl5/5.8.0/File/Path.pm:150
/usr/lib/perl5/5.8.0/File/Path.pm:143
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Compiler/ToObject.pm:102
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:322
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:199
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:231
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:862
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789
/opt/rt3/bin/webmux.pl:118
-e:0

Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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

Try this as root:

chown www /opt/rt3/var/mason_data

/Autrijus/

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

Try this as root:

chown www /opt/rt3/var/mason_data

/Autrijus/

Thanks for the reply…

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

Any other clue?

TIA,

Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

Thang T. Mai wrote:

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

Greetings,

[root@rt-tracker var]# pwd
/opt/rt3/var

[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

[root@rt-tracker mason_data]# cd mason_data

[root@rt-tracker mason_data]# ls -lart
total 20
drwxr-xr-x 2 www www 4096 Jun 26 09:20 obj
drwxr-xr-x 2 www www 4096 Jun 26 09:20 etc
drwxr-xr-x 2 www www 4096 Jun 26 09:20 cache

Yes, /opt/rt3/var, /opt/rt3 and /opt are executable by everyone.

Still no go!

If I “chmod -R 777 /opt/rt3” , I get a login prompt in my browser…
So what should be the correct permission and ownership?

Many thanks,— Phil Homewood pdh@snapgear.com wrote:

Thang T. Mai wrote:

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!
http://sbc.yahoo.com

[root@rt-tracker var]# pwd
/opt/rt3/var

[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)

-- Larry