In Red Hat Satellite 6, the hammer command fails with the error: "Failed to open TCP connection to localhost:23443 (Connection refused - connect(2) for 'localhost' port 23443)."
Issue
-
When running the
hammercommand inRed Hat Satellite6, the followingerroroccurs:# hammer ping database: Status: ok Server Response: Duration: 0ms candlepin: Status: FAIL Server Response: Message: Failed to open TCP connection to localhost:23443 (Connection refused - connect(2) for "localhost" port 23443) candlepin_auth: Status: FAIL Server Response: Message: A backend service [ Candlepin ] is unreachable candlepin_events: Status: FAIL message: Not running Server Response: Duration: 0ms -
The following
erroris alsoobservedin/var/log/tomcat/localhost.20XX-XX-XX.log:1) Error injecting constructor, java.lang.RuntimeException: java.io.FileNotFoundException: /etc/candlepin/certs/candlepin-ca.crt (Permission denied) at org.candlepin.pki.CertificateReader.<init>(CertificateReader.java:50) at org.candlepin.guice.CandlepinModule.bindPki(CandlepinModule.java:303) while locating org.candlepin.pki.CertificateReader for the 1st parameter of org.candlepin.pki.impl.JSSPKIUtility.<init>(JSSPKIUtility.java:96) while locating org.candlepin.pki.impl.JSSPKIUtility at org.candlepin.guice.CandlepinModule.bindPki(CandlepinModule.java:302) while locating org.candlepin.pki.PKIUtility
Environment
- Red Hat Satellite 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.