I have installed tomcat using sudo apt-get install tomcat7
and when i am trying to start the tomcat server using sudo /usr/share/tomcat7/bin/startup.sh
I am getting the following error
Using CATALINA_BASE: /usr/share/tomcat7
Using CATALINA_HOME: /usr/share/tomcat7
Using CATALINA_TMPDIR: /usr/share/tomcat7/temp
Using JRE_HOME: /usr
Using CLASSPATH: /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar
touch: cannot touch '/usr/share/tomcat7/logs/catalina.out': No such file or directory
/usr/share/tomcat7/bin/catalina.sh: 389: /usr/share/tomcat7/bin/catalina.sh: cannot create /usr/share/tomcat7/logs/catalina.out: Directory nonexistent
. I went through a similar problem How to fix 'Failed to initialize end point associated with ProtocolHandler' error? but the solution says I to re-install tomcat which i don't want to do.Need help