cobbler出現httpd does not appear to be running and proxying cobbler的解決方法
在執行cobbler check時出現下列錯誤
[root@cobbler ~]# 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.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:
解決方法:
[root@cobbler ~]# getenforce
Enforcing
[root@cobbler ~]# setenforce 0
[root@cobbler ~]# getenforce
Permissive
[root@cobbler ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
重新執行該命令
[root@cobbler ~]# cobbler check
The following are potential configuration items that you may want to fix:
1 : The 'server' field in /etc/cobbler/settings must be set to something other than localhost, or kickstarting features will not work. This should be a resolvable hostname or IP for the boot server as reachable by all machines that will use it.
2 : For PXE to be functional, the 'next_server' field in /etc/cobbler/settings must be set to something other than 127.0.0.1, and should match the IP of the boot server on the PXE network.
3 : SELinux is enabled. Please review the following wiki page for details on ensuring cobbler works correctly in your SELinux environment:
4 : some network boot-loaders are missing from /var/lib/cobbler/loaders, you may run 'cobbler get-loaders' to download them, or, if you only want to handle x86/x86_64 netbooting, you may ensure that you have installed a *recent* version of the syslinux package installed and can ignore this message entirely. Files in this directory, should you want to support all architectures, should include pxelinux.0, menu.c32, elilo.efi, and yaboot. The 'cobbler get-loaders' command is the easiest way to resolve these requirements.
5 : change 'disable' to 'no' in /etc/xinetd.d/rsync
6 : since iptables may be running, ensure 69, 80/443, and 25151 are unblocked
7 : comment out 'dists' on /etc/debmirror.conf for proper debian support
8 : comment out 'arches' on /etc/debmirror.conf for proper debian support
9 : The default password used by the sample templates for newly installed machines (default_password_crypted in /etc/cobbler/settings) is still set to 'cobbler' and should be changed, try: "openssl passwd -1 -salt 'random-phrase-here' 'your-password-here'" to generate new one
Restart cobblerd and then run 'cobbler sync' to apply changes.
問題解決
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12082464/viewspace-1191211/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- cobbler 批量安裝linux薦Linux
- cobbler 忘記好系統登入密碼,如何修改cobbler部署機器的預設密碼密碼
- centos7下cobbler安裝配置CentOS
- Cobbler實現自動化安裝作業系統作業系統
- 使用 Cobbler 安裝一臺 CentOS 主機CentOS
- 實戰-使用 Cobbler 安裝作業系統作業系統
- 搭建 Cobbler 無人值守安裝伺服器伺服器
- 品運維自動化之cobbler的安裝序運維
- 實戰-使用 Cobbler 安裝一臺 CentOS 主機CentOS
- 實戰-使用 Cobbler 定製化安裝指定系統
- 006-Cobbler批量自動化部署CentOS/Ubuntu/WindowsCentOSUbuntuWindows
- CentOS7中搭建cobbler自動裝機服務CentOS
- 【MySql】複製出現Slave_SQL_Running: No 錯誤解決MySql
- Cobbler部署指南之安裝虛擬化Xen系統篇薦
- MYSQL(解決方法):Client does not support authentication(轉)MySqlclient
- navicat本地連線mysql出現1251--Client does not support authentication protocol requested by server的解決方法MySqlclientProtocolServer
- Slave_SQL_Running:Nomysql同步故障解決方法MySql
- Eclipse出現"Running Android Lint has encountered a problem"解決方案EclipseAndroid
- ArchLinux出現ACPI ERROR的解決方法LinuxError
- nginx出現403錯誤的解決方法Nginx
- Cobbler自動化批量安裝Linux作業系統 - 運維總結Linux作業系統運維
- 解析JSON出現亂碼的解決方法JSON
- UIView 周圍出現黑線的解決方法UIView
- oracle 10g 出現gap的解決方法Oracle 10g
- No input file specified 出現的原因及解決方法
- PHP出現Cannotmodifyheaderinformation問題的解決方法PHPHeaderORM
- 在使用SwipebackLayout出現的bug以及解決的方法
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解決方法MySql
- mysql 5.7.21 CMake Error: The source directory "/data/server/mysql" does not appear to contain CMakMySqlErrorServerAPPAI
- sudo時出現unable to resolve host 的解決方法
- php查詢mssql出現亂碼的解決方法PHPSQL
- sudo 出現unable to resolve host 解決方法
- 執行Tensorboard出現kernel is dead的解決方法ORB
- 隨身碟出現防寫錯誤的解決方法
- sqlldr 匯入中文出現亂碼解決方法SQL
- The operation, ‘DecodeJpeg/contents‘, does not exist in the graph.錯誤解決方法
- The file '/MasterPage.master' does not exist. 類錯誤解決方法AST
- IBM x-346 "planar PCI does not respond or is disabled by user" 解決方法IBM