Running health check on Red Hat Satellite 6 fails with error Couldn't connect to the server: undefined method `to_sym' for nil:NilClass

Solution Verified - Updated -

Issue

  • The hammer ping return candlepin and candlepin_auth service as fail with below error.

    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
    
  • The satellite-maintain health check throws below error.

    Check whether all services are running using the ping call:           [FAIL]
    Couldn't connect to the server: undefined method `to_sym' for nil:NilClass
    

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