• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

Resolved php-fpm.service from OS vendor shows failed state

jola

Basic Pleskian
Server operating system version
AlmaLinux 9.5
Plesk version and microupdate number
18.0.66 #2
I'm setting up a new Plesk server and when I searched for potential problems I discovered that the php-fpm from the OS vendors gets a failed state:

systemctl | grep fpm
● php-fpm.service loaded failed failed The PHP FastCGI Process Manager
plesk-php83-fpm.service loaded active running The PHP 8.3.15 FastCGI Process Manager

The Plesk php-fpm83 is running well, but the OS fails. I do not think the OS is needed and I tried to disable the OS php-fpm by running:

systemctl disable php-fpm
systemctl stop php-fpm

However, the php-fpm service is still being started and fails when I reboot my server. Any ideas how to solve this?
 
I have investigated this further and it seems as if the OS php-fpm service is started by Apache and nginx:

# systemctl list-dependencies --reverse php-fpm
php-fpm.service
● ├─httpd.service
● └─nginx.service
[root@cfd-online etc]# ls /etc/systemd/system/
This could be the reaseon why "systemctl disable php-fpm" does not help

Is this normal, I would expect apache/nginx to instead start the php-fpm version that I have active in Plesk (plesk-php83-fpm.service), and anyway the OS version fails, since Plesk has removed the pool I think:

# cat /etc/php-fpm.d/www.conf
; Default www-pool configuration has been disabled by Plesk Panel.
; Pool configuration was saved in '/etc/php-fpm.d/www.conf.saved_by_psa'.

Any hints on how to solve this failed state for the OS php-fpm service?
 
You are right, normally, Plesk does not use the OS PHP. Thus, the failed status shouldn't cause any issues. You should be able to remove it from Tools & Settings > Updates > Web Hosting dropdown > PHP from OS vendor.
 
You are right, normally, Plesk does not use the OS PHP. Thus, the failed status shouldn't cause any issues. You should be able to remove it from Tools & Settings > Updates > Web Hosting dropdown > PHP from OS vendor.
This solved the problem and "systemctl --failed" now finally does not show a failed state for php-fpm. Thanks!
 
Back
Top