custombuild 2 with fastcgi problems suexec

vancanneyt

Verified User
Joined
Dec 13, 2012
Messages
92
Hi,

I use custombuild 2 for a few months now with php-fpm without much troubles. Because of a bug in apache it was not advised to use php-fpm until that bug went away and it was advised to use the fastcgi php mode.
I changed the setting in options.conf and did ./build php
This all went well until httpd restarted with this error

Code:
Starting httpd: [Mon Apr 08 23:24:22.400529 2013] [so:warn] [pid 13515:tid 140119846848448] AH01574: module fcgid_module is already loaded, skipping

Because this could be a conflict in configs i ran this command: ./build rewrite_confs
then restarted https. Now without errors

But all sites where down, apache logs shows:
Code:
suexec policy violation: see suexec log for more details
and suexec log:
Code:
[2013-04-08 23:30:00]: uid: (507/USER) gid: (509/USER) cmd: fcgid54.sh
[2013-04-08 23:30:00]: target uid/gid (507/509) mismatch with directory (498/500) or program (498/500)
 
couldn't edit my post anymore so minor update:

reverted back to php-fpm so everything is online again...

But now on some pages i get a 503 error "Service unavailable" and in the users logs:
Code:
[Mon Apr 08 23:47:36.619987 2013] [proxy_fcgi:error] [pid 22705:tid 139922439513856] (70007)The timeout specified has expired: [client 81.242.224.242:64197] AH01075: Error dispatching request to :
where can i edit the timeouts ?
 
It looks like unpatched apache. Please do:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build apache
 
Back
Top