[Spacewalk-list] Problem registering System

Frank Paulick Frank.Paulick at matrix.ag
Mon Aug 24 14:43:07 UTC 2009


Hi,

anyone got an idea how to analyse/solve the problem ?

Kind Regards
Frank

Frank Paulick schrieb:
> Hi,
>
> in /var/log/httpd/error_log on the spacewalk server i found the
> following messages regarding this problem:
>
> rollBack(1)=1,configfiles.mtime_upload(1)=1,configfiles.diff(1)=1,script.run(1)=1,configfiles.upload(1)=1,packages.runTransaction(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 2592, column 22
>
> Exception reported from spacewalk.server.int
> Time: Thu Aug 20 14:22:06 2009
> Exception type xml.parsers.expat.ExpatError
> Exception while handling function handler
> Request object information:
> URI: /XMLRPC
> Remote Host: 10.20.22.29
> Server Name: spacewalk.server.int:0
> Headers passed in:
>         Accept-Encoding: identity
>         Content-Length: 56659
>         Host: spacewalk.server.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,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.runTransaction(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
>
> Kind Regards
> Frank
>
> Frank Paulick schrieb:
>> Hi,
>>
>> i have a problem registering a CentOS 4 system to my Spacewalk 0.6
>> Server.
>> when i try to register this system with
>>
>> /usr/sbin/rhnreg_ks --force --serverUrl=http://$hostname/XMLRPC
>> --activationkey=$KEY
>>
>> i get the following messages:
>>
>> An error has occurred:
>> Internal Server Error
>>
>> in /var/log/up2date
>>
>> [Thu Aug 20 10:32:25 2009] up2date A protocol error occurred:
>> Internal Server Error , attempt #1,
>> [Thu Aug 20 10:32:30 2009] up2date A protocol error occurred:
>> Internal Server Error , attempt #2,
>> [Thu Aug 20 10:32:35 2009] up2date A protocol error occurred:
>> Internal Server Error , attempt #3,
>> [Thu Aug 20 10:32:40 2009] up2date A protocol error occurred:
>> Internal Server Error , attempt #4,
>> [Thu Aug 20 10:32:45 2009] up2date A protocol error occurred:
>> Internal Server Error , attempt #5,
>> [Thu Aug 20 10:32:45 2009] up2date Internal Server Error
>> [Thu Aug 20 10:32:45 2009] up2date   File "/usr/sbin/rhnreg_ks", line
>> 389, in ?
>>     main()
>>    File "/usr/sbin/rhnreg_ks", line 354, in main
>>     rhnreg.sendHardware(systemId, hardwareList)
>>    File "/usr/share/rhn/up2date_client/rhnreg.py", line 545, in
>> sendHardware
>>     rpcServer.doCall(s.registration.add_hw_profile, systemId,
>> hardwareList)
>>    File "/usr/share/rhn/up2date_client/rpcServer.py", line 309, in doCall
>>     raise up2dateErrors.CommunicationError(e.errmsg)
>>
>> in /var/log/rhn/rhn_server_xmlrpc.log on the spacewalk server :
>>
>> 2009/08/20 10:32:24 +02:00 19458 $IP:
>> xmlrpc/registration.welcome_message('lang: None',)
>> 2009/08/20 10:32:25 +02:00 4021 $IP:
>> xmlrpc/registration.create_system("token =
>> '1-8eb5154b65827c6bfdbc5c51db5d5ad1'", '4', 'x86_64-redhat-linux')
>> 2009/08/20 10:32:25 +02:00 4021 $IP:
>> rhnServer/server_token.process_token(1000010007,
>> 'enterprise_entitled,monitoring_entitled,provisioning_entitled')
>> 2009/08/20 10:32:25 +02:00 3668 $IP:
>> xmlrpc/registration.send_serial('1-8eb5154b65827c6bfdbc5c51db5d5ad1',
>> None)
>>
>> on the client the following Packages relevant to spacewalk are installed:
>>
>> rhn-applet-2.1.27.x86_64
>> rhncfg-5.2.0.noarch
>> rhncfg-actions-5.2.0.noarch
>> rhncfg-client-5.2.0.noarch
>> rhncfg-management-5.2.0.noarch
>> rhnlib-2.1.2.noarch
>> up2date-4.6.2.i386
>> up2date-gnome-4.6.2.i386
>>
>> the system is CentOS 4.7 x86_64
>>
>> When i register another System that is installed similar , that has
>> the same spacewalk relevant packages i get the following messages in
>> /var/log/rhn/rhn_server_xmlrpc.log on the spacewalk server:
>>
>> 2009/08/20 09:25:51 +02:00 5380 $IP_WORKING:
>> xmlrpc/registration.welcome_message('lang: None',)
>> 2009/08/20 09:25:51 +02:00 3971 $IP_WORKING:
>> xmlrpc/registration.create_system("token =
>> '1-8eb5154b65827c6bfdbc5c51db5d5ad1'", '4', 'x86_64-redhat-linux')
>> 2009/08/20 09:25:51 +02:00 3971 $IP_WORKING:
>> rhnServer/server_token.process_token(1000010004,
>> 'enterprise_entitled,monitoring_entitled,provisioning_entitled')
>> 2009/08/20 09:25:51 +02:00 4138 $IP_WORKING:
>> xmlrpc/registration.send_serial('1-8eb5154b65827c6bfdbc5c51db5d5ad1',
>> None)
>> 2009/08/20 09:25:52 +02:00 4008 $IP_WORKING:
>> xmlrpc/registration.add_hw_profile(1000010004, 'items: 51')
>> 2009/08/20 09:25:52 +02:00 3668 $IP_WORKING:
>> xmlrpc/registration.add_packages(1000010004, 'packages: 1041')
>> 2009/08/20 09:25:53 +02:00 19452 $IP_WORKING:
>> xmlrpc/queue.get(1000010004, 2, 'checkins enabled')
>> 2009/08/20 09:25:54 +02:00 19457 $IP_WORKING:
>> xmlrpc/registration.update_packages(1000010004, 'packages: 1272')
>>
>> anyone got an idea how to analyse this problem ?
>> as far as i can see, the system has a problem sending it's
>> informations (hardware and packages) to the server.
>>
>> -- 
>>
>> 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.
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
> -- 
>
> 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.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list


-- 

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/20090824/3350e1a8/attachment.htm>


More information about the Spacewalk-list mailing list