【发布时间】:2016-02-25 22:50:54
【问题描述】:
我正在尝试在全新的 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 和 wsgi 模块,但 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
【问题讨论】:
-
仅供参考,我最终恢复到旧版本的 Ubuntu,它工作正常。
-
我在 Ubuntu 16.04 LTS 上看到了同样的问题。
-
截至目前,有没有其他解决方案?除了更改 Ubuntu 版本。我也在 16.04 面临这个问题。
-
尝试从github.com/GrahamDumpleton/mod_wsgi/releases?after=4.2.0.| 下载 mod_wsgi(3.5 版)使用 make 构建并查看。
标签: apache mod-wsgi mod-python ubuntu-15.10 cobbler