[rt-users] need help w/ fastcgi..

King, Aubrey aking at currentgroup.com
Wed Mar 12 16:18:42 EDT 2008


Perms on the install dir:

[root at CURRENT.tracker2]# ls -la var
total 20
drwxr-xr-x  5 apache rt 4096 Jun  2  2006 .
drwxr-xr-x  9 apache rt 4096 Jun  2  2006 ..
drwxr-xr-x  2 apache rt 4096 Feb 21 14:48 log
drwxrwx---  5 apache rt 4096 Sep 11  2006 mason_data
drwxrwx---  2 apache rt 4096 Jun  2  2006 session_data

Perms on logs:

[root at CURRENT.tracker2]# ls -la /etc/httpd/logs
lrwxrwxrwx  1 root root 19 Jan 23 21:51 /etc/httpd/logs ->
../../var/log/httpd
[root at CURRENT.tracker2]# ls -la /var/log/httpd/fastcgi/
total 12
drwxr-xr-x  3 apache apache 4096 Mar 11 18:06 .
drwx------  3 root   root   4096 Mar 12 04:02 ..
drwxr-xr-x  2 apache apache 4096 Mar 11 18:06 dynamic

It looks like they're open.  For grins, I did a chgrp apache on
/var/log/httpd and did a chmod 770 on it so it's group writeable.  I
also moved the fastcgi directory out of the way to see if apache would
create a new log dir.  It did not.

For whatever it's worth, this new instance is going to serve as a point
to migrate an existing installation and the old instance has perms setup
almost identical.  The one difference I see is a different version of
fastcgi.  Any other thoughts?

 

-----Original Message-----
From: Joe Casadonte [mailto:joe.casadonte at oracle.com] 
Sent: Wednesday, March 12, 2008 10:43 AM
To: King, Aubrey
Cc: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] need help w/ fastcgi..

On 3/12/2008 10:06 AM, King, Aubrey wrote:

> Can anyone make a suggestion on this?  I will be more than happy to 
> paste whatever you need.  If it's of any use, the apache user and rt 
> group are grabbed from ldap.  You can see perms here:

I'd say it's perms related (I know you said you checked, but....)

In particular ($RT3 == base RT install directory):

$RT3/var/mason_data
$RT3/var/session_data
$RT3/var/tmp

should be owned and writable by the apache user (or whatever user your
webserver/fcgi runs as), as well as everything underneath them.

In addition, and this is likely the issue (at least it is for me,
usually):

/etc/httpd/logs/fastcgi
/etc/httpd/logs/fastcgi/dynamic

need to be writeable by the fcgi user.  For some reason I have them as
0777 on my system, so maybe it needs to be even more open than that. 
Typically, though, this directory (/etc/httpd/logs) is writable for root
only.

--
Regards,


joe
Joe Casadonte
joe.casadonte at oracle.com

==========                                                  ==========
== The statements and opinions expressed here are my own and do not ==
== necessarily represent those of Oracle Corporation.               ==
==========                                                  ==========

***CONFIDENTIALITY NOTICE***
The information in this email may be confidential and/or privileged. This email is intended to be reviewed by only the individual or organization named above. If you are not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any review, dissemination or copying of this email and its attachments, if any, or the information contained herein is prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this message from your system.



More information about the rt-users mailing list