Looks like a lookup problem. "Name or service not known" Regards Robert Am 17.08.2016 08:01 schrieb "Ernst, Patrick" <[email protected]>: > > Hi all, > > > > I've set up a spacewalk proxy (2.5) that's successfully registered as client > and proxy to the master spacewalk server (2.5). > > When I try to register a new client to the proxy rhn_regks fails with > "Internal Server Error". I’ve double checked the firewall rules according to > the documentation and the proxy can initiate at 5269 to the master and the > master can initiate at 443, 4545, 5222 and 5269 to the proxy. > > > > The related debug output from the httpd error log follows: > > > > [Wed Aug 17 07:46:00.913924 2016] [:error] [pid 687] Spacewalk 687 2016/08/17 > 07:46:00 +02:00: ('Socket error', gaierror(-2, 'Name or service not known')) > > [Wed Aug 17 07:46:00.914645 2016] [:error] [pid 687] Exception reported from > hmb1s01256.business.jungheinrich.com > > [Wed Aug 17 07:46:00.914665 2016] [:error] [pid 687] Time: Wed Aug 17 > 07:46:00 2016 > > [Wed Aug 17 07:46:00.914668 2016] [:error] [pid 687] Exception type <class > 'socket.gaierror'> > > [Wed Aug 17 07:46:00.914670 2016] [:error] [pid 687] > > [Wed Aug 17 07:46:00.914672 2016] [:error] [pid 687] Exception Handler > Information > > [Wed Aug 17 07:46:00.914674 2016] [:error] [pid 687] Traceback (most recent > call last): > > [Wed Aug 17 07:46:00.914677 2016] [:error] [pid 687] File > "/usr/share/rhn/proxy/rhnProxyAuth.py", line 248, in login > > [Wed Aug 17 07:46:00.914690 2016] [:error] [pid 687] token = > server.proxy.login(self.__systemid) > > [Wed Aug 17 07:46:00.914696 2016] [:error] [pid 687] File > "/usr/lib/python2.7/site-packages/rhn/rpclib.py", line 662, in __call__ > > [Wed Aug 17 07:46:00.914759 2016] [:error] [pid 687] return > self._send(self._name, args) > > [Wed Aug 17 07:46:00.914762 2016] [:error] [pid 687] File > "/usr/lib/python2.7/site-packages/rhn/rpclib.py", line 394, in _request > > [Wed Aug 17 07:46:00.914764 2016] [:error] [pid 687] self._handler, > request, verbose=self._verbose) > > [Wed Aug 17 07:46:00.914766 2016] [:error] [pid 687] File > "/usr/lib/python2.7/site-packages/rhn/transports.py", line 177, in request > > [Wed Aug 17 07:46:00.914768 2016] [:error] [pid 687] headers, fd = > req.send_http(host, handler) > > [Wed Aug 17 07:46:00.914769 2016] [:error] [pid 687] File > "/usr/lib/python2.7/site-packages/rhn/transports.py", line 730, in send_http > > [Wed Aug 17 07:46:00.914771 2016] [:error] [pid 687] > self._connection.connect() > > [Wed Aug 17 07:46:00.914773 2016] [:error] [pid 687] File > "/usr/lib/python2.7/site-packages/rhn/connections.py", line 174, in connect > > [Wed Aug 17 07:46:00.914775 2016] [:error] [pid 687] socket.AF_UNSPEC, > socket.SOCK_STREAM) > > [Wed Aug 17 07:46:00.914776 2016] [:error] [pid 687] gaierror: [Errno -2] > Name or service not known > > [Wed Aug 17 07:46:00.914780 2016] [:error] [pid 687] > > [Wed Aug 17 07:46:00.914929 2016] [:error] [pid 687] Exception reported from > SpacewalkProxyServer > > [Wed Aug 17 07:46:00.914950 2016] [:error] [pid 687] Time: Wed Aug 17 > 07:46:00 2016 > > [Wed Aug 17 07:46:00.914960 2016] [:error] [pid 687] Exception type <class > 'socket.gaierror'> > > [Wed Aug 17 07:46:00.914984 2016] [:error] [pid 687] > > [Wed Aug 17 07:46:00.914987 2016] [:error] [pid 687] Exception Handler > Information > > [Wed Aug 17 07:46:00.914989 2016] [:error] [pid 687] Traceback (most recent > call last): > > [Wed Aug 17 07:46:00.914991 2016] [:error] [pid 687] File > "/usr/share/rhn/proxy/rhnProxyAuth.py", line 248, in login > > [Wed Aug 17 07:46:00.914993 2016] [:error] [pid 687] token = > server.proxy.login(self.__systemid) > > [Wed Aug 17 07:46:00.915008 2016] [:error] [pid 687] File > "/usr/lib/python2.7/site-packages/rhn/rpclib.py", line 662, in __call__ > > [Wed Aug 17 07:46:00.915030 2016] [:error] [pid 687] return > self._send(self._name, args) > > [Wed Aug 17 07:46:00.915062 2016] [:error] [pid 687] File > "/usr/lib/python2.7/site-packages/rhn/rpclib.py", line 394, in _request > > [Wed Aug 17 07:46:00.915073 2016] [:error] [pid 687] self._handler, > request, verbose=self._verbose) > > [Wed Aug 17 07:46:00.915081 2016] [:error] [pid 687] File > "/usr/lib/python2.7/site-packages/rhn/transports.py", line 177, in request > > [Wed Aug 17 07:46:00.915110 2016] [:error] [pid 687] headers, fd = > req.send_http(host, handler) > > [Wed Aug 17 07:46:00.915113 2016] [:error] [pid 687] File > "/usr/lib/python2.7/site-packages/rhn/transports.py", line 730, in send_http > > [Wed Aug 17 07:46:00.915122 2016] [:error] [pid 687] > self._connection.connect() > > [Wed Aug 17 07:46:00.915140 2016] [:error] [pid 687] File > "/usr/lib/python2.7/site-packages/rhn/connections.py", line 174, in connect > > [Wed Aug 17 07:46:00.915171 2016] [:error] [pid 687] socket.AF_UNSPEC, > socket.SOCK_STREAM) > > [Wed Aug 17 07:46:00.915181 2016] [:error] [pid 687] gaierror: [Errno -2] > Name or service not known > > [Wed Aug 17 07:46:00.915199 2016] [:error] [pid 687] > > [Wed Aug 17 07:46:20.937093 2016] [:error] [pid 687] Exception reported from > SpacewalkProxyServer > > [Wed Aug 17 07:46:20.937130 2016] [:error] [pid 687] Time: Wed Aug 17 > 07:46:00 2016 > > [Wed Aug 17 07:46:20.937133 2016] [:error] [pid 687] Exception type <type > 'exceptions.AttributeError'> > > [Wed Aug 17 07:46:20.937135 2016] [:error] [pid 687] Exception while handling > function handler > > [Wed Aug 17 07:46:20.937136 2016] [:error] [pid 687] Request object > information: > > [Wed Aug 17 07:46:20.937138 2016] [:error] [pid 687] URI: /XMLRPC > > [Wed Aug 17 07:46:20.937140 2016] [:error] [pid 687] Remote Host: 10.193.5.13 > > [Wed Aug 17 07:46:20.937141 2016] [:error] [pid 687] Server Name: > SpacewalkProxyServer:443 > > [Wed Aug 17 07:46:20.937143 2016] [:error] [pid 687] Headers passed in: > > [Wed Aug 17 07:46:20.937145 2016] [:error] [pid 687] \tAccept-Encoding: > identity > > [Wed Aug 17 07:46:20.937147 2016] [:error] [pid 687] \tCONTENT_LENGTH: 122 > > [Wed Aug 17 07:46:20.937149 2016] [:error] [pid 687] \tCONTENT_TYPE: text/xml > > [Wed Aug 17 07:46:20.937151 2016] [:error] [pid 687] \tCONTEXT_DOCUMENT_ROOT: > /var/www/html > > [Wed Aug 17 07:46:20.937152 2016] [:error] [pid 687] \tCONTEXT_PREFIX: > > [Wed Aug 17 07:46:20.937154 2016] [:error] [pid 687] \tDOCUMENT_ROOT: > /var/www/html > > [Wed Aug 17 07:46:20.937155 2016] [:error] [pid 687] \tGATEWAY_INTERFACE: > CGI/1.1 > > [Wed Aug 17 07:46:20.937157 2016] [:error] [pid 687] \tHTTP_ACCEPT_ENCODING: > identity > > [Wed Aug 17 07:46:20.937159 2016] [:error] [pid 687] \tHTTP_HOST: > SpacewalkProxyServer > > [Wed Aug 17 07:46:20.937160 2016] [:error] [pid 687] \tHTTP_USER_AGENT: > rhn.rpclib.py/2.5.87-1.el7 > > [Wed Aug 17 07:46:20.937187 2016] [:error] [pid 687] \tHTTP_X_CLIENT_VERSION: > 1 > > [Wed Aug 17 07:46:20.937189 2016] [:error] [pid 687] \tHTTP_X_INFO: RPC > Processor (C) Red Hat, Inc (version 2.5.87-1.el7) > > [Wed Aug 17 07:46:20.937191 2016] [:error] [pid 687] > \tHTTP_X_RHN_CLIENT_CAPABILITY: > osad.ping(1)=1,packages.verify(1)=1,packages.extended_profile(2)=1,osad.rhn_check(1)=1,configfiles.base64_enc(1)=1,reboot.reboot(1)=1,configfiles.deploy(1)=1,caneatCheese(1)=1,packages.rollBack(1)=1,configfiles.mtime_upload(1)=1,configfiles.diff(1)=1,packages.update(2)=2,script.run(1)=1,configfiles.upload(1)=1,packages.runTransaction(1)=1 > > [Wed Aug 17 07:46:20.937194 2016] [:error] [pid 687] > \tHTTP_X_RHN_TRANSPORT_CAPABILITY: follow-redirects=3 > > [Wed Aug 17 07:46:20.937196 2016] [:error] [pid 687] \tHTTP_X_TRANSPORT_INFO: > Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.87-1.el7) > > [Wed Aug 17 07:46:20.937198 2016] [:error] [pid 687] > \tHTTP_X_UP2DATE_VERSION: 2.5.16-1.el7 > > [Wed Aug 17 07:46:20.937199 2016] [:error] [pid 687] \tHost: > SpacewalkProxyServer > > [Wed Aug 17 07:46:20.937213 2016] [:error] [pid 687] \tPATH_INFO: > > [Wed Aug 17 07:46:20.937239 2016] [:error] [pid 687] \tQUERY_STRING: > > [Wed Aug 17 07:46:20.937241 2016] [:error] [pid 687] \tREMOTE_ADDR: > 10.193.5.13 > > [Wed Aug 17 07:46:20.937245 2016] [:error] [pid 687] \tREMOTE_PORT: 36852 > > [Wed Aug 17 07:46:20.937254 2016] [:error] [pid 687] \tREQUEST_METHOD: POST > > [Wed Aug 17 07:46:20.937261 2016] [:error] [pid 687] \tREQUEST_SCHEME: https > > [Wed Aug 17 07:46:20.937282 2016] [:error] [pid 687] \tREQUEST_URI: /XMLRPC > > [Wed Aug 17 07:46:20.937303 2016] [:error] [pid 687] \tSCRIPT_FILENAME: > /usr/share/rhn/wsgi/xmlrpc.py > > [Wed Aug 17 07:46:20.937322 2016] [:error] [pid 687] \tSCRIPT_NAME: /XMLRPC > > [Wed Aug 17 07:46:20.937340 2016] [:error] [pid 687] \tSCRIPT_URI: > https://SpacewalkProxyServer/XMLRPC > > [Wed Aug 17 07:46:20.937377 2016] [:error] [pid 687] \tSCRIPT_URL: /XMLRPC > > [Wed Aug 17 07:46:20.937380 2016] [:error] [pid 687] \tSERVER_ADDR: 10.193.5.9 > > [Wed Aug 17 07:46:20.937382 2016] [:error] [pid 687] \tSERVER_ADMIN: > root@localhost > > [Wed Aug 17 07:46:20.937384 2016] [:error] [pid 687] \tSERVER_NAME: > SpacewalkProxyServer > > [Wed Aug 17 07:46:20.937389 2016] [:error] [pid 687] \tSERVER_PORT: 443 > > [Wed Aug 17 07:46:20.937439 2016] [:error] [pid 687] \tSERVER_PROTOCOL: > HTTP/1.1 > > [Wed Aug 17 07:46:20.937459 2016] [:error] [pid 687] \tSERVER_SIGNATURE: > > [Wed Aug 17 07:46:20.937469 2016] [:error] [pid 687] \tSERVER_SOFTWARE: > Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5 > > [Wed Aug 17 07:46:20.937478 2016] [:error] [pid 687] \tUNIQUE_ID: > V7P5yJneF9mMhHenjbas8AAAAAI > > [Wed Aug 17 07:46:20.937504 2016] [:error] [pid 687] \tUser-Agent: > rhn.rpclib.py/2.5.87-1.el7 > > [Wed Aug 17 07:46:20.937521 2016] [:error] [pid 687] \tX-Client-Version: 1 > > [Wed Aug 17 07:46:20.937529 2016] [:error] [pid 687] \tX-Info: RPC Processor > (C) Red Hat, Inc (version 2.5.87-1.el7) > > [Wed Aug 17 07:46:20.937547 2016] [:error] [pid 687] > \tX-RHN-Client-Capability: > osad.ping(1)=1,packages.verify(1)=1,packages.extended_profile(2)=1,osad.rhn_check(1)=1,configfiles.base64_enc(1)=1,reboot.reboot(1)=1,configfiles.deploy(1)=1,caneatCheese(1)=1,packages.rollBack(1)=1,configfiles.mtime_upload(1)=1,configfiles.diff(1)=1,packages.update(2)=2,script.run(1)=1,configfiles.upload(1)=1,packages.runTransaction(1)=1 > > [Wed Aug 17 07:46:20.937562 2016] [:error] [pid 687] > \tX-RHN-Transport-Capability: follow-redirects=3 > > [Wed Aug 17 07:46:20.937570 2016] [:error] [pid 687] \tX-Transport-Info: > Extended Capabilities Transport (C) Red Hat, Inc (version 2.5.87-1.el7) > > [Wed Aug 17 07:46:20.937583 2016] [:error] [pid 687] \tX-Up2Date-Version: > 2.5.16-1.el7 > > [Wed Aug 17 07:46:20.937601 2016] [:error] [pid 687] > \tmod_wsgi.application_group: SpacewalkProxyServer|/xmlrpc > > [Wed Aug 17 07:46:20.937616 2016] [:error] [pid 687] > \tmod_wsgi.callable_object: application > > [Wed Aug 17 07:46:20.937618 2016] [:error] [pid 687] > \tmod_wsgi.enable_sendfile: 0 > > [Wed Aug 17 07:46:20.937620 2016] [:error] [pid 687] > \tmod_wsgi.handler_script: > > [Wed Aug 17 07:46:20.937622 2016] [:error] [pid 687] > \tmod_wsgi.input_chunked: 0 > > [Wed Aug 17 07:46:20.937623 2016] [:error] [pid 687] \tmod_wsgi.listener_host: > > [Wed Aug 17 07:46:20.937625 2016] [:error] [pid 687] > \tmod_wsgi.listener_port: 443 > > [Wed Aug 17 07:46:20.937627 2016] [:error] [pid 687] \tmod_wsgi.process_group: > > [Wed Aug 17 07:46:20.937628 2016] [:error] [pid 687] \tmod_wsgi.queue_start: > 1471412680732176 > > [Wed Aug 17 07:46:20.937630 2016] [:error] [pid 687] > \tmod_wsgi.request_handler: wsgi-script > > [Wed Aug 17 07:46:20.937632 2016] [:error] [pid 687] > \tmod_wsgi.script_reloading: 1 > > [Wed Aug 17 07:46:20.937633 2016] [:error] [pid 687] \tmod_wsgi.version: (3, > 4) > > [Wed Aug 17 07:46:20.937635 2016] [:error] [pid 687] \twsgi.errors: > <mod_wsgi.Log object at 0x7f977a6ec0b0> > > [Wed Aug 17 07:46:20.937641 2016] [:error] [pid 687] \twsgi.file_wrapper: > <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f977a802e40> > > [Wed Aug 17 07:46:20.937677 2016] [:error] [pid 687] \twsgi.input: > <cStringIO.StringO object at 0x7f977ab5edf8> > > [Wed Aug 17 07:46:20.937686 2016] [:error] [pid 687] \twsgi.multiprocess: True > > [Wed Aug 17 07:46:20.937709 2016] [:error] [pid 687] \twsgi.multithread: False > > [Wed Aug 17 07:46:20.937735 2016] [:error] [pid 687] \twsgi.run_once: False > > [Wed Aug 17 07:46:20.937766 2016] [:error] [pid 687] \twsgi.url_scheme: https > > [Wed Aug 17 07:46:20.937784 2016] [:error] [pid 687] \twsgi.version: (1, 0) > > [Wed Aug 17 07:46:20.937792 2016] [:error] [pid 687] Extra information about > this error: > > [Wed Aug 17 07:46:20.937799 2016] [:error] [pid 687] Unhandled exception type > > [Wed Aug 17 07:46:20.937806 2016] [:error] [pid 687] > > [Wed Aug 17 07:46:20.937843 2016] [:error] [pid 687] Exception Handler > Information > > [Wed Aug 17 07:46:20.937851 2016] [:error] [pid 687] Traceback (most recent > call last): > > [Wed Aug 17 07:46:20.937880 2016] [:error] [pid 687] File > "/usr/share/rhn/proxy/apacheServer.py", line 63, in __call__ > > [Wed Aug 17 07:46:20.937883 2016] [:error] [pid 687] ret = f(req) > > [Wed Aug 17 07:46:20.937893 2016] [:error] [pid 687] File > "/usr/share/rhn/proxy/apacheHandler.py", line 357, in handler > > [Wed Aug 17 07:46:20.937900 2016] [:error] [pid 687] ret = > handlerObj.handler() > > [Wed Aug 17 07:46:20.937918 2016] [:error] [pid 687] File > "/usr/share/rhn/proxy/broker/rhnBroker.py", line 231, in handler > > [Wed Aug 17 07:46:20.937936 2016] [:error] [pid 687] authToken = > self.proxyAuth.check_cached_token() > > [Wed Aug 17 07:46:20.937976 2016] [:error] [pid 687] File > "/usr/share/rhn/proxy/rhnProxyAuth.py", line 133, in check_cached_token > > [Wed Aug 17 07:46:20.937986 2016] [:error] [pid 687] token = self.login() > > [Wed Aug 17 07:46:20.937994 2016] [:error] [pid 687] File > "/usr/share/rhn/proxy/rhnProxyAuth.py", line 275, in login > > [Wed Aug 17 07:46:20.938018 2016] [:error] [pid 687] Traceback(mail=1) > > [Wed Aug 17 07:46:20.938021 2016] [:error] [pid 687] File > "/usr/lib/python2.7/site-packages/spacewalk/common/rhnTB.py", line 188, in > Traceback > > [Wed Aug 17 07:46:20.938030 2016] [:error] [pid 687] > rhnMail.send(headers, outstring) > > [Wed Aug 17 07:46:20.938037 2016] [:error] [pid 687] File > "/usr/lib/python2.7/site-packages/spacewalk/common/rhnMail.py", line 53, in > send > > [Wed Aug 17 07:46:20.938050 2016] [:error] [pid 687] (headers, toaddrs) = > __check_headers(headers) > > [Wed Aug 17 07:46:20.938057 2016] [:error] [pid 687] File > "/usr/lib/python2.7/site-packages/spacewalk/common/rhnMail.py", line 45, in > __check_headers > > [Wed Aug 17 07:46:20.938068 2016] [:error] [pid 687] toaddrs = > to.split(',') > > [Wed Aug 17 07:46:20.938096 2016] [:error] [pid 687] AttributeError: > 'NoneType' object has no attribute 'split' > > [Wed Aug 17 07:46:20.938110 2016] [:error] [pid 687] > > > > International Forklift Truck of the Year Award 2016. > Doppelsieg! Unser innovativer Hochregalstapler EKX 516 hat den IFOY Award > 2016 in der Kategorie „Warehouse Trucks Highlifters“ gewonnen. Ein zweiter > Titel ging an unsere Sonderbau-Lösung EJQ 325. > Lesen Sie mehr unter www.jungheinrich.de/ifoy2016. > Double victory! Our innovative high-rack stacker EKX 516 has won the IFOY > award 2016 in the category “Warehouse Trucks Highlifters”. Our special-built > heavy-duty vehicle EJQ 325 got a second award. > Read more at www.jungheinrich.com/en/ifoy2016. > > Jungheinrich Aktiengesellschaft > Vorsitzender des Aufsichtsrates der Jungheinrich AG: Jürgen Peddinghaus > Vorstand: Hans-Georg Frey, Vorsitzender · Dr. Lars Brzoska · Dr. Volker Hues > · Dr. Oliver Lücke · Dr. Klaus-Dieter Rosenbach. > Sitz der Gesellschaft: Hamburg · Registergericht: Hamburg HRB 44885 > > > > This e-mail and any attached files are confidential and intended only for the > addressee. It may contain information that is legally privileged. If you have > received this e-mail in error, any disclosure, reproduction, copying, > distribution, or other dissemination or use of this e-mail is strictly > prohibited. In addition, please notify the sender in such a case immediately > and delete it from your system. The sender does not give any warranty or > accept liability as to the content, accuracy or completeness of sent e-mails > and accepts no responsibility for changes made after they were sent or for > other risks which arise as a result of e-mail transmissions, viruses, etc.
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
