[Spacewalk-list] Problem registering CentOS 4 Client

Frank Paulick Frank.Paulick at matrix.ag
Fri Apr 3 14:47:03 UTC 2009


Miroslav Suchý schrieb:
> Frank Paulick wrote:
>   
>> Hi,
>>
>> i have a problem registering one "special" CentOS 4 Client to Spacewalk 
>> 0.5 server.
>> the problem already occured with 0.4 and i was hoping the update would 
>> fix it.
>> with "special" i mean that it's the only CentOS Client that has a 
>> problem with registering.
>> ~ 20 other Client didn't have this Problem.
>>
>> the error message i get is:
>>
>> An error has occurred:
>> Internal Server Error
>>
>> in /var/log/up2date:
>>
>> [Fri Apr  3 14:34:11 2009] up2date A protocol error occurred: Internal 
>> Server Error , attempt #1,
>> [Fri Apr  3 14:34:16 2009] up2date A protocol error occurred: Internal 
>> Server Error , attempt #2,
>> [Fri Apr  3 14:34:22 2009] up2date A protocol error occurred: Internal 
>> Server Error , attempt #3,
>> [Fri Apr  3 14:34:27 2009] up2date A protocol error occurred: Internal 
>> Server Error , attempt #4,
>> [Fri Apr  3 14:34:32 2009] up2date A protocol error occurred: Internal 
>> Server Error , attempt #5,
>> [Fri Apr  3 14:34:32 2009] up2date Internal Server Error
>>     
>
> OK.
> Internal server error.
> It seems that the problem is indeed in server (Spacewalk).
> Do you see something interesting in /var/log/httpd/*error_log 
> /var/log/tomcat5/catalina.out ?
>
>
>   
in /var/log/httpd/error_log the following error shows up:

RHN 5720 2009/04/03 16:23:35 +02:00: ('Server has invalid release and
token contains no base channels', 1000010127, [{'note': '',
'usage_limit': None, 'user_id'
: 1, 'org_id': 1, 'server_id': None, 'token_desc': 'Spacewalk Management
Entitled Servers', 'token_type': 'enterprise_entitled', 'token':
'1-306886f1e24817d5c982a486fd
0b80cc', 'token_id': 1, 'deploy_configs': 'N', 'kickstart_session_id':
None, 'is_base': 'Y'}])
Exception reported from
Time: Fri Apr  3 13:09:26 2009
Exception type xml.parsers.expat.ExpatError
Exception while handling function handler
Request object information:
URI: /XMLRPC
Remote Host:
Server Name: :0
Headers passed in:
        Accept-Encoding: identity
        Content-Length: 57673
        Host: .onespin.int
        content-type: text/xml
        user-agent: rhn.rpclib.py/$Revision: 92982 $
        x-client-version: 1
        x-info: RPC Processor (C) Red Hat, Inc (version 118741)
        x-rhn-client-capability:
packages.verifyAll(1)=1,caneatCheese(1)=1,packages.extended_profile(1)=1,reboot.reboot(1)=1,packages.verify(1)=1,packages.runTransacti
on(1)=1,packages.rollBack(1)=1
        x-rhn-transport-capability: follow-redirects=2
        x-transport-info: Extended Capabilities Transport (C) Red Hat,
Inc (version 92982)
        x-up2date-version: 4.7.1-17.el4.centos
Extra information about this error:
Unhandled exception type

Exception Handler Information
Traceback (most recent call last):
  File "/usr/share/rhn/server/apacheServer.py", line 58, in __call__
    ret = f(req)
  File "/usr/share/rhn/server/apacheHandler.py", line 198, in handler
    ret = self._req_processor.process()
  File "/usr/share/rhn/server/apacheRequest.py", line 465, in process
    params, method = self.decode(_body)
  File "/usr/share/rhn/server/apacheRequest.py", line 389, in decode
    self.parser.feed(data)
  File "/usr/lib/python2.4/xmlrpclib.py", line 527, in feed
    self._parser.Parse(data, 0)
ExpatError: not well-formed (invalid token): line 2600, column 22

Exception reported from
Time: Fri Apr  3 13:31:53 2009
Exception type xml.parsers.expat.ExpatError
Exception while handling function handler
Request object information:
URI: /XMLRPC
Remote Host:
Server Name: :0
Headers passed in:
        Accept-Encoding: identity
        Content-Length: 56815
        Host: .
        content-type: text/xml
        user-agent: rhn.rpclib.py/$Revision: 92982 $
        x-client-version: 1
        x-info: RPC Processor (C) Red Hat, Inc (version 118741)
        x-rhn-client-capability:
packages.verifyAll(1)=1,packages.verify(1)=1,packages.extended_profile(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,script.run(1)=1,configfiles.upload(1)=1,packages.runTransacti
on(1)=1
        x-rhn-transport-capability: follow-redirects=2
        x-transport-info: Extended Capabilities Transport (C) Red Hat,
Inc (version 92982)
        x-up2date-version: 4.6.2-7.el4.1
Extra information about this error:
Unhandled exception type

Exception Handler Information
Traceback (most recent call last):
  File "/usr/share/rhn/server/apacheServer.py", line 58, in __call__
    ret = f(req)
  File "/usr/share/rhn/server/apacheHandler.py", line 198, in handler
    ret = self._req_processor.process()
  File "/usr/share/rhn/server/apacheRequest.py", line 465, in process
    params, method = self.decode(_body)
  File "/usr/share/rhn/server/apacheRequest.py", line 389, in decode
    self.parser.feed(data)
  File "/usr/lib/python2.4/xmlrpclib.py", line 527, in feed
    self._parser.Parse(data, 0)
ExpatError: not well-formed (invalid token): line 2600, column 22

this message shows up a few times (i think 5 times) in the error log.
for me the most interesting part is:

x-up2date-version: 4.7.1-17.el4.centos

in the first section, and

x-up2date-version: 4.6.2-7.el4.1

in all other sections.
The Version 4.7.1-17 was installed by accident and was replaced by this
version:
http://stahnma.fedorapeople.org/spacewalk-tools/4/i386/up2date-4.6.2-7.el4.1.i386.rpm

-- 

Mit freundlichen Grüßen - Kind regards

Frank Paulick

-------------------------------------------------------------------
matrix technology AG
Consultant
Dipl.-Inf. (FH) Frank Paulick
Nymphenburger Str. 1, D-80335 München
Tel:  +49 - (0)89 - 589395-0
Fax: +49 - (0)89 - 589395-11
Web:    _www.matrix.ag_ <http://www.matrix.ag/>
E-mail: _Frank.Paulick at matrix.ag_ <mailto:Frank.Paulick at matrix.ag>

Vorstände: Franz Kessel und Martin Orlik
Aufsichtsratsvorsitzender: Jürgen Kretschmer
Amtsgericht München: HRB 133085

-------------------------------------------------------------------

*E-Mail Disclaimer*

Der Inhalt dieser E-Mail ist ausschließlich für den bezeichneten
Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat
dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie
bitte, dass jede Form der Kenntnisnahme, Veröffentlichung,
Vervielfältigung oder Weitergabe des Inhalts dieser E-Mail
unzulässig ist. Wir bitten Sie, sich in diesem Fall mit dem
Absender der E-Mail in Verbindung zu setzen.

The information contained in this email is intended solely
for the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any form
of disclosure, reproduction, distribution or any action taken
or refrained from in reliance on it, is prohibited and may be
unlawful. Please notify the sender immediately.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20090403/9c1a778f/attachment.htm>


More information about the Spacewalk-list mailing list