• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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