<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
anyone got an idea how to analyse/solve the problem ?<br>
<br>
Kind Regards<br>
Frank<br>
<br>
Frank Paulick schrieb:
<blockquote cite="mid:4A8D4A6A.7050103@matrix.ag" type="cite">
  <meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">
Hi,<br>
  <br>
in /var/log/httpd/error_log on the spacewalk server i found the
following messages regarding this problem:<br>
  <br>
rollBack(1)=1,configfiles.mtime_upload(1)=1,configfiles.diff(1)=1,script.run(1)=1,configfiles.upload(1)=1,packages.runTransaction(1)=1<br>
        x-rhn-transport-capability: follow-redirects=2<br>
        x-transport-info: Extended Capabilities Transport (C) Red Hat,
Inc (version 92982)<br>
        x-up2date-version: 4.6.2-7.el4.1<br>
Extra information about this error:<br>
Unhandled exception type<br>
  <br>
Exception Handler Information<br>
Traceback (most recent call last):<br>
  File "/usr/share/rhn/server/apacheServer.py", line 58, in __call__<br>
    ret = f(req)<br>
  File "/usr/share/rhn/server/apacheHandler.py", line 198, in handler<br>
    ret = self._req_processor.process()<br>
  File "/usr/share/rhn/server/apacheRequest.py", line 465, in process<br>
    params, method = self.decode(_body)<br>
  File "/usr/share/rhn/server/apacheRequest.py", line 389, in decode<br>
    self.parser.feed(data)<br>
  File "/usr/lib/python2.4/xmlrpclib.py", line 527, in feed<br>
    self._parser.Parse(data, 0)<br>
ExpatError: not well-formed (invalid token): line 2592, column 22<br>
  <br>
Exception reported from spacewalk.server.int<br>
Time: Thu Aug 20 14:22:06 2009<br>
Exception type xml.parsers.expat.ExpatError<br>
Exception while handling function handler<br>
Request object information:<br>
URI: /XMLRPC<br>
Remote Host: 10.20.22.29<br>
Server Name: spacewalk.server.int:0<br>
Headers passed in:<br>
        Accept-Encoding: identity<br>
        Content-Length: 56659<br>
        Host: spacewalk.server.int<br>
        content-type: text/xml<br>
        user-agent: rhn.rpclib.py/$Revision: 92982 $ <br>
        x-client-version: 1<br>
        x-info: RPC Processor (C) Red Hat, Inc (version 118741)<br>
        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<br>
        x-rhn-transport-capability: follow-redirects=2<br>
        x-transport-info: Extended Capabilities Transport (C) Red Hat,
Inc (version 92982)<br>
        x-up2date-version: 4.6.2-7.el4.1<br>
Extra information about this error:<br>
Unhandled exception type<br>
  <br>
Kind Regards<br>
Frank<br>
  <br>
Frank Paulick schrieb:
  <blockquote cite="mid:4A8D0C86.6010903@matrix.ag" type="cite"><tt>Hi,<br>
    <br>
i have a problem registering a CentOS 4 system to my Spacewalk 0.6
Server.<br>
when i try to register this system with <br>
    <br>
/usr/sbin/rhnreg_ks --force --serverUrl=<a moz-do-not-send="true"
 class="moz-txt-link-freetext" href="http://$hostname/XMLRPC">http://$hostname/XMLRPC</a>
--activationkey=$KEY<br>
    <br>
i get the following messages:<br>
    <br>
An error has occurred:<br>
Internal Server Error<br>
    <br>
in /var/log/up2date<br>
    <br>
[Thu Aug 20 10:32:25 2009] up2date A protocol error occurred: Internal
Server Error , attempt #1,<br>
[Thu Aug 20 10:32:30 2009] up2date A protocol error occurred: Internal
Server Error , attempt #2,<br>
[Thu Aug 20 10:32:35 2009] up2date A protocol error occurred: Internal
Server Error , attempt #3,<br>
[Thu Aug 20 10:32:40 2009] up2date A protocol error occurred: Internal
Server Error , attempt #4,<br>
[Thu Aug 20 10:32:45 2009] up2date A protocol error occurred: Internal
Server Error , attempt #5,<br>
[Thu Aug 20 10:32:45 2009] up2date Internal Server Error<br>
[Thu Aug 20 10:32:45 2009] up2date   File "/usr/sbin/rhnreg_ks", line
389, in ?<br>
    main()<br>
   File "/usr/sbin/rhnreg_ks", line 354, in main<br>
    rhnreg.sendHardware(systemId, hardwareList)<br>
   File "/usr/share/rhn/up2date_client/rhnreg.py", line 545, in
sendHardware<br>
    rpcServer.doCall(s.registration.add_hw_profile, systemId,
hardwareList)<br>
   File "/usr/share/rhn/up2date_client/rpcServer.py", line 309, in
doCall<br>
    raise up2dateErrors.CommunicationError(e.errmsg)<br>
    <br>
in /var/log/rhn/rhn_server_xmlrpc.log on the spacewalk server :<br>
    <br>
2009/08/20 10:32:24 +02:00 19458 $IP:
xmlrpc/registration.welcome_message('lang: None',)<br>
2009/08/20 10:32:25 +02:00 4021 $IP:
xmlrpc/registration.create_system("token =
'1-8eb5154b65827c6bfdbc5c51db5d5ad1'", '4', 'x86_64-redhat-linux')<br>
2009/08/20 10:32:25 +02:00 4021 $IP:
rhnServer/server_token.process_token(1000010007,
'enterprise_entitled,monitoring_entitled,provisioning_entitled')<br>
2009/08/20 10:32:25 +02:00 3668 $IP:
xmlrpc/registration.send_serial('1-8eb5154b65827c6bfdbc5c51db5d5ad1',
None)<br>
    <br>
on the client the following Packages relevant to spacewalk are
installed:<br>
    <br>
rhn-applet-2.1.27.x86_64<br>
rhncfg-5.2.0.noarch<br>
rhncfg-actions-5.2.0.noarch<br>
rhncfg-client-5.2.0.noarch<br>
rhncfg-management-5.2.0.noarch<br>
rhnlib-2.1.2.noarch<br>
up2date-4.6.2.i386<br>
up2date-gnome-4.6.2.i386<br>
    <br>
the system is CentOS 4.7 x86_64<br>
    <br>
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:<br>
    <br>
2009/08/20 09:25:51 +02:00 5380 $IP_WORKING:
xmlrpc/registration.welcome_message('lang: None',)<br>
2009/08/20 09:25:51 +02:00 3971 $IP_WORKING:
xmlrpc/registration.create_system("token =
'1-8eb5154b65827c6bfdbc5c51db5d5ad1'", '4', 'x86_64-redhat-linux')<br>
2009/08/20 09:25:51 +02:00 3971 $IP_WORKING:
rhnServer/server_token.process_token(1000010004,
'enterprise_entitled,monitoring_entitled,provisioning_entitled')<br>
2009/08/20 09:25:51 +02:00 4138 $IP_WORKING:
xmlrpc/registration.send_serial('1-8eb5154b65827c6bfdbc5c51db5d5ad1',
None)<br>
2009/08/20 09:25:52 +02:00 4008 $IP_WORKING:
xmlrpc/registration.add_hw_profile(1000010004, 'items: 51')<br>
2009/08/20 09:25:52 +02:00 3668 $IP_WORKING:
xmlrpc/registration.add_packages(1000010004, 'packages: 1041')<br>
2009/08/20 09:25:53 +02:00 19452 $IP_WORKING:
xmlrpc/queue.get(1000010004, 2, 'checkins enabled')<br>
2009/08/20 09:25:54 +02:00 19457 $IP_WORKING:
xmlrpc/registration.update_packages(1000010004, 'packages: 1272')<br>
    <br>
anyone got an idea how to analyse this problem ?<br>
as far as i can see, the system has a problem sending it's informations
(hardware and packages) to the server.<br>
    <br>
    </tt>
    <div class="moz-signature">-- <br>
    <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
    <title>Signatur</title>
    <style><!--
                @page { size: 21.59cm 27.94cm; margin: 2cm }
                P { margin-bottom: 0.21cm }
        -</style>
    <p style="margin-bottom: 0cm;"><font face="Univers LT 45 Light"><font
 size="2">Mit
freundlichen Grüßen - Kind regards</font></font></p>
    <p style="margin-bottom: 0cm;"><font face="Univers LT 45 Light"><font
 size="2">Frank
Paulick</font></font></p>
    <p style="margin-bottom: 0cm;"><font size="2"><font size="2">-------------------------------------------------------------------<br>
matrix
technology AG<br>
Consultant<br>
Dipl.-Inf. (FH) Frank
Paulick<br>
Nymphenburger
Str. 1, D-80335 München</font><br>
    <span lang="en-GB"><font size="2">Tel: 
+49 - (0)89 - 589395-0</font></span><br>
    <font face="Univers LT 45 Light">Fax:
+49 - (0)89 - 589395-11<br>
Web:    </font></font><a moz-do-not-send="true"
 href="http://www.matrix.ag/"><u><span lang="en-GB"><font size="2"><font
 face="Univers LT 45 Light"><font color="#0000ff">www.matrix.ag</font></font></font></span></u></a><br>
    <font size="2"><font face="Univers LT 45 Light">E-mail: </font></font><a
 moz-do-not-send="true" href="mailto:Frank.Paulick@matrix.ag"><u><span
 lang="en-GB"><font color="#0000ff">Frank.Paulick@matrix.ag</font></span></u></a><br>
    <br>
    </p>
    <p style="margin-bottom: 0cm;"><font color="#808080"><font
 face="Univers LT 45 Light"><font style="font-size: 8pt;" size="1">Vorstände:
Franz Kessel und Martin Orlik<br>
Aufsichtsratsvorsitzender:
Jürgen Kretschmer<br>
Amtsgericht
München: HRB 133085</font></font></font></p>
    <p style="margin-bottom: 0cm;"><font face="Univers LT 45 Light"><font
 size="2">-------------------------------------------------------------------</font></font></p>
    <p style="margin-bottom: 0cm;"><font color="#808080"><font
 face="Univers LT 45 Light"><font size="1"><b>E-Mail
Disclaimer</b></font></font></font></p>
    <p style="margin-bottom: 0cm;"><font color="#808080"><font
 face="Univers LT 45 Light"><font size="1">Der
Inhalt dieser E-Mail ist ausschließlich für den
bezeichneten<br>
Adressaten
bestimmt. Wenn Sie nicht der vorgesehene Adressat<br>
dieser
E-Mail oder dessen Vertreter sein sollten, so beachten Sie<br>
bitte,
dass jede Form der Kenntnisnahme, Veröffentlichung,<br>
Vervielfältigung
oder Weitergabe des Inhalts dieser E-Mail<br>
unzulässig
ist. Wir bitten Sie, sich in diesem Fall mit dem<br>
Absender
der E-Mail in Verbindung zu setzen.</font></font></font><br>
    </p>
    <p style="margin-bottom: 0cm;" lang="en-GB"><font color="#808080"><font
 face="Univers LT 45 Light"><font size="1">The
information contained in this email is intended solely<br>
for
the addressee. Access to this email by anyone else is<br>
unauthorized.
If you are not the intended recipient, any form<br>
of
disclosure, reproduction, distribution or any action taken<br>
or
refrained from in reliance on it, is prohibited and may be<br>
unlawful.
Please notify the sender immediately. </font></font></font> </p>
    </div>
    <pre wrap=""><hr size="4" width="90%">
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list</pre>
  </blockquote>
  <br>
  <br>
  <div class="moz-signature">-- <br>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>Signatur</title>
  <style><!--
                @page { size: 21.59cm 27.94cm; margin: 2cm }
                P { margin-bottom: 0.21cm }
        -</style>
  <p style="margin-bottom: 0cm;"><font face="Univers LT 45 Light"><font
 size="2">Mit
freundlichen Grüßen - Kind regards</font></font></p>
  <p style="margin-bottom: 0cm;"><font face="Univers LT 45 Light"><font
 size="2">Frank
Paulick</font></font></p>
  <p style="margin-bottom: 0cm;"><font size="2"><font size="2">-------------------------------------------------------------------<br>
matrix
technology AG<br>
Consultant<br>
Dipl.-Inf. (FH) Frank
Paulick<br>
Nymphenburger
Str. 1, D-80335 München</font><br>
  <span lang="en-GB"><font size="2">Tel: 
+49 - (0)89 - 589395-0</font></span><br>
  <font face="Univers LT 45 Light">Fax:
+49 - (0)89 - 589395-11<br>
Web:   
  </font></font><a moz-do-not-send="true" href="http://www.matrix.ag/"><u><span
 lang="en-GB"><font size="2"><font face="Univers LT 45 Light"><font
 color="#0000ff">www.matrix.ag</font></font></font></span></u></a><br>
  <font size="2"><font face="Univers LT 45 Light">E-mail:
  </font></font><a moz-do-not-send="true"
 href="mailto:Frank.Paulick@matrix.ag"><u><span lang="en-GB"><font
 color="#0000ff">Frank.Paulick@matrix.ag</font></span></u></a><br>
  <br>
  </p>
  <p style="margin-bottom: 0cm;"><font color="#808080"><font
 face="Univers LT 45 Light"><font style="font-size: 8pt;" size="1">Vorstände:
Franz Kessel und Martin Orlik<br>
Aufsichtsratsvorsitzender:
Jürgen Kretschmer<br>
Amtsgericht
München: HRB 133085</font></font></font></p>
  <p style="margin-bottom: 0cm;"><font face="Univers LT 45 Light"><font
 size="2">-------------------------------------------------------------------</font></font></p>
  <p style="margin-bottom: 0cm;"><font color="#808080"><font
 face="Univers LT 45 Light"><font size="1"><b>E-Mail
Disclaimer</b></font></font></font></p>
  <p style="margin-bottom: 0cm;"><font color="#808080"><font
 face="Univers LT 45 Light"><font size="1">Der
Inhalt dieser E-Mail ist ausschließlich für den
bezeichneten<br>
Adressaten
bestimmt. Wenn Sie nicht der vorgesehene Adressat<br>
dieser
E-Mail oder dessen Vertreter sein sollten, so beachten Sie<br>
bitte,
dass jede Form der Kenntnisnahme, Veröffentlichung,<br>
Vervielfältigung
oder Weitergabe des Inhalts dieser E-Mail<br>
unzulässig
ist. Wir bitten Sie, sich in diesem Fall mit dem<br>
Absender
der E-Mail in Verbindung zu setzen.</font></font></font><br>
  </p>
  <p style="margin-bottom: 0cm;" lang="en-GB"><font color="#808080"><font
 face="Univers LT 45 Light"><font size="1">The
information contained in this email is intended solely<br>
for
the addressee. Access to this email by anyone else is<br>
unauthorized.
If you are not the intended recipient, any form<br>
of
disclosure, reproduction, distribution or any action taken<br>
or
refrained from in reliance on it, is prohibited and may be<br>
unlawful.
Please notify the sender immediately. </font></font></font>
  </p>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>Signatur</title>
<style><!--
                @page { size: 21.59cm 27.94cm; margin: 2cm }
                P { margin-bottom: 0.21cm }
        -</style>
<p style="margin-bottom: 0cm;"><font face="Univers LT 45 Light"><font
 size="2">Mit
freundlichen Grüßen - Kind regards</font></font></p>
<p style="margin-bottom: 0cm;"><font face="Univers LT 45 Light"><font
 size="2">Frank
Paulick</font></font></p>
<p style="margin-bottom: 0cm;"><font size="2"><font size="2">-------------------------------------------------------------------<br>
matrix
technology AG<br>
Consultant<br>
Dipl.-Inf. (FH) Frank
Paulick<br>
Nymphenburger
Str. 1, D-80335 München</font><br>
<span lang="en-GB"><font size="2">Tel: 
+49 - (0)89 - 589395-0</font></span><br>
<font face="Univers LT 45 Light">Fax:
+49 - (0)89 - 589395-11<br>
Web:   
</font></font><a href="http://www.matrix.ag/"><u><span lang="en-GB"><font
 size="2"><font face="Univers LT 45 Light"><font color="#0000ff">www.matrix.ag</font></font></font></span></u></a><br>
<font size="2"><font face="Univers LT 45 Light">E-mail:
</font></font><a href="mailto:Frank.Paulick@matrix.ag"><u><span
 lang="en-GB"><font color="#0000ff">Frank.Paulick@matrix.ag</font></span></u></a><br>
<br>
</p>
<p style="margin-bottom: 0cm;"><font color="#808080"><font
 face="Univers LT 45 Light"><font style="font-size: 8pt;" size="1">Vorstände:
Franz Kessel und Martin Orlik<br>
Aufsichtsratsvorsitzender:
Jürgen Kretschmer<br>
Amtsgericht
München: HRB 133085</font></font></font></p>
<p style="margin-bottom: 0cm;"><font face="Univers LT 45 Light"><font
 size="2">-------------------------------------------------------------------</font></font></p>
<p style="margin-bottom: 0cm;"><font color="#808080"><font
 face="Univers LT 45 Light"><font size="1"><b>E-Mail
Disclaimer</b></font></font></font></p>
<p style="margin-bottom: 0cm;"><font color="#808080"><font
 face="Univers LT 45 Light"><font size="1">Der
Inhalt dieser E-Mail ist ausschließlich für den
bezeichneten<br>
Adressaten
bestimmt. Wenn Sie nicht der vorgesehene Adressat<br>
dieser
E-Mail oder dessen Vertreter sein sollten, so beachten Sie<br>
bitte,
dass jede Form der Kenntnisnahme, Veröffentlichung,<br>
Vervielfältigung
oder Weitergabe des Inhalts dieser E-Mail<br>
unzulässig
ist. Wir bitten Sie, sich in diesem Fall mit dem<br>
Absender
der E-Mail in Verbindung zu setzen.</font></font></font><br>
</p>
<p style="margin-bottom: 0cm;" lang="en-GB"><font color="#808080"><font
 face="Univers LT 45 Light"><font size="1">The
information contained in this email is intended solely<br>
for
the addressee. Access to this email by anyone else is<br>
unauthorized.
If you are not the intended recipient, any form<br>
of
disclosure, reproduction, distribution or any action taken<br>
or
refrained from in reliance on it, is prohibited and may be<br>
unlawful.
Please notify the sender immediately. </font></font></font>
</p>
</div>
</body>
</html>