View Full Version : mod_fcgid: can't apply process slot for ...
bardo
2nd November 2009, 12:27
when i open my web site in then virtual host, i found the php file doesnt running.
and so i open the error log file,
mod_fcgid: can't apply process slot for...
i dont know why? many thanks!
till
2nd November 2009, 13:00
Please post the complete error message from the error log. Is this a vserver?
bardo
2nd November 2009, 13:11
apache error log
[Mon Nov 02 15:31:40 2009] [warn] (13)Permission denied: mod_fcgid: spawn process /var/www/tiaotiao.la/web/test.php error
[Mon Nov 02 15:31:41 2009] [error] (13)Permission denied: mod_fcgid: couldn't bind unix domain socket /etc/httpd/logs/fcgidsock/2095.191
site error log
[Mon Nov 02 15:24:29 2009] [warn] mod_fcgid: can't apply process slot for /var/www/tiaotiao.la/web/test.php
[Mon Nov 02 15:26:31 2009] [warn] mod_fcgid: can't apply process slot for /var/www/tiaotiao.la/web/test.php
[Mon Nov 02 15:31:41 2009] [warn] mod_fcgid: can't apply process slot for /var/www/tiaotiao.la/web/test.php
this server have been installed in a vmware virtual machine.
centos 5.3 apache 2.2.14 php 5.2.11 mysql 5.1.40
till
2nd November 2009, 13:14
Please check that you have selinux disabled as described in the centos perfect server manual.
http://www.howtoforge.com/perfect-server-centos-5.3-x86_64-ispconfig-3-p3
bardo
3rd November 2009, 03:28
yes, and the now the contents of the selinux config file :
SELINUX=disabled
SELINUXTYPE=targeted
SETLOCALDEFS=0
but mod_fcgid still cant running .
bardo
3rd November 2009, 04:31
P.S.
i didnt found the rpm mod_fcgid via installation by yum.
so i had install mod_fcgid by make install:
wget http://jaist.dl.sourceforge.net/sourceforge/mod-fcgid/mod_fcgid.2.2.tgz
tar zxvf mod_fcgid.2.2.tgz
cd mod_fcgid.2.2
vi makefile
top_dir = /usr/lib/httpd
:wq
make
make install
falko
3rd November 2009, 15:28
P.S.
i didnt found the rpm mod_fcgid via installation by yum.
Did you enable the RPMforge repository on your server?
bardo
9th November 2009, 08:41
Did you enable the RPMforge repository on your server?
thank u.
i had enabled the RPMforge repository on my server. but because httpd, php, mysql, versions are not default version. so i didnt found the rpm mod_fcgid via installation by yum.
so i had install mod_fcgid by make install.
finily i found that the problem is security of the directory.
P.S. i have install mod_fcgid using another RPM. and i found, in this way the config file is difrence to other way that installing via yum.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.