无人值守安装操作系统---cobbler

Posted chalon

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了无人值守安装操作系统---cobbler相关的知识,希望对你有一定的参考价值。

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

技术图片

 

以上是关于无人值守安装操作系统---cobbler的主要内容,如果未能解决你的问题,请参考以下文章

无人值守安装系统之Cobbler

Cobbler无人值守安装系统史上最细实践文档

Cobbler无人值守安装系统安装与使用

cobbler无人值守批量安装Linux系统

Cobbler实现无人值守安装系统

cobbler无人值守自动安装