Bug 711342

Summary: Unable to activate the Red hat satellite server
Product: Red Hat Satellite 5 Reporter: Selvaraj <selvaraj_chandrasekaran_Cw>
Component: Satellite SynchronizationAssignee: Miroslav Suchý <msuchy>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: unspecified   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-07 09:28:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Error Meassage none

Description Selvaraj 2011-06-07 09:20:26 UTC
Description of problem:
Unable to activate the Red hat satellite server 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:

1. comment the disconnected=1 in the rhn.conf file and save the rhn.conf file.
2. run the command rhn-satellite-activate --rhn-cert=/certificate_path
3.
  
Actual results:
I got the following error message:

Pushing scout configs to all monitoring scouts

ERROR: unhandled exception occurred:
Traceback (most recent call last):
  File "/usr/bin/rhn-satellite-activate", line 45, in ?
    sys.exit(abs(mod.main() or 0))
  File "/usr/share/rhn/satellite_tools/rhn_satellite_activate.py", line 585, in main
    activateSatellite_remote(options)
  File "/usr/share/rhn/satellite_tools/rhn_satellite_activate.py", line 291, in activateSatellite_remote
    ret = s.satellite.deactivate_satellite(systemid, rhn_cert)
  File "/usr/lib/python2.4/site-packages/rhn/rpclib.py", line 649, in __call__
    return self._send(self._name, args)
  File "/usr/lib/python2.4/site-packages/rhn/rpclib.py", line 383, in _request
    self._handler, request, verbose=self._verbose)
  File "/usr/lib/python2.4/site-packages/rhn/transports.py", line 171, in request
    headers, fd = req.send_http(host, handler)
  File "/usr/lib/python2.4/site-packages/rhn/transports.py", line 702, in send_http
    self._connection.connect()
  File "/usr/lib/python2.4/site-packages/rhn/connections.py", line 193, in connect
    sock.connect((self.host, self.port))
  File "<string>", line 1, in connect
socket.gaierror: (-2, 'Name or service not known')


Expected results:
RHN satellite should activate without any errors

Additional info:

Comment 1 Selvaraj 2011-06-07 09:21:09 UTC
Created attachment 503421 [details]
Error Meassage

Comment 2 Miroslav Suchý 2011-06-07 09:28:22 UTC
Please contact your support representative.

Comment 3 Miroslav Suchý 2011-06-07 09:31:15 UTC
Please verify your firewall setup and make sure you have open ports as stated in RHN Satellite Installation Guide.

Comment 4 Šimon Lukašík 2011-06-07 10:06:40 UTC
*** Bug 711357 has been marked as a duplicate of this bug. ***