The user running apache (normally 'apache' or 'httpd') needs to be able
to write to the mason_data and session_data folders in /opt/rt3/var/
On Mon, 2008-05-12 at 12:09 -0700, Shannon Adams wrote:
> I am stuck on the Apache configuration. When I try to start httpd, it fails
> ("service httpd start"). The log shows:
>
> [Mon May 12 10:55:15 2008] [error] Could not create
> '/opt/rt3/var/mason_data/obj/.__obj_create_marker': Permission
> denied\nStack:\n
> [/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Interp.pm:222]\n
> [/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Interp.pm:169]\n
> [/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Interp.pm:155]\n
> [/usr/lib/perl5/vendor_perl/5.8.8/Class/Container.pm:329]\n
> [/usr/lib/perl5/vendor_perl/5.8.8/Class/Container.pm:53]\n
> [/usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm:633]\n
> [/opt/rt3/lib/RT/Interface/Web/Handler.pm:173]\n
> [/opt/rt3/lib/RT/Interface/Web/Handler.pm:137]\n
> [/opt/rt3/bin/webmux.pl:89]\nCompilation failed in require at (eval 2) line
> 1.\n
> [Mon May 12 10:55:15 2008] [error] Can't load Perl file:
> /opt/rt3/bin/webmux.pl for server itadmin_test.bigrocksports.com:0, exiting...
>
> Here is my /etc/httpd/conf.d/rt3.conf:
>
> <VirtualHost *>
> ServerName itadmin_test.bigrocksports.com
> ServerAlias rtbak.bigrocksports.com
> DocumentRoot /opt/rt3/share/html
>
> AddDefaultCharset UTF-8
> PerlModule Apache::DBI
> PerlRequire /opt/rt3/bin/webmux.pl
>
> <Location /rt3>
> SetHandler perl-script
> PerlHandler RT::Mason
> </Location>
> </VirtualHost>
>
> Looks like I have two problems based on the logs? First, permissions on the
> "/opt/rt3/var/mason_data/obj/" directory. What should the owner/permissions
> be? Secondly, "Can't load Perl file". All the dependencies passed during
> the install and I know perl is installed.
>
> I am stuck. Thanks for any help.
>
> Shannon
>
>
>
>
> ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: [EMAIL PROTECTED]
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com