Hello,

>>> In Message "Bug#317244: libapache-mod-fastcgi: assumes (?) webserver runs 
>>> as nobody:nogroup and fails to start"
>>>            <[EMAIL PROTECTED]>,
>>> Chris Wage <[EMAIL PROTECTED]>  said;
> It would appear that perhaps the module was compiled expecting the server to 
> be
> running as nobody:nogroup rather than www-data:www-data, which is the case in
> Debian. You can of course simply make the /var/lib/apache/fastcgi folder
> writeable by the "nobody" user, or the "nogroup" group, which allows apache to
> start, but fastcgi scripts still fail because the webserver cannot write to 
> the
> fastcgi folder (it creates the dynamic/ folder owned by nobody and mode 0700)

FastCGI module don't expect apache is running as nobody.
When root is going to start apache, the module will get uid/gid from
Apache API (ap_user_id/ap_group_id).

You can check it with minimal config file like following;

[EMAIL PROTECTED]:~% cat fcgitest-apache.conf
User www-data
Group www-data
LoadModule fastcgi_module /usr/lib/apache/1.3/mod_fastcgi.so
FastCgiIpcDir /home/sugi/fcgiipctest

[EMAIL PROTECTED]:~% ls -ld fcgiipctest
d---------  2 sugi sugi 48 2005-07-15 12:34 fcgiipctest/

[EMAIL PROTECTED]:~% id www-data
uid=33(www-data) gid=33(www-data) groups=33(www-data)

[EMAIL PROTECTED]:~% sudo apache -f /home/sugi/fcgitest-apache.conf -T
Syntax error on line 4 of /home/sugi/fcgitest-apache.conf:
FastCgiIpcDir /home/sugi/fcgiipctest: access for server (uid 33, gid 33) 
failed: read not allowed

If correct server uid/gid are shown, it works well.

> FastCgiIpcDir /var/lib/apache/fastcgi: access for server (uid 65534, gid 
> 65534)
> failed: write not allowed

I think... perhapse, the setting  "User nobody" was written in your apache 
config.
Please check your all config files listed as

strace /usr/sbin/apache -T 2>&1 | grep open \
  | egrep -v "/(usr|lib|dev)/" | grep -v "No such" \
  | egrep -v "/etc/(hosts|group|passwd|ld\.so|resolv\.conf|nsswitch\.conf)"

-- 
Tatsuki Sugiura   mailto:[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to