• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved PHP-FPM Error

DieterWerner

Regular Pleskian
# /usr/local/psa/admin/bin/phpinimng --type fpm --start --service-name php-fpm
output: file or directory not found

What's going wrong?

OS: CentOS7
Plesk: 17.8.43
PHP: by vendor as well as 7.2.15
 
Instead, please try
# service php-fpm start
# service plesk-php56-fpm start
# service plesk-php70-fpm start
# service plesk-php71-fpm start
# service plesk-php72-fpm start
# service plesk-php73.fpm start
 
# service plesk-php72-fpm start
Error output:
/etc/sysctl.d$ service plesk-php72-fpm restart
Redirecting to /bin/systemctl start plesk-php72-fpm.service

This one failed too:
# /usr/local/psa/admin/bin/phpinimng --type fpm --start --service-name php72-fpm
Failed to start php72-fpm.service: Unit not found.
Failed to start php72-fpm service
 
The first one is not an error. You can see the current service status by running
# service plesk-php72-fpm status

The second error is caused by the wrong service name. The service name is plesk-php72-fpm, not php72-fpm.
 
The first one is not an error. You can see the current service status by running
# service plesk-php72-fpm status

The second error is caused by the wrong service name. The service name is plesk-php72-fpm, not php72-fpm.
Just another surprise by plesk o_O

Edit:
I forgot to mention the content of the html page of Watchdog
<input type="text" id="fid-start_cmd" name="start_cmd" value="/usr/local/psa/admin/bin/phpinimng --type fpm --start --service-name php-fpm" size="40" maxlength="255"/>
<input type="text" id="fid-stop_cmd" name="stop_cmd" value="/usr/local/psa/admin/bin/phpinimng --type fpm --stop --service-name php-fpm" size="40" maxlength="255"/>

I think, someone should change that.
 
Last edited:
Back
Top