I installed Apache tomcat using custom package

sudo apt-get install tomcat6

I tried restarting the Apache tomcat using this in Ubuntu Terminal

sudo service tomcat6 restart

then I got the following error

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.

How do I need to check the error logs

  • Please elaborate. It seems like the Apache web server is started,not tomcat. Are you using a custom psckage and/or init script? – fuero Feb 3 '13 at 14:47
  • can you tell how do I check whether I am using custom package ,or init script. – ReThink Feb 3 '13 at 14:50
  • I did using custom package – ReThink Feb 3 '13 at 14:55
  • There's something I don't quite understand: Madhu13 and Thota Madhu Sudhan Rao are the same person, right? – Deer Hunter Feb 3 '13 at 15:28

Try the following as root in the terminal

a2enmod proxy 

and tehn restart

  • Are you answering yourself? – Deer Hunter Feb 3 '13 at 15:28
  • Sorry I answered myself.but that is working link.I found from this link. – ReThink Feb 3 '13 at 16:35
  • The problem is not with your link. Why are you using two accounts? – Deer Hunter Feb 3 '13 at 17:59
  • My original account madhuxxxxx@gmail.com is not able to ask answers because one of my question was closed,then I started using new account with sudhanxxxxx@gmail.com for asking questions.Do you mind it ? – ReThink Feb 3 '13 at 19:10

You have a configuration for apache which is incorrect. I don't know which custom package you installed but check in /etc/apache2/

Maybe do this:

grep -R "ProxyRequests" /etc/apache2/*

See what file this is coming from and fix it. If you don't know what need to be fixed, you can post the output.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.