(Replying to my own reply in order to share the solution)

I've found that the cause was my /etc/hosts.

I had:
::1     localhost.localdomain   localhost <SERVERNAME>

When I changed it to
127.0.0.1 localhost.localdomain   localhost <SERVERNAME>

Cobbler web ui starts working just fine.

It also works with 
127.0.0.1 localhost.localdomain   localhost <SERVERNAME>
::1     ip6-localhost.localdomain   ip6-localhost pi6-<SERVERNAME>

Hope this helps someone.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: 17 September 2008 12:46
To: [email protected]
Subject: RE: cobbler_api_rw: 503 Service Temporarily Unavailable

Yes, it all looks good as far as I can tell.

# grep xmlrpc_rw /etc/cobbler/settings
xmlrpc_rw_enabled: 1
xmlrpc_rw_port: 25152

# cobbler check
The following potential problems were detected:
#0: since iptables may be running, ensure 69, 80, 25150, and 25151 are unblocked
#1: One or more kickstart templates references default password 'cobbler' and 
should be changed for security reasons: /etc/cobbler/sample.ks, 
/etc/cobbler/legacy.ks, /etc/cobbler/sample_end.ks

# ps -ef | grep cobblerd
root      6441     1  0 12:11 ?        00:00:00 /usr/bin/python 
/usr/bin/cobblerd --daemon
root      6442  6441  0 12:11 ?        00:00:00 /usr/bin/python 
/usr/bin/cobblerd --daemon
root      6447  6442  0 12:11 ?        00:00:00 /usr/bin/python 
/usr/bin/cobblerd --daemon
root      6567  6103  0 12:34 pts/2    00:00:00 grep cobblerd

# service cobblerd status
cobblerd (pid 6447 6442 6441) is running...

# sestatus
SELinux status:                 disabled


# iptables --list
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
RH-Firewall-1-INPUT  all  --  anywhere             anywhere

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
RH-Firewall-1-INPUT  all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain RH-Firewall-1-INPUT (2 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     icmp --  anywhere             anywhere            icmp any
ACCEPT     esp  --  anywhere             anywhere
ACCEPT     ah   --  anywhere             anywhere
ACCEPT     udp  --  anywhere             224.0.0.251         udp dpt:mdns
ACCEPT     udp  --  anywhere             anywhere            udp dpt:ipp
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ipp
ACCEPT     all  --  anywhere             anywhere            state 
RELATED,ESTABLISHED
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp 
dpt:ssh
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp 
dpt:https
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp 
dpt:http
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp 
dpt:25150
ACCEPT     udp  --  anywhere             anywhere            state NEW udp 
dpt:25150
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp 
dpt:25151
ACCEPT     udp  --  anywhere             anywhere            state NEW udp 
dpt:25151
ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp 
dpt:25152
ACCEPT     udp  --  anywhere             anywhere            state NEW udp 
dpt:25152
REJECT     all  --  anywhere             anywhere            reject-with 
icmp-host-prohibited



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jasper Capel
Sent: 17 September 2008 12:26
To: cobbler mailing list
Subject: Re: cobbler_api_rw: 503 Service Temporarily Unavailable

[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.
> 

Can you check /etc/cobbler/settings to see if the following two are set?
xmlrpc_rw_enabled: 1
xmlrpc_rw_port: 25152

Also, check if your configuration is valid, by typing "cobbler check". 
If all looks ok, make sure the cobblerd service is running.

Kind regards,

Jasper Capel
Stone-IT
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

____________________________________________________________________
This email has been scanned by the MessageLabs Email Security System

____________________________________________________________________
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

____________________________________________________________________
This email has been scanned by the MessageLabs Email Security System

____________________________________________________________________
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

Reply via email to