Failed to start cpanel greylisting daemon
Alma Linux 9.5 Teal Service
64 bits
Version GNOME 40.4.0
Cpanel latest stable version as of December 2024
I need to know what to do.
When I try to enter WHM I can't do it
-
Hey there! We're going to need a bit more information before we can help you with your problem. What error do you get when you try to log in to WHM? Are you the root user of the server?
0 -
Case Summary: Failure of the
cpgreylistd
Service in cPanelIssue Description
The
cpgreylistd
service fails to start properly on the server and shows the following errors when attempting to restart it:
Failed to start cPanel Greylisting Daemon. Main process exited, code=exited, status=2/INVALIDARGUMENT
Additionally, the service is configured as disabled, preventing it from starting correctly:
The "cpgreylistd" service is disabled.Actions Taken
1. Checking the Service Status
The service status was checked using the following command:
sudo systemctl status cpgreylistd.service
The result showed that the service was disabled and failed to start due to anINVALIDARGUMENT
error.2. Attempt to Enable the Service
The service was enabled using the following command:
sudo systemctl enable cpgreylistd.service
Result: The command was successful, and the symlink was created in the system:
Created symlink /etc/systemd/system/multi-user.target.wants/cpgreylistd.service → /etc/systemd/system/cpgreylistd.service.3. Attempt to Restart the Service
The service was restarted with:
sudo systemctl restart cpgreylistd.service
Result: The service still failed to start and displayed the following error message:
Job for cpgreylistd.service failed because the control process exited with error code.
4. Reviewing and Adjusting the Service File
The service configuration file at
/etc/systemd/system/cpgreylistd.service
was reviewed. It was found that the PIDFile configuration was pointing to an old path (/var/run/cpgreylistd.pid
), which needed to be updated to the new path (/run/cpgreylistd.pid
).Despite making the correction, the service still failed to start.
5. Persistent Error
Despite efforts to enable and correct the service configuration, the main issue remains unresolved, and the service continues to show the following error:
(XID bgkvwm) The "cpgreylistd" service is disabled. The "cpgreylistd" service is disabled.Conclusion
Despite attempts to enable and fix the configuration of the
cpgreylistd
service, it still fails to work due to configuration issues. I am requesting assistance to review and resolve the service failure.0 -
Thanks for the additional details. Inside WHM >> Service Manager do you see that both boxes are checked next to the "cPanel Greylisting Daemon" option? That error message seems to indicate the service is not enabled, so that page is the first place to check.
0
Please sign in to leave a comment.
Comments
3 comments