• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

php fpm not work

Marek_Bojarovic

Basic Pleskian
hi all, i use centos 7 , atomic repo, plesk 12 12.0.18 Update #37 php fpm not work.

[root@vmi36735 ~]# systemctl status php-fpm.service
php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled)
Active: failed (Result: resources)

Mar 10 18:48:28 vmi36735.contabo.host systemd[1]: php-fpm.service failed to run 'start' task: No such file or directory
Mar 10 18:48:28 vmi36735.contabo.host systemd[1]: Failed to start The PHP FastCGI Process Manager.
Mar 10 18:52:08 vmi36735.contabo.host systemd[1]: Starting The PHP FastCGI Process Manager...
Mar 10 18:52:08 vmi36735.contabo.host systemd[1]: Failed to load environment files: No such file or directory
Mar 10 18:52:08 vmi36735.contabo.host systemd[1]: php-fpm.service failed to run 'start' task: No such file or directory
Mar 10 18:52:08 vmi36735.contabo.host systemd[1]: Failed to start The PHP FastCGI Process Manager.
Mar 10 18:55:01 vmi36735.contabo.host systemd[1]: Starting The PHP FastCGI Process Manager...
Mar 10 18:55:01 vmi36735.contabo.host systemd[1]: Failed to load environment files: No such file or directory
Mar 10 18:55:01 vmi36735.contabo.host systemd[1]: php-fpm.service failed to run 'start' task: No such file or directory
Mar 10 18:55:01 vmi36735.contabo.host systemd[1]: Failed to start The PHP FastCGI Process Manager.

???
 

Attachments

  • Services - Parallels Plesk 12.0.18.png
    Services - Parallels Plesk 12.0.18.png
    135.2 KB · Views: 12
Any additional details in /var/log/php-fpm/error.log ?
Try to initialize it manually with

# /usr/sbin/php-fpm -F

and check log after that.
 
[root@vmi36735 etc]# systemctl status httpd.service
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
Active: failed (Result: exit-code) since Thu 2015-03-12 18:39:19 EET; 18s ago
Process: 3213 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
Process: 3211 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 3211 (code=exited, status=1/FAILURE)
CGroup: /system.slice/httpd.service

Mar 12 18:39:19 vmi36735.contabo.host systemd[1]: Starting The Apache HTTP Server...
Mar 12 18:39:19 vmi36735.contabo.host httpd[3211]: [Thu Mar 12 18:39:19.620280 2015] [so:warn] [pid 3211] AH01574: module actions_module is already loaded, skipping
Mar 12 18:39:19 vmi36735.contabo.host httpd[3211]: [Thu Mar 12 18:39:19.623461 2015] [so:warn] [pid 3211] AH01574: module headers_module is already loaded, skipping
Mar 12 18:39:19 vmi36735.contabo.host httpd[3211]: [Thu Mar 12 18:39:19.623866 2015] [so:warn] [pid 3211] AH01574: module logio_module is already loaded, skipping
Mar 12 18:39:19 vmi36735.contabo.host httpd[3211]: [Thu Mar 12 18:39:19.625387 2015] [so:warn] [pid 3211] AH01574: module suexec_module is already loaded, skipping
Mar 12 18:39:19 vmi36735.contabo.host httpd[3211]: [Thu Mar 12 18:39:19.666240 2015] [so:warn] [pid 3211] AH01574: module unique_id_module is already loaded, skipping
Mar 12 18:39:19 vmi36735.contabo.host httpd[3211]: httpd: Syntax error on line 357 of /etc/httpd/conf/httpd.conf: Syntax error on line 13 of /etc/httpd/conf.d/00_mod_security.conf: No matches for the wildcard '00*exclu...nal if required)
Mar 12 18:39:19 vmi36735.contabo.host systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Mar 12 18:39:19 vmi36735.contabo.host systemd[1]: Failed to start The Apache HTTP Server.
Mar 12 18:39:19 vmi36735.contabo.host systemd[1]: Unit httpd.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

all this happend when i make yum upgrade from atomic repo, all web page not work, by default in plesk php 5.4.18 in atomic repo 5.4.38 when i update mod security and all php, nothing work, now i donk know.
 
This appears to be an issue with the wrong launch script being installed when using Atomic's 5.4.38 build as the system install. I think the build accidentally included a launch script for the optional install of php5.4 in /opt. Details in the Atomicorp forum here.

You can find the original launch script by extracting the php-fpm 5.4.37 rpm and grabbing it from /usr/lib/systemd/system/php-fpm.service until Scott updates the build on the art repo to fix it.
 
I had this issue on an Debian Jessie machine. Fix was to run "systemctl reenable plesk-php54-fpm".
Apparantly some files in /lib were missing, which "systemctl reenable" fixes.
 
Back
Top