Package: libapache-mod-fastcgi
Version: 2.4.2-6
Severity: grave
Justification: renders package unusable


It would appear that when you install libapache-mod-fastcgi, it includes a line
in /etc/apache/conf.d as: FastCgiIpcDir /var/lib/apache/fastcgi

/var/lib/apache/fastcgi is created by the package and chowned to
www-data:www-data as seen below:

# ls -lad /var/lib/apache/fastcgi/
drwxr-xr-x  2 www-data www-data 4096 Jul  6 18:54 /var/lib/apache/fastcgi/

However, when you subsequently attempt to restart apache, you get the following
error:

# /etc/init.d/apache restart
Configuration syntax error detected. Not reloading.

Syntax error on line 4 of /etc/apache/conf.d/fastcgi.conf:
FastCgiIpcDir /var/lib/apache/fastcgi: access for server (uid 65534, gid 65534)
failed: write not allowed

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)

As such, I'm at an impasse for getting fastcgi to work. Removing the package or
leaving /var/lib/apache/fastcgi as owned by nobody at least gets apache working
again, as a workaround.


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.29.022505
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libapache-mod-fastcgi depends on:
ii  apache-common               1.3.33-6     support files for all Apache webse
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information


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

Reply via email to