Candlepin is in failed state on Red Hat Satellite 6 after leapp upgrade.
Environment
- Red hat Satellite 6.16
- Leapp upgrade
Issue
-
Candlepin is in failed state on Satellite 6 after leapp upgrade.
-
Hammer ping shows
candlepin: Status: FAIL Server Response: Message: 404 Not Found candlepin_auth: Status: FAIL Server Response: Message: Katello::Errors::CandlepinNotRunning candlepin_events: Status: FAIL message: Not running
Resolution
-
Check the Diagnostic Steps steps first to confirm the issue. Once confirmed fix the permission & ownership issue with:
# chown -R 53:53 /var/lib/candlepin # chmod 775 /var/lib/candlepin # restorecon -RFv /var/lib/candlepin -
The permission of
/var/lib/candlepin/activemq-artemis/journal/server.lockshould be-rw-r--r--. 1 tomcat tomcat 19 Nov 7 18:41 /var/lib/candlepin/activemq-artemis/journal/server.lock
For more KB articles/solutions related to Red Hat Satellite 6.x Candlepin Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Candlepin Issues
For more KB articles/solutions related to Red Hat Satellite 6.x LEAPP Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x LEAPP Issues
Root Cause
- Permissions were altered for
/var/lib/candlepin/activemq-artemis/directory.
Diagnostic Steps
-
/var/log/candlepin/candlepin.loghas the below error:2025-12-27 08:05:25,179 [thread=main] [=, org=, csid=] INFO org.candlepin.messaging.impl.artemis.ArtemisContextListener - Loading Artemis config file: /etc/candlepin/broker.xml 2025-12-27 08:05:25,733 [thread=main] [=, org=, csid=] ERROR org.apache.activemq.artemis.core.server - AMQ224097: Failed to start server java.io.FileNotFoundException: /var/lib/candlepin/activemq-artemis/journal/server.lock (Permission denied)
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.