SOLVED I'm getting an error that "cpanel_php_fpm" is missing

kuroro

Registered
Dec 21, 2020
4
0
1
JP
cPanel Access Level
Root Administrator
I entered the following command to enable ZipArchive.

Code:
$ sudo yum remove libzip
$ sudo yum --enablerepo=remi install php72-php-zip


Then, I got the following error message.

Code:
restartsrv_cpanel_php_fpm[1572]: (XID xszwws) The system could not find the "/usr/local/cpanel/3rdparty/sbin/cpanel_php_fpm " binary for the "cpanel_php_fpm" service because of an error: No such file or directory
 

kuroro

Registered
Dec 21, 2020
4
0
1
JP
cPanel Access Level
Root Administrator
Hey there! It sounds like the RPM may have been modified in some manner, or perhaps the file or directory was moved. Could you try running the following to see if this corrects the issue?

Code:
/scripts/check_cpanel_rpms --fix
Let us know if this works out!
"cpanel_php_fpm" is now back.
Thank you.

It helped me a lot!