Ensure the following ports are open on your Spacewalk Proxy: 80 443 5222 5269
On Fri, Jan 16, 2015 at 12:37 PM, Uwanna, Chukwuma (NIH/NCI) [C] < [email protected]> wrote: > Hello Nick/Tux Consult, > > > > > > Thanks for responding. I have done everything you recommended even > before I asked that question but I keep getting the following error > messages from the client: > > > > An error has occurred: > > Error communicating with server. The message was: > > Connection refused > > See /var/log/up2date for more information > > > > When I check the log file, I find: > > > > [Fri Jan 16 13:30:48 2015] up2date > > Traceback (most recent call last): > > File "/usr/sbin/rhnreg_ks", line 218, in <module> > > cli.run() > > File "/usr/share/rhn/up2date_client/rhncli.py", line 83, in run > > sys.exit(self.main() or 0) > > File "/usr/sbin/rhnreg_ks", line 90, in main > > rhnreg.getCaps() > > File "/usr/share/rhn/up2date_client/rhnreg.py", line 239, in getCaps > > s.capabilities.validate() > > File "/usr/share/rhn/up2date_client/rhnserver.py", line 159, in > __get_capabilities > > self.registration.welcome_message() > > File "/usr/share/rhn/up2date_client/rhnserver.py", line 50, in __call__ > > return rpcServer.doCall(method, *args, **kwargs) > > File "/usr/share/rhn/up2date_client/rpcServer.py", line 196, in doCall > > ret = method(*args, **kwargs) > > File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__ > > return self.__send(self.__name, args) > > File "/usr/share/rhn/up2date_client/rpcServer.py", line 37, in _request1 > > ret = self._request(methodname, params) > > File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 381, in > _request > > self._handler, request, verbose=self._verbose) > > File "/usr/lib/python2.6/site-packages/rhn/transports.py", line 167, in > request > > headers, fd = req.send_http(host, handler) > > File "/usr/lib/python2.6/site-packages/rhn/transports.py", line 698, in > send_http > > self._connection.connect() > > File "/usr/lib/python2.6/site-packages/rhn/connections.py", line 124, in > connect > > HTTPConnection.connect(self) > > File "/usr/lib64/python2.6/httplib.py", line 720, in connect > > self.timeout) > > File "/usr/lib64/python2.6/socket.py", line 567, in create_connection > > raise error, msg > > <class 'up2date_client.up2dateErrors.CommunicationError'>: Error > communicating with server. The message was: > > Connection refused > > > > > > I have been battling with this for months now, what am I doing wrong??! > > > > > > Thanks again, > > Chuck > > > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Nick Tailor > *Sent:* Tuesday, January 13, 2015 4:57 PM > *To:* [email protected] > *Subject:* Re: [Spacewalk-list] Register Client to a Spacewalk Proxy > Server > > > > Oh yeah and you also need to add this to yum.conf > > > > proxy=http://mycache.mydomain.com:3128 > > # The account details for yum connections > > proxy_username=proxy-user > > proxy_password=password. > > > > cheers > > > > Nick Tailor > > Nicktailor.com > > > > > > *From:* Nick Tailor > *Sent:* January-13-15 2:53 PM > *To:* '[email protected]' > *Subject:* RE: Register Client to a Spacewalk Proxy Server > > > > /etc/sysconfig/rhn/up2date > > > > Its in there J Set your proxy in there. > > > > Cheers > > > > Nick Tailor > > Nicktailor.com > > > > *From:* [email protected] [ > mailto:[email protected] > <[email protected]>] *On Behalf Of *Uwanna, Chukwuma > (NIH/NCI) [C] > *Sent:* January-13-15 1:29 PM > *To:* '[email protected]' > *Subject:* [Spacewalk-list] Register Client to a Spacewalk Proxy Server > > > > Hello Everyone, > > > > > > Can someone tell me how to register a client to a spacewalk proxy server? > > > > > > Thanks > > Chuck > > > > > ------------------------------ > > This email is intended only for the addressee. It may contain confidential > or proprietary information that cannot be disclosed without BCLC's > permission. If you have received this email in error, please notify the > sender immediately and delete the email. > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list >
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
