There are many issues associated with this. Steps to resolve the issue is
1 ) Check the cpanel error log to check what error comes up when taking a cpanel
2 ) If you get the below error
error: Unable to locate httpd.conf at /usr/local/cpanel/Cpanel/HttpUtils.pm line 64.
Then the solution is as below.
# chmod 755 /usr/local/apache/conf
Also check the permission of the httpd.conf file, it should ideally have the permission below
-rw——- 1 root wheel 400675 Apr 13 08:12 /usr/local/apache/conf/httpd.conf
Hope this helps you resolve the issue.