[EMAIL PROTECTED] wrote:
>
> 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 
> <http://%3cserver%3e/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/ <http://192.168.20.101/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/ <http://192.168.20.101/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/ <http://192.168.20.101/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/ <http://192.168.20.101/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/ <http://192.168.20.101/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/ 
> <http://192.168.20.101/cobbler/web/>
>
> Thanks,
>
> Warren
>
>
> ____________________________________________________________________
> DISCLAIMER
>
> This message and any attachments contain privileged and confidential 
> information intended for the use of the addressee named above. If you 
> are not the intended recipient of this message, you are hereby 
> notified that any use, dissemination, distribution or reproduction of 
> this message is prohibited. Please note that we cannot guarantee that 
> this message or any attachment is virus free or that it has not been 
> intercepted and amended. The views of the author may not necessarily 
> reflect those of Realtime Worlds Ltd.
>
>
>
> Realtime Worlds Ltd is registered in Scotland, number 225628. 
> Registered Office: 152 West Marketgait, Dundee, DD1 1NJ.
> ------------------------------------------------------------------------
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   

If you hadn't said "new install", my suspicion would have been that 
you've upgraded to this version of Cobbler from a version before 1.0, 
before the mod_python infrastructure was introduced, and therefore have 
a "cobbler.conf.rpmnew" file hanging around in your Apache 
/etc/httpd/conf.d directory. If that was the case, I would have said 
copy this file over the non ".rpmnew" one and restart httpd.

I assume you are installing with the latest RPM from EPEL 5 testing? The 
latest is 1.2.4. Maybe you installed with --noscripts or something else 
weird?

http://download.fedora.redhat.com/pub/epel/testing/5/i386/cobbler-1.2.4-1.el5.noarch.rpm

--Michael


_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to