O erro que você deu ...
[emerg] (13)Permission denied: mod_fcgid: can´t lock process table in pid
... é coberto neste bug do apache que diz que é devido a uma incompatibilidade entre certas versões do mpm-itk e mod_fcgid.
Ele será exibido toda vez que o servidor exibir uma página fastcgi, geralmente PHP. O servidor ainda fornecerá conteúdo estático nesse estado.
link
O bug não está corrigido ainda, então as soluções atuais são alteradas para mpm-prefork ou mudadas para não-fastcgi. Para o PHP, mude para o mod-php.
Em um sistema Debian / Ubuntu, você pode alternar para o mpm-prefork simplesmente executando
apt-get remove apache2-mpm-itk
O Debian alterna-se:
root@vps1:/var/lib/apache2/fcgid# apt-get remove apache2-mpm-itk
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2-mpm-prefork
The following packages will be REMOVED:
apache2-mpm-itk
The following NEW packages will be installed:
apache2-mpm-prefork
0 upgraded, 1 newly installed, 1 to remove and 109 not upgraded.
Need to get 2,358 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://ftp.debian.org/debian/ wheezy/main apache2-mpm-prefork amd64 2.2.22-13+deb7u2 [2,358 B]
Fetched 2,358 B in 0s (7,481 B/s)
dpkg: apache2-mpm-itk: dependency problems, but removing anyway as you requested:
libapache2-mod-php5 depends on apache2-mpm-prefork (>> 2.0.52) | apache2-mpm-itk; however:
Package apache2-mpm-prefork is not installed.
Package apache2-mpm-itk is to be removed.
apache2 depends on apache2-mpm-worker (= 2.2.22-13+deb7u2) | apache2-mpm-prefork (= 2.2.22-13+deb7u2) | apache2-mpm-event (= 2.2.22-13+deb7u2) | apache2-mpm-itk (= 2.2.22-13+deb7u2); however:
Package apache2-mpm-worker is not installed.
Package apache2-mpm-prefork is not installed.
Package apache2-mpm-event is not installed.
Package apache2-mpm-itk is to be removed.
(Reading database ... 48579 files and directories currently installed.)
Removing apache2-mpm-itk ...
[ ok ] Stopping web server: apache2 ... waiting .
Selecting previously unselected package apache2-mpm-prefork.
(Reading database ... 48583 files and directories currently installed.)
Unpacking apache2-mpm-prefork (from .../apache2-mpm-prefork_2.2.22-13+deb7u2_amd64.deb) ...
Setting up apache2-mpm-prefork (2.2.22-13+deb7u2) ...
[ ok ] Starting web server: apache2.