CB 2.0 Suspend user cause the entire httpd processes to stop

nmb

Verified User
Joined
Sep 13, 2008
Messages
223
I got a user that got suspended because of bandwidth usage. Then, the httpd service is down and can't restart until I unsuspended that user. Below is the error I got when try to restart in SSH :


Code:
AH00526: Syntax error on line 61 of /usr/local/directadmin/data/users/xxx-user01/httpd.conf:
FastCgiExternalServer: redefinition of previously defined class "/home/xxx-resell/domains/suspended/php53-fpm"


Also, the strange thing is that I got a reseller account, let's say "xxx-resell", the "xxx-resell" has 2 users under his name. A month ago, He already suspended xxx-user01 manually because the user stop using his service. There is no problem with the httpd service until xxx-user02 got suspended by DA because of bandwidth usage. However, the error I got above is with xxx-user01, not xxx-user02.
 
Only a WAG, but there may be some customizaton to one of the main httpd configuration files which is incompatible with the way DirectAdmin suspends users.

Jeff
 
Hello,

I've fixed this in the templates.
The fix was to change |DOCROOT| to |REALDOCROOT| for the Alias and FastCgiExternalServer lines in the HAVE_PHP1_FPM and HAVE_PHP2_FPM sections in the 4 virtual_host2*.conf files.
Either change the tempates for now, or grab the pre-release binaries/templates.

John
 
Thanks, manually changed in my template for now.
 
Back
Top