The Candlepin service fails in Red Hat Satellite 6 with error "Failed to open TCP connection to localhost:23443 (Connection refused - connect(2) for "localhost" port 23443)"

Solution Verified - Updated -

Issue

  • The candlepin and candlepin_auth fails to start on the Satellite server.

    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
    
  • tomcat service on satellite may also fail with:

    Jun 21 08:31:31 satellite.example.com server[104016]: Error: Could not find or load main class org.apache.catalina.startup.Bootstrap
    Jun 21 08:31:31 satellite.example.com server[104016]: Caused by: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstrap
    

Environment

  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content