CentOS Linux release 7.6.1810 (Core)
cPanel 76.0 (build 18)
On boot systemd will show the following
[FAILED] Failed to start cPanel Greylisting Daemon.
See 'systemctl status cpgreylistd.service' for details.
[FAILED] Failed to start FPM service for cPanel Daemons.
See 'systemctl status cpanel_php_fpm.service' for details.
Both of those services are disabled in the WHM and systemd by default.
/etc/systemd/system/cpanel.service has a "Wants" asking for cpanel_php_fpm.service and cpgreylistd.service so on boot systemd is attempting to start those services. Since both of those services are set to disabled in the WHM they will return a disabled message and a exit code that will cause systemd to show failed.
Solution, Remove cpanel_php_fpm.service and cpgreylistd.service from the "Wants" in cpanel.service. These two services should be controlled by systemd and enabled/disabled in systemd when the admin wants to use or not use the service.
cPanel 76.0 (build 18)
On boot systemd will show the following
[FAILED] Failed to start cPanel Greylisting Daemon.
See 'systemctl status cpgreylistd.service' for details.
[FAILED] Failed to start FPM service for cPanel Daemons.
See 'systemctl status cpanel_php_fpm.service' for details.
Both of those services are disabled in the WHM and systemd by default.
/etc/systemd/system/cpanel.service has a "Wants" asking for cpanel_php_fpm.service and cpgreylistd.service so on boot systemd is attempting to start those services. Since both of those services are set to disabled in the WHM they will return a disabled message and a exit code that will cause systemd to show failed.
Solution, Remove cpanel_php_fpm.service and cpgreylistd.service from the "Wants" in cpanel.service. These two services should be controlled by systemd and enabled/disabled in systemd when the admin wants to use or not use the service.