繁体   English   中英

在Ubuntu 15.10上安装Cobbler似乎打破了apache,我该如何解决这个问题呢?

[英]Installing Cobbler on Ubuntu 15.10 seems to break apache, how can I fix this?

我正在尝试在一个全新的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_pythonwsgi模块但是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

键入sudo a2dismod python禁用该模块

你应该看到这个:

模块python已禁用。 要激活新配置,您需要运行:service apache2 restart

所以输入sudo service apache2 restart

如果这不能解决问题,请通过键入cat /var/log/apache2/error.log来检查错误日志以获取更多信息。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM