When I run ubuntu, the tomcat server I have installed runs automatically and I have to switch it off manually. I want tomcat not to start automatically on boot. How to disable tomcat’s startup on boot?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
-> first: find out the name of the service. for example: tomcat or tomcat6
Than: try this:
You can use the following tool:
http://dotgiri.com/2009/08/31/alternative-for-chkconfig-in-ubuntu-sysv-rc-conf-enable-or-disable-services-at-startup/
If this doesn’t work, the next will work
1.) find out your current runlevel
2.) (re)move the startscript from the runlevel directory
/etc/rcX.d (wher X is the number of the current runlevel) Example:
The script starts with S and an Number (for example S90tomcat), which means: S=stratscript for tomcat, Start at position 90.
Simply delete or move that script.
3.) Finally also remove the stop-Script (Kill Script) which looks like /etc/rcX.d/Kyytomcat where yy is an number between 0-99 and X is the runlevel, you still know.
Look at this
http://www.unixtutorial.org/2009/01/disable-service-startup-in-ubuntu/