1、cobbler check失败
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.7/site-packages/cobbler/cli.py", line 251, in check_setup
s.ping()
File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1591, in __request
verbose=self.__verbose
File "/usr/lib64/python2.7/xmlrpclib.py", line 1273, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1321, in single_request
response.msg,
ProtocolError: <ProtocolError for 127.0.0.1:80/cobbler_api: 404 Not Found>
原因分析:缺少组件pykickstart;
解决方法:yum -y install pykickstart;systemctl restart cobblerd;systemctl status cobblerd;systemctl restart httpd;systemctl status httpd;cobbler check
2、cobbler get-loaders失败
cobblerd does not appear to be running/accessible: error(111, 'Connection refused')
原因分析:cobbler get-loaders意外中断导致该问题出现。
解决方法:systemctl restart cobblerd;systemctl status cobblerd;systemctl restart httpd;systemctl status httpd