Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: raizho on June 06, 2020, 03:07:35 AM
-
[Sat Jun 06 10:00:02.476928 2020] [proxy_fcgi:error] [pid 15635:tid 140597499262720] (70007)The timeout specified has expired: [client 111.202.101.113:39149] AH01075: Error dispatching request to : (polling)
Need help :-[
I have a problem on the CWP server. all websites cannot be accessed. I use the "apache only php 7.0 force FPM" configuration. I have tried increasing the Timeout and ProxyTimeout in httpd.conf. But it didn't work.
Regards
Purwanto
Indowebsite.id
-
check systemctl status php-fpm70
if it's not running
systemctl start php-fpm70
systemctl enable php-fpm70
otherwise post the status.
-
php fpm service is running normally.
● php-fpm70.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm70.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2020-06-05 15:52:53 WIB; 19h ago
Process: 29537 ExecReload=/bin/kill -USR2 $MAINPID (code=exited, status=0/SUCCESS)
Main PID: 28268 (php-fpm)
CGroup: /system.slice/php-fpm70.service
└─28268 php-fpm: master process (/opt/alt/php-fpm70/usr/etc/php-fpm.conf)
Jun 05 22:49:45 host.celup.com systemd[1]: Reloaded The PHP FastCGI Process Manager.
Jun 06 07:00:39 host.celup.com systemd[1]: Reloading The PHP FastCGI Process Manager.
Jun 06 07:00:39 host.celup.com systemd[1]: Can't open PID file /opt/alt/php-fpm70/usr/var/run/php-fpm.pid (yet?) after reload: No such file or directory
Jun 06 07:00:39 host.celup.com systemd[1]: Reloaded The PHP FastCGI Process Manager.
Jun 06 08:16:54 host.celup.com systemd[1]: Reloading The PHP FastCGI Process Manager.
Jun 06 08:16:54 host.celup.com systemd[1]: Can't open PID file /opt/alt/php-fpm70/usr/var/run/php-fpm.pid (yet?) after reload: No such file or directory
Jun 06 08:16:54 host.celup.com systemd[1]: Reloaded The PHP FastCGI Process Manager.
Jun 06 10:37:12 host.celup.com systemd[1]: Reloading The PHP FastCGI Process Manager.
Jun 06 10:37:12 host.celup.com systemd[1]: Can't open PID file /opt/alt/php-fpm70/usr/var/run/php-fpm.pid (yet?) after reload: No such file or directory
Jun 06 10:37:12 host.celup.com systemd[1]: Reloaded The PHP FastCGI Process Manager.
I have also rebuild Apache, reinstall PHP-FPM70 and rebuild the webserver configuration. But still get error.
-
please reply with printout from:
ls -al /opt/alt/php-fpm70/usr/var/sockets
-
Here is the result.
[root@newpinwheel ~]# ls -al /opt/alt/php-fpm70/usr/var/sockets
total 60
drwxr-xr-x. 2 root root 36864 Jun 5 22:49 .
drwxr-xr-x. 5 root root 43 Jun 2 20:56 ..
srw-rw---- 1 root nobody 0 Jun 5 15:52 lalacom.sock
srw-rw---- 1 root nobody 0 Jun 5 15:52 adwmy.sock
srw-rw---- 1 root nobody 0 Jun 5 15:52 adqzra1.sock
-
Are those the only 3 sites running on the server?
-
There are 1050 active website accounts on my server. I am still confused about where the error came from. I've even tried migrating to a new server with fresh CWP 7 installation. But still getting this error.
-
I would recommend turning off force fpm then, and see what happens. If there are 1000 sites, there should be an equal number of sock files for each user account.
-
Thank you for your help, sir. :)
I have turned off "force php-fpm" and now the website can be accessed. at this time I will be monitoring my server.
-
Hi,
Can you please guide me how to turn off "force php-fpm"? :'(
-
Hi,
Can you please guide me how to turn off "force php-fpm"? :'(
WebServer Settings -> Webserver Main Conf
Uncheck the last checkbox that states force apache to use PHP-FPM
-
Thanks, Let me try this... ::)
-
Please find the screenshot of my configuration, I am still facing the same issue.(https://demo.ratanrashi.com/Screenshot.png)
-
Resolved it by adding the below screenshot
(https://demo.ratanrashi.com/error1.png)
:o ;D :) ;) :D ::) :P :-X
-
Where i can found setting: locate default_socket_timeout ?