首页 > Web开发 > 详细

apache mod_wsgi 模块不存在错误

时间:2014-11-13 11:04:46      阅读:486      评论:0      收藏:0      [点我收藏+]

一时疏忽 因为把测试网址弄错 误以为是环境出了问题 重装了mod_wsgi重启apache的时候报了

$ service apache2 restart
Syntax error on line 1 of /etc/apache2/sites-enabled/webapp:
Invalid command ‘WSGISocketPrefix‘, perhaps misspelled or defined by a module not included in the server configuration
Action ‘configtest‘ failed.
The Apache error log may have more information.
   ...fail!

此类的错误  

最后的是通过吧 /etc/apache2/mods-available下的wsgi.load wsgi.conf复制到 /etc/apache2/mods-enabled 解决的

还有一个错误:

/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)  

解决方法 修改 /user/sbin/apache2ctl  将ULIMITE_MAX_FILES=""即可

apache mod_wsgi 模块不存在错误

原文:http://my.oschina.net/cgjcgs/blog/343758

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!