<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:24.0pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Cambria","serif";
        color:#365F91;
        mso-fareast-language:EN-GB;
        font-weight:bold;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:365567552;
        mso-list-template-ids:1508178514;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Alex,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I had this same problem, to investigate, go to the schedule tab and look if that server has two pending actions, one for the finalisation of the server registration
 and the second anything like a config file push.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Try removing this actions if they exist and try an rhn_check – that should report back with no errors, we can take if from there.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Matt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> spacewalk-list-bounces@redhat.com [mailto:spacewalk-list-bounces@redhat.com]
<b>On Behalf Of </b>Aleksandar Pashaliyski<br>
<b>Sent:</b> 09 June 2011 13:05<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> [Spacewalk-list] spacewalk problem while register a client<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi guys,<br>
<br>
<br>
I've a little problem with the spacewalk.<br>
I have installed it successfully, but when I try to register a new client, it gets timeout.<br>
Also the links <a href="http://spacewalk.local.net/XMLRPC" target="_blank">http://spacewalk.local.net/XMLRPC</a> and
<a href="https://spacewalk.local.net/XMLRPC" target="_blank">https://spacewalk.local.net/XMLRPC</a> returns:<o:p></o:p></p>
<h1>500 Error - Internal Server Error<o:p></o:p></h1>
<p>You may have reached this page in one of the following ways:<o:p></o:p></p>
<ol start="1" type="1">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
You've found an error in the site. Please report this error to your local administrator with details of how you received this message.<o:p></o:p></li></ol>
<p class="MsoNormal"><br>
In httpd's error logs appears:<br>
<br>
<br>
[Thu Jun 09 13:11:31 2011] [error] [client 10.5.1.64] mod_wsgi (pid=14093): Exception occurred processing WSGI script '/usr/share/rhn/wsgi/xmlrpc.<o:p></o:p></p>
<div id=":164">
<p class="MsoNormal">py'.<br>
[Thu Jun 09 13:11:31 2011] [error] [client 10.5.1.64] Traceback (most recent call last):<br>
[Thu Jun 09 13:11:31 2011] [error] [client 10.5.1.64]   File "/usr/share/rhn/wsgi/xmlrpc.py", line 22, in application<br>
[Thu Jun 09 13:11:31 2011] [error] [client 10.5.1.64]     return wsgiHandler.handle(environ, start_response, "xmlrpc", "server.xmlrpc")<br>
[Thu Jun 09 13:11:31 2011] [error] [client 10.5.1.64]   File "/usr/share/rhn/wsgi/wsgiHandler.py", line 45, in handle<br>
[Thu Jun 09 13:11:31 2011] [error] [client 10.5.1.64]     ret = appServ(req)<br>
[Thu Jun 09 13:11:31 2011] [error] [client 10.5.1.64]   File "/usr/lib/python2.6/site-packages/spacewalk/server/apacheHandler.py", line 141, in handler<br>
[Thu Jun 09 13:11:31 2011] [error] [client 10.5.1.64]     h = rhnSQL.prepare("select label, value from rhnTemplateString")<br>
[Thu Jun 09 13:11:31 2011] [error] [client 10.5.1.64]   File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/__init__.py", line 190, in prepare<br>
[Thu Jun 09 13:11:31 2011] [error] [client 10.5.1.64]     db = __test_DB()<br>
[Thu Jun 09 13:11:31 2011] [error] [client 10.5.1.64]   File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/__init__.py", line 153, in __test_DB<br>
[Thu Jun 09 13:11:31 2011] [error] [client 10.5.1.64]     raise SystemError, "Not connected to any database!"<br>
[Thu Jun 09 13:11:31 2011] [error] [client 10.5.1.64] SystemError: Not connected to any database!<br>
<br>
<br>
But it is connected to the database, because I'm able to change configuration of spacewalk via its web interface.<br>
<br>
My netstat:<br>
[root@spacewalk httpd]# netstat -ntpl<br>
Active Internet connections (only servers)<br>
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name  
<br>
tcp        0      0 <a href="http://0.0.0.0:1290/" target="_blank">0.0.0.0:1290</a>                0.0.0.0:*                   LISTEN      13906/python       
<br>
tcp        0      0 <a href="http://0.0.0.0:111/" target="_blank">0.0.0.0:111</a>                 0.0.0.0:*                   LISTEN      1125/rpcbind       
<br>
tcp        0      0 <a href="http://0.0.0.0:1521/" target="_blank">0.0.0.0:1521</a>                0.0.0.0:*                   LISTEN      9706/tnslsnr       
<br>
tcp        0      0 <a href="http://0.0.0.0:33939/" target="_blank">0.0.0.0:33939</a>               0.0.0.0:*                   LISTEN      9733/xe_d000_XE    
<br>
tcp        0      0 <a href="http://0.0.0.0:5269/" target="_blank">0.0.0.0:5269</a>                0.0.0.0:*                   LISTEN      13891/s2s          
<br>
tcp        0      0 <a href="http://0.0.0.0:22/" target="_blank">0.0.0.0:22</a>                  0.0.0.0:*                   LISTEN      1329/sshd          
<br>
tcp        0      0 <a href="http://127.0.0.1:25/" target="_blank">127.0.0.1:25</a>                0.0.0.0:*                   LISTEN      1512/master        
<br>
tcp        0      0 <a href="http://127.0.0.1:25151/" target="_blank">127.0.0.1:25151</a>             0.0.0.0:*                   LISTEN      14176/python       
<br>
tcp        0      0 <a href="http://127.0.0.1:9055/" target="_blank">127.0.0.1:9055</a>              0.0.0.0:*                   LISTEN      9706/tnslsnr       
<br>
tcp        0      0 <a href="http://127.0.0.1:32000/" target="_blank">127.0.0.1:32000</a>             0.0.0.0:*                   LISTEN      14131/java         
<br>
tcp        0      0 <a href="http://0.0.0.0:35872/" target="_blank">0.0.0.0:35872</a>               0.0.0.0:*                   LISTEN      1143/rpc.statd     
<br>
tcp        0      0 <a href="http://127.0.0.1:32001/" target="_blank">127.0.0.1:32001</a>             0.0.0.0:*                   LISTEN      14252/java         
<br>
tcp        0      0 <a href="http://0.0.0.0:5347/" target="_blank">0.0.0.0:5347</a>                0.0.0.0:*                   LISTEN      13870/router       
<br>
tcp        0      0 <a href="http://0.0.0.0:5222/" target="_blank">0.0.0.0:5222</a>                0.0.0.0:*                   LISTEN      13884/c2s          
<br>
tcp        0      0 ::ffff:<a href="http://127.0.0.1:8009/" target="_blank">127.0.0.1:8009</a>       :::*                        LISTEN      13979/java         
<br>
tcp        0      0 ::ffff:<a href="http://127.0.0.1:2828/" target="_blank">127.0.0.1:2828</a>       :::*                        LISTEN      14131/java         
<br>
tcp        0      0 ::ffff:<a href="http://127.0.0.1:2829/" target="_blank">127.0.0.1:2829</a>       :::*                        LISTEN      14252/java         
<br>
tcp        0      0 :::111                      :::*                        LISTEN      1125/rpcbind       
<br>
tcp        0      0 :::80                       :::*                        LISTEN      14083/httpd        
<br>
tcp        0      0 ::ffff:<a href="http://127.0.0.1:8080/" target="_blank">127.0.0.1:8080</a>       :::*                        LISTEN      13979/java         
<br>
tcp        0      0 :::22                       :::*                        LISTEN      1329/sshd          
<br>
tcp        0      0 ::1:25                      :::*                        LISTEN      1512/master        
<br>
tcp        0      0 :::443                      :::*                        LISTEN      14083/httpd        
<br>
tcp        0      0 ::ffff:<a href="http://127.0.0.1:8005/" target="_blank">127.0.0.1:8005</a>       :::*                        LISTEN      13979/java         
<br>
tcp        0      0 :::33863                    :::*                        LISTEN      1143/rpc.statd     
<br>
<br>
<br>
<br>
I used these two howtos for installation:<br>
<a href="https://fedorahosted.org/spacewalk/wiki/OracleXeSetup" target="_blank">https://fedorahosted.org/spacewalk/wiki/OracleXeSetup</a><br>
<a href="https://fedorahosted.org/spacewalk/wiki/HowToInstall13" target="_blank">https://fedorahosted.org/spacewalk/wiki/HowToInstall13</a><br>
<br>
<br>
<br>
What I wrong?<br>
<br>
<br>
<br>
<br>
Thank you!<br>
Best Regards,<br>
Alexander<o:p></o:p></p>
</div>
</div>
<BR>
______________________________________________________________________<BR>
This email has been scanned by the MessageLabs Email Security System.<BR>
For more information please visit http://www.messagelabs.com/email <BR>
______________________________________________________________________<BR>
</body>
</html>