我正在尝试在一个全新的Ubuntu15.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仍然没有启动。我觉得不管怎么说,蛇都会用,所以我需要它们。
我也试过禁用polkitd。我在寻找那个奇怪的错误信息时找不到任何线索。
我能够很容易地在Ubuntu14.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发布于 2016-11-01 00:39:44
通过键入sudo a2dismod python禁用模块
然后,您应该看到以下内容:
模块python已禁用。要激活新配置,您需要运行: service apache2重新启动
所以输入sudo service apache2 restart。
如果这不能修复它,请通过键入cat /var/log/apache2/error.log查看错误日志以获得更多信息。
https://stackoverflow.com/questions/35640000
复制相似问题