New Hosting: Xenforo 2 + php-fpm71 = HTTP 503 error

ayberk

Verified User
Joined
Apr 18, 2016
Messages
48
Hello, we have a strange problem with the server we just bought. We have moved Xenforo 2.0 here and have PHP-FPM 7.1 on it. Speed, performance and everything are good. But messages are not working and topics can be created no more. There is HTTP 503 error.

Moving to PHP-FPM 5.6 has temporarily disabled the problem, but want to use 7.1. What do we need to do? Do we have to move to 7.2 or is there a problem with 7.1?
No problem with Wordpress. The problem is only appearing when try to create thread or send message on Xenfore 2.0.4.

Error: https://s31.postimg.org/9wwf51n5n/test.jpg

OS: Centos 7, Dadmin, 16 gb ram, 240 gb ssd, Apache

Error logs:

[Thu Apr 05 11:55:35.338525 2018] [proxy:error] [pid 32093:tid 139758285903616] (13)Permission denied: AH02454: FCGI: attempt to connect to Unix domain socket /usr/local/php56/sockets/webapps.sock (*) failed
[Thu Apr 05 11:55:35.338552 2018] [proxy_fcgi:error] [pid 32093:tid 139758285903616] [client 66.249.70.5:44514] AH01079: failed to make connection to backend: httpd-UDS
[Thu Apr 05 12:14:28.709651 2018] [proxy:error] [pid 32093:tid 139758269118208] (13)Permission denied: AH02454: FCGI: attempt to connect to Unix domain socket /usr/local/php56/sockets/webapps.sock (*) failed
[Thu Apr 05 12:14:28.709677 2018] [proxy_fcgi:error] [pid 32093:tid 139758269118208] [client 66.249.70.5:43902] AH01079: failed to make connection to backend: httpd-UDS
[Thu Apr 05 12:29:48.646099 2018] [proxy:error] [pid 17863:tid 139758302689024] (13)Permission denied: AH02454: FCGI: attempt to connect to Unix domain socket /usr/local/php56/sockets/webapps.sock (*) failed
[Thu Apr 05 12:29:48.646133 2018] [proxy_fcgi:error] [pid 17863:tid 139758302689024] [client 66.249.70.5:47983] AH01079: failed to make connection to backend: httpd-UDS

Thank you.
 
Do you have mod_ruid2 enabled? If yes, disable it and check if it solve the problem.
 
Do you have mod_ruid2 enabled? If yes, disable it and check if it solve the problem.

Yes mod_ruid2 was active. While Wordpress is fine, Xenforo 2 is causing problems. Should I still disable mod_ruid2?

Thank you.
 
Yes,

Code:
cd /usr/local/directadmin/custombuild
./build update
./build set php1_release 5.6
./build set php2_release 7.1
./build set php1_mode php-fpm
./build set php2_mode php-fpm
./build set mod_ruid2 no

and

Code:
./build php n
./build rewrite_confs
 
Thank you very much. Is it just enough to turn off mod_ruid in options.conf. Then select 7.1 for PHP1 and give the rewrite_confs command after?
 
it is possible, but you still need to

Code:
./build php n
./build rewrite_confs
 
Back
Top