<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    does that happen for every client you're trying to register?<br>
    Can you please provide versions of following packages on client:
    rhn-client-tools rhnlib<br>
    For server, please provide version of spacewalk backend used.<br>
    <br>
    Thank you<br>
    <br>
    Tomas<br>
    <br>
    <div class="moz-cite-prefix">On 08/09/2017 02:22 PM, Drew Stinnett
      wrote:<br>
    </div>
    <blockquote cite="mid:B6B3FCBB-7EBE-4FB9-A36F-21B235527F2D@duke.edu"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Title" content="">
      <meta name="Keywords" content="">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:11.0pt">Hi Gang,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">               
            We are having some issues with a fresh install of Spacewalk
            2.6 on RHEL7.  The service starts up, and I can sync
            packages, however when I can’t register clients.  When
            trying to register a client using the rhnreg_ks program, I
            get the following server side error:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">==>
            ssl_error_log <==<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">[Tue Aug 08
            08:26:43.364508 2017] [:error] [pid 28337] [client x:38776]
            mod_wsgi (pid=28337): Exception occurred processing WSGI
            script '/usr/share/rhn/wsgi/xmlrpc.py'.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">[Tue Aug 08
            08:26:43.364585 2017] [:error] [pid 28337] [client x:38776]
            Traceback (most recent call last):<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">[Tue Aug 08
            08:26:43.364614 2017] [:error] [pid 28337] [client
            x:38776]   File "/usr/share/rhn/wsgi/xmlrpc.py", line 22, in
            application<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">[Tue Aug 08
            08:26:43.364746 2017] [:error] [pid 28337] [client
            x:38776]     return wsgiHandler.handle(environ,
            start_response, "xmlrpc", "server.xmlrpc")<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">[Tue Aug 08
            08:26:43.364773 2017] [:error] [pid 28337] [client
            x:38776]   File "/usr/share/rhn/wsgi/wsgiHandler.py", line
            35, in handle<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">[Tue Aug 08
            08:26:43.364843 2017] [:error] [pid 28337] [client
            x:38776]     parseServ = get_handle(servertype,
            "HeaderParserHandler")<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">[Tue Aug 08
            08:26:43.364867 2017] [:error] [pid 28337] [client
            x:38776]   File "/usr/share/rhn/wsgi/wsgiHandler.py", line
            63, in get_handle<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">[Tue Aug 08
            08:26:43.364905 2017] [:error] [pid 28337] [client
            x:38776]     handler_module = __import__(servertype,
            globals(), locals(), [servertype.split('.')[-1]])<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">[Tue Aug 08
            08:26:43.364925 2017] [:error] [pid 28337] [client
            x:38776]   File
            "/usr/lib/python2.7/site-packages/spacewalk/server/apacheServer.py",
            line 17, in <module><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">[Tue Aug 08
            08:26:43.364983 2017] [:error] [pid 28337] [client
            x:38776]     from apacheHandler import apacheHandler<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">[Tue Aug 08
            08:26:43.365005 2017] [:error] [pid 28337] [client
            x:38776]   File
            "/usr/lib/python2.7/site-packages/spacewalk/server/apacheHandler.py",
            line 42, in <module><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">[Tue Aug 08
            08:26:43.365102 2017] [:error] [pid 28337] [client
            x:38776]     class apacheSession(rhnApache):<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">[Tue Aug 08
            08:26:43.365135 2017] [:error] [pid 28337] [client x:38776]
            TypeError: Error when calling the metaclass bases<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">[Tue Aug 08
            08:26:43.365168 2017] [:error] [pid 28337] [client
            x:38776]     module.__init__() takes at most 2 arguments (3
            given)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">               
            From the client, I see:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">root@host
            [development] ~ $ /usr/sbin/rhnreg_ks --force
            --activationkey=1-patchmonkey-sl6-x86_64 --serverUrl <a
              moz-do-not-send="true"
              href="https://server-name-removed-for-emailing/XMLRPC">https://server-name-removed-for-emailing/XMLRPC</a><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">An error has
            occurred:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">rhn-plugin:
            Error communicating with server. The message was:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">Internal
            Server Error<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">See
            /var/log/up2date for more information<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">root@host
            [development] ~ $ tail -30 /var/log/up2date<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">Traceback
            (most recent call last):<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">  File
            "/usr/sbin/rhnreg_ks", line 217, in <module><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">   
            cli.run()<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">  File
            "/usr/share/rhn/up2date_client/rhncli.py", line 96, in run<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">   
            sys.exit(self.main() or 0)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">  File
            "/usr/sbin/rhnreg_ks", line 95, in main<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">   
            rhnreg.getCaps()<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">  File
            "/usr/share/rhn/up2date_client/rhnreg.py", line 264, in
            getCaps<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">   
            s.capabilities.validate()<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">  File
            "/usr/share/rhn/up2date_client/rhnserver.py", line 185, in
            __get_capabilities<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">   
            self.registration.welcome_message()<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">  File
            "/usr/share/rhn/up2date_client/rhnserver.py", line 67, in
            __call__<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">    return
            rpcServer.doCall(method, *args, **kwargs)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">  File
            "/usr/share/rhn/up2date_client/rpcServer.py", line 290, in
            doCall<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">   
            raise_with_tb(up2dateErrors.CommunicationError(e.errmsg))<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">  File
            "/usr/share/rhn/up2date_client/rpcServer.py", line 214, in
            doCall<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">    ret =
            method(*args, **kwargs)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">  File
            "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">    return
            self.__send(self.__name, args)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">  File
            "/usr/share/rhn/up2date_client/rpcServer.py", line 48, in
            _request1<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">    ret =
            self._request(methodname, params)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">  File
            "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 394,
            in _request<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">   
            self._handler, request, verbose=self._verbose)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">  File
            "/usr/lib/python2.6/site-packages/rhn/transports.py", line
            177, in request<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">    headers,
            fd = req.send_http(host, handler)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">  File
            "/usr/lib/python2.6/site-packages/rhn/transports.py", line
            740, in send_http<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">   
            response.status, response.reason, response.msg)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><class
            'up2date_client.up2dateErrors.CommunicationError'>:
            rhn-plugin: Error communicating with server. The message
            was:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">Internal
            Server Error<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">               
            I’ve also tried registering using a username/password
            instead of the activation key, which produces the same
            error.  Both client and server are up to date from the
            spacewalk repos.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"> <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">               
            Any thoughts on what I’m missing?  Thanks!!<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-family:"Times New
            Roman",serif">-- <o:p></o:p></span></p>
        <div>
          <p class="MsoNormal"><span style="font-family:"Times New
              Roman",serif">Drew Stinnett<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-family:"Times New
              Roman",serif">Duke University<o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-family:"Times New
              Roman",serif">OIT-SSI-Systems<o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Spacewalk-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></pre>
    </blockquote>
    <br>
  </body>
</html>