PHP-FPM (PHP 5.6) is giving error File not found on webpage

Artis

Verified User
Joined
Jun 24, 2012
Messages
37
Location
Zagreb - Croatia
I have issue with my PHP 5.6 (PHP-FPM) from time to time I receive error on my webpage:

Code:
[Tue Mar 01 09:34:35.994004 2016] [proxy_fcgi:error] [pid 691666:tid 140434101556992] [client 212.15.176.183:35845] AH01071: Got error 'Primary script unknown\n'
[Tue Mar 01 09:47:41.218278 2016] [proxy_fcgi:error] [pid 691666:tid 140434374293248] [client 77.216.176.196:57414] AH01071: Got error 'Primary script unknown\n'
[Tue Mar 01 09:51:39.138266 2016] [proxy_fcgi:error] [pid 691666:tid 140434248414976] [client 77.216.176.196:57456] AH01071: Got error 'Primary script unknown\n'
[Tue Mar 01 09:52:50.725183 2016] [proxy_fcgi:error] [pid 691666:tid 140434321843968] [client 77.216.176.196:57497] AH01071: Got error 'Primary script unknown\n'
[Tue Mar 01 09:52:51.426095 2016] [proxy_fcgi:error] [pid 691666:tid 140434269394688] [client 77.216.176.196:57503] AH01071: Got error 'Primary script unknown\n'
[Tue Mar 01 09:52:51.654950 2016] [proxy_fcgi:error] [pid 691666:tid 140434426742528] [client 77.216.176.196:57503] AH01071: Got error 'Primary script unknown\n'
[Tue Mar 01 09:52:51.745671 2016] [proxy_fcgi:error] [pid 691666:tid 140434552620800] [client 77.216.176.196:57503] AH01071: Got error 'Primary script unknown\n'
[Tue Mar 01 09:52:51.885641 2016] [proxy_fcgi:error] [pid 691666:tid 140434122536704] [client 77.216.176.196:57503] AH01071: Got error 'Primary script unknown\n'
[Tue Mar 01 09:52:52.092694 2016] [proxy_fcgi:error] [pid 691666:tid 140434195965696] [client 77.216.176.196:57503] AH01071: Got error 'Primary script unknown\n'
[Tue Mar 01 10:00:44.830454 2016] [proxy_fcgi:error] [pid 691666:tid 140434594580224] [client 157.55.39.58:24940] AH01071: Got error 'Primary script unknown\n'
[Tue Mar 01 10:00:45.990491 2016] [proxy_fcgi:error] [pid 691666:tid 140434091067136] [client 157.55.39.58:25336] AH01071: Got error 'Primary script unknown\n'
[Tue Mar 01 10:02:23.236644 2016] [proxy:error] [pid 691666:tid 140434070087424] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /usr/local/php56/sockets/all4you.sock (*) failed
[Tue Mar 01 10:02:23.236715 2016] [proxy_fcgi:error] [pid 691666:tid 140434070087424] [client 93.138.116.231:64992] AH01079: failed to make connection to backend: httpd-UDS
[Tue Mar 01 10:02:23.236909 2016] [proxy:error] [pid 691666:tid 140434070087424] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /usr/local/php56/sockets/all4you.sock (*) failed
[Tue Mar 01 10:02:23.236927 2016] [proxy_fcgi:error] [pid 691666:tid 140434070087424] [client 93.138.116.231:64992] AH01079: failed to make connection to backend: httpd-UDS

On webpage I'm receiving "File not found" and after I rewrite config message disappear, does anybody have hint about this issue I want to fix it permanently.
 
Please check if php-fpm56 service is up when you get the error, because it seems that apache is unable to find the socket file of php-fpm56.
 
Thanks for hint :)

Can you prevent this in feature, is there any log for php-fpm56 service where I can check more details about it ?
 
Back
Top