[rt-users] RT 3.6.6 Install on FC8 (Apache problems)

Drew Barnes barnesaw at ucrwcu.rwc.uc.edu
Tue May 13 09:09:18 EDT 2008


SELinux issues?  Since our RT install is not outward-facing, I tend to 
either disable or set it for permissive.


Shannon Adams wrote:
> In short, I have an old server running FC4 and RT 3.6.6.  I have installed a new server running FC8, but I am having trouble getting RT 3.6.6 running on it.  Here are some more details:
>
> fc4 httpd version running Apache/2.0.54
> fc8 httpd version running Apache/2.2.8 (Unix) 
>
> The user running httpd on fc4 is "apache".  I am attempting to start httpd with "service httpd start" as root on fc8 - just as I do on fc4.  Permissions, owner, and group are exactly the same between the two machines starting at /opt/rt3.  For example, both servers show this for /opt/rt3/var/mason_data:
>
> drwxr-xr-x 2 apache apache 4096 2008-05-12 10:16 cache 
> drwxr-xr-x 2 apache apache 4096 2008-05-12 10:16 etc   
> drwxr-xr-x 2 apache apache 4096 2008-05-12 10:16 obj   
>
> However, when starting httpd on fc8, I get the message below.  It appears to be permissions related, but the permissions between the two servers starting at /opt/rt3 are exactly the same.  I would really appreciate any assistance.  This is driving me nuts!
>
> Thanks,
> Shannon
>
> ----- Original Message ----
> From: Matthew Keller <kellermg at potsdam.edu>
> To: Shannon Adams <shannon_adams68 at yahoo.com>
> Cc: rt-users at lists.bestpractical.com
> Sent: Monday, May 12, 2008 3:33:05 PM
> Subject: Re: [rt-users] RT 3.6.6 Install on FC8 (Apache problems)
>
> 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: sales at bestpractical.com
>>
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
>> Buy a copy at http://rtbook.bestpractical.com
>>     
>
>
>       ____________________________________________________________________________________
> 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: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
>   



More information about the rt-users mailing list