Hi,
I’ve got a new default install of CentOS 5.2 on which
I am trying to get Cobbler installed. I can get the service running, but
clicking any link (other than DOCS) on the menu results in a python error
message. It appears that cobbler_api and cobbler_api_rw are being
blocked, but I can’t figure out how. SELinux is off, firewall is
off. Attempts to navigate to http://<server>/cobbler_api
results in Service Temporarily Unavailable. I’ve searched Google,
but have not found anything that has helped.
Any troubleshooting help would be greatly appreciated.
Clicking any menu option results in Cobbler web ui
displaying:
Mod_python
error: "PythonHandler index"
Traceback
(most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line
299, in HandlerDispatch
result = object(req)
File "/var/www/cobbler/web/index.py", line 123, in handler
content = func( **form )
File "/usr/lib/python2.4/site-packages/cobbler/webui/CobblerWeb.py",
line 146, in distro_list
if not self.__xmlrpc_setup():
File "/usr/lib/python2.4/site-packages/cobbler/webui/CobblerWeb.py",
line 73, in __xmlrpc_setup
raise e
ProtocolError:
From /var/log/httpd/error_log:
[Tue Sep 16 17:19:26 2008] [error] (111)Connection refused:
proxy: HTTP: attempt to connect to [::1]:25152 (localhost) failed
[Tue Sep 16 17:19:26 2008] [error] ap_proxy_connect_backend
disabling worker for (localhost)
[Tue Sep 16 17:19:26 2008] [error] [client <CLIENT_MACHINE>]
PythonHandler index: Traceback (most recent call last):, referer: http://<COBBLER_SERVER>/cobbler/web/
[Tue Sep 16 17:19:26 2008] [error] [client <CLIENT_MACHINE>]
PythonHandler index: File
"/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299,
in HandlerDispatch\n result = object(req), referer: http://<COBBLER_SERVER>/cobbler/web/
[Tue Sep 16 17:19:26 2008] [error] [client <CLIENT_MACHINE>]
PythonHandler index: File
"/var/www/cobbler/web/index.py", line 123, in
handler\n content = func( **form ), referer: http://<COBBLER_SERVER>/cobbler/web/
[Tue Sep 16 17:19:26 2008] [error] [client <CLIENT_MACHINE>]
PythonHandler index: File
"/usr/lib/python2.4/site-packages/cobbler/webui/CobblerWeb.py", line
146, in distro_list\n if not self.__xmlrpc_setup():, referer:
http://<COBBLER_SERVER>/cobbler/web/
[Tue Sep 16 17:19:26 2008] [error] [client <CLIENT_MACHINE>]
PythonHandler index: File
"/usr/lib/python2.4/site-packages/cobbler/webui/CobblerWeb.py", line
73, in __xmlrpc_setup\n raise e, referer: http://<COBBLER_SERVER>/cobbler/web/
[Tue Sep 16 17:19:26 2008] [error] [client <CLIENT_MACHINE>]
PythonHandler index: ProtocolError: <ProtocolError for
127.0.0.1:80/cobbler_api_rw: 503 Service Temporarily Unavailable>, referer: http://<COBBLER_SERVER>/cobbler/web/
Thanks,
Warren