Did you ever come across this error during apache restart in CPanel server?

 (24)Too many open files: AH00649: could not open transfer log file.

That is because apache is hitting it’s open files limits. That is normally due to the number of domains on the server.

The resolution for that is normally to enabled piped logs from the WHM under ‘Apache Configuration’ > ‘Piped Log Configuration’. After that you will be able to start apache.