• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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