Error when registering new host

Hi,

Encountering this error when registering a new host. Need assistance on how to resolve this. Thank you.

Katello::Errors::CandlepinNotRunning (HTTP error code 500: Internal Server Error)

Hi,

as the error tells you, the candlepin service is not running.
Candlepin is run via tomcat, so check if your tomcat is running or reporting any errors and try to start it.

Try running foreman-maintain service restart then once that completes, run hammer ping to make sure everything is reporting as ok