The Candlepin service fails in Red Hat Satellite 6 with error "Katello::Errors::ConnectionRefusedException: A backend service [ Candlepin ] is unreachable"

Solution Verified - Updated -

Issue

  • After installing Backup Software on Red Hat Satellite to 6.11 Candlepin failed.

    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
    

    2023-02-13T11:13:44 [W|app|2ea77c4e] could not obtain a connection from the pool within 5.000 seconds (waited 5.000 seconds); all pooled connections were in use 2023-02-13T11:13:46 [E|kat|2ea77c4e] Katello::Errors::ConnectionRefusedException: A backend service [ Candlepin ] is unreachable 2023-02-13T11:13:46 [I|app|2ea77c4e] Completed 500 Internal Server Error in 15ms (Views: 0.2ms | ActiveRecord: 5.0ms | Allocations: 4961)

    Feb 13 11:09:01 satellite server[33455]: 13-Feb-2023 11:09:01.604 SEVERE [main] org.apache.catalina.core.StandardServer.await Failed to create server shutdown socket on address [localhost] and port [8005] (base port [8005] and offset [0]) Feb 13 11:09:01 satellite server[33455]: #011java.net.BindException: Address already in use (Bind failed)

    13-Feb-2023 11:09:01.604 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [9,557] milliseconds 13-Feb-2023 11:09:01.604 SEVERE [main] org.apache.catalina.core.StandardServer.await Failed to create server shutdown socket on address [localhost] and port [8005] (base port [8005] and offset [0]) java.net.BindException: Address already in use (Bind failed) 13-Feb-2023 11:09:01.606 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-23443"] 13-Feb-2023 11:09:01.612 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]

Environment

  • Red Hat Satellite 6
  • Red Hat Enterprise Linux 8

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