Permission denied: mod_fcgid: can't lock process table in pid

Discussion in 'General' started by minttux, Apr 29, 2014.

  1. minttux

    minttux Member

    Hi i had problem with php and php doesn't run and when i run the page it's show can not find

    it's in log:
    [Tue Apr 29 17:37:56 2014] [emerg] [client 123.125.71.89] (13)Permission denied: mod_fcgid: can't lock process table in pid 8101
    [Tue Apr 29 17:42:51 2014] [emerg] [client 61.135.189.181] (13)Permission denied: mod_fcgid: can't lock process table in pid 8816


    and it's my config:
    Code:
    <Directory /var/www/mysite.com>
    		AllowOverride None
    		Order Deny,Allow
    		Deny from all
    </Directory>
    
    <VirtualHost 66.23.239.29:80>
    		DocumentRoot /var/www/mysite.com/web
    			
    		ServerName mysite.com
    		ServerAlias www.mysite.com
    		ServerAdmin webmaster@mysite.com
    
    		ErrorLog /var/log/ispconfig/httpd/mysite.com/error.log
    
    		Alias /error/ "/var/www/mysite.com/web/error/"
    		ErrorDocument 400 /error/400.html
    		ErrorDocument 401 /error/401.html
    		ErrorDocument 403 /error/403.html
    		ErrorDocument 404 /error/404.html
    		ErrorDocument 405 /error/405.html
    		ErrorDocument 500 /error/500.html
    		ErrorDocument 502 /error/502.html
    		ErrorDocument 503 /error/503.html
    
    		<IfModule mod_ssl.c>
    		</IfModule>
    
    		<Directory /var/www/mysite.com/web>
    				Options FollowSymLinks
    				AllowOverride All
    				Order allow,deny
    				Allow from all
    		</Directory>
    		<Directory /var/www/clients/client0/web9/web>
    				Options FollowSymLinks
    				AllowOverride All
    				Order allow,deny
    				Allow from all
    		</Directory>
    
    
    
    
    		# Clear PHP settings of this website
    		<FilesMatch "\.ph(p3?|tml)$">
    				SetHandler None
    		</FilesMatch>
    		# php as fast-cgi enabled
    	# For config options see: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
    		<IfModule mod_fcgid.c>
    				IdleTimeout 300
    				ProcessLifeTime 3600
    				# MaxProcessCount 1000
    				DefaultMinClassProcessCount 0
    				DefaultMaxClassProcessCount 100
    				IPCConnectTimeout 3
    				IPCCommTimeout 360
    				BusyTimeout 300
    		</IfModule>
    		<Directory /var/www/mysite.com/web>
    				AddHandler fcgid-script .php .php3 .php4 .php5
    				FCGIWrapper /var/www/php-fcgi-scripts/web9/.php-fcgi-starter .php
    				Options +ExecCGI
    				AllowOverride All
    				Order allow,deny
    				Allow from all
    		</Directory>
    		<Directory /var/www/clients/client0/web9/web>
    				AddHandler fcgid-script .php .php3 .php4 .php5
    				FCGIWrapper /var/www/php-fcgi-scripts/web9/.php-fcgi-starter .php
    				Options +ExecCGI
    				AllowOverride All
    				Order allow,deny
    				Allow from all
    		</Directory>
    
    
    		# add support for apache mpm_itk
    		<IfModule mpm_itk_module>
    			AssignUserId web9 client0
    		</IfModule>
    
    		<IfModule mod_dav_fs.c>
    		# Do not execute PHP files in webdav directory
    			<Directory /var/www/clients/client0/web9/webdav>
    				<ifModule mod_security2.c>
    					SecRuleRemoveById 960015
    					SecRuleRemoveById 960032
    				</ifModule>
    				<FilesMatch "\.ph(p3?|tml)$">
    					SetHandler None
    				</FilesMatch>
    			</Directory>
    			DavLockDB /var/www/clients/client0/web9/tmp/DavLock
    			# DO NOT REMOVE THE COMMENTS!
    			# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
          # WEBDAV BEGIN
    			# WEBDAV END
    		</IfModule>
    
    </VirtualHost>
    
    
    it's this config of user:
    [​IMG]

    it's my host spec:
    # uname -a
    Linux server....net 2.6.32-5-amd64 #1 SMP Mon Sep 23 22:14:43 UTC 2013 x86_64 GNU/Linux

    Debian squeeze 64bit
    # php -v
    PHP 5.4.27-1~dotdeb.0 (cli) (built: Apr 6 2014 01:37:13)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with XCache v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Cacher v3.1.0, Copyright (c) 2005-2013, by mOo

    Apache/2.2.16


    Any idea?
     

Share This Page