首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Ubuntu15.10上安装Cobbler似乎破坏了apache,我如何解决这个问题?

在Ubuntu15.10上安装Cobbler似乎破坏了apache,我如何解决这个问题?
EN

Stack Overflow用户
提问于 2016-02-25 22:50:54
回答 1查看 2.7K关注 0票数 3

我正在尝试在一个全新的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_pythonwsgi模块,但是apache仍然没有启动。我觉得不管怎么说,蛇都会用,所以我需要它们。

我也试过禁用polkitd。我在寻找那个奇怪的错误信息时找不到任何线索。

我能够很容易地在Ubuntu14.04上安装Cobbler,而且apache工作得很好。

下面是我使用的基本安装命令链:

代码语言:javascript
复制
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
EN

回答 1

Stack Overflow用户

发布于 2016-11-01 00:39:44

通过键入sudo a2dismod python禁用模块

然后,您应该看到以下内容:

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

所以输入sudo service apache2 restart

如果这不能修复它,请通过键入cat /var/log/apache2/error.log查看错误日志以获得更多信息。

票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/35640000

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档