Hi guys,<br><br><br>I've a problem with the spacewalk.<br>I have installed it successfully 1.4 version on rhel6, 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:<br>
<h1>500 Error - Internal Server Error</h1>
<p>You may have reached this page in one of the following ways:</p>
<ol><li>You've found an error in the site. Please report this error
to your local administrator with details of how you received this
message.</li></ol><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.<div id=":11z">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 and how can I debug the problem ?<br><br><br><br><br>Thank you!<br>Best Regards,<br>Alexander<br></div>