I'm assuming you have httpd running as well as cobblerd and that you've
checked ports 80 and 25151 with nmap or telnet to see that they're open.
In the cli.py reference listed in the traceback you can see two things
are being tested, It's using the /etc/cobbler/settings server variable
to test access to port 80 to make sure the web server is there and that
the ProxyPass in /etc/httpd/conf.d/cobbler.conf is set up so that access
to /cobbler_api gets bounced to port 25151. You may be able to see
these ports with iptables still turned on but not get any data exchanges
from them. I ran into this myself. Either you need to be good enough
with the iptables rules and the firewall setup to allow the necessary
ports to pass traffic or they have to be turned off.
The firewall can be disabled in the GUI. If the firewall is on there
should be a big red icon in the GUI window that says Disable, click that
and then the Apply icon.
SELinux can be disabled in /etc/selinux/config by setting
SELINUX=disabled and a reboot. And make sure disabled is spelled
right. I think all you may need to do is turn off SELinux but it can't
hurt to turn off both.
Iptables is turned off as listed below.
Other than this I can't think of anything else assuming the rest of the
installation is right (This isn't to say there are no another ways, I
just can't think of one.). At least one of these still being running is
how I got the error you list. Rechecking that everything was off
(several times) is how I got cobbler check to work and start giving
more useful information.
Chris J.
302 status code is redirection. Is your apache used for anything
else? Do you have any redirections in there?
On Mar 12, 2014, at 9:45 PM, John Doyle <[email protected]
<mailto:[email protected]>> wrote:
yes, the output above was from cobbler check
iptables is not running
On Wed, Mar 12, 2014 at 6:41 PM, Chris Johnson
<[email protected]
<mailto:[email protected]>> wrote:
Have you run cobbler check? Is iptables running? Make sure
iptables is turned off.
service iptables save
service iptables stop
chkconfig --del iptables
as root
Chris J.
(And yes, the particular error should have a better description)
Greetings,
running Centos6 and installed cobbler and cobbler-web with yum.
selinux is disabled and cobbler check spits out:
httpd does not appear to be running and proxying cobbler, or
SELinux is in the way. Original traceback:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-
packages/cobbler/cli.py", line 252, in check_setup
s.ping()
File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib64/python2.6/xmlrpclib.py", line 1243, in request
headers
ProtocolError: <ProtocolError for 10.20.5.1:80/cobbler_api
<http://10.20.5.1/cobbler_api>: 302 Found>
_______________________________________________
cobbler mailing list
[email protected] <mailto:[email protected]>
https://lists.fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
[email protected]
<mailto:[email protected]>
https://lists.fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
[email protected] <mailto:[email protected]>
https://lists.fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler