Apache tomcat不重启

我使用自定义包安装了Apache Tomcat

sudo apt-get install tomcat6 

我试过在Ubuntu Terminal中使用这个重启Apache Tomcat

 sudo service tomcat6 restart 

那么我得到了以下错误

 Invalid command 'ProxyRequests', 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! 

我如何需要检查错误日志

在terminal中以root身份尝试以下操作

 a2enmod proxy 

和tehn重启

你有一个Apache的configuration是不正确的。 我不知道你安装了哪个自定义软件包,但是在/ etc / apache2 /

也许这样做:

grep -R“ProxyRequests”/ etc / apache2 / *

看看这是来自哪个文件并修复它。 如果您不知道需要修复哪些内容,则可以发布输出。