我正在尝试在全新的 Ubuntu 15.10 虚拟机上安装 Cobbler,但它无法正常工作。当我运行它时,apt-get install cobbler cobbler-web
它似乎完全破坏了 apache,以至于我无法让它再次工作。
我在 apache 错误日志中看到了这一点:
[wsgi:crit] [pid 8112:tid 140273573488512] mod_wsgi (pid=8112): The mod_python module can not be used on conjunction with mod_wsgi 4.0+. Remove the mod_python module from the Apache configuration.
这在auth.log
:
polkitd(authority=local): Unregistered Authentication Agent for unix-process:8081:54865 (system bus name :1.24, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
我已尝试删除mod_python
andwsgi
模块,但 apache 仍然无法启动。而且我认为 Cobbler 无论如何都会使用它们,所以我有点需要它们。
我也尝试过禁用 polkitd。在搜索那个奇怪的错误消息时,我没有找到任何线索。
我能够很容易地在 Ubuntu 14.04 上安装 Cobbler,并且 apache 工作正常。
这是我使用的基本安装命令链:
apt-get update
apt-get install apache2
apt-get install isc-dhcp-server
apt-get install bind9 bind9utils bind9-doc
apt-get install cobbler cobbler-web debmirror mkisofs