i am on ubuntu 10.04 server, having tomcat6. because of some reasons i had to un-install it so i used
apt-get purge tomcat6
it removed tomcat and config files.
now i am trying to install tomcat6 again, using
apt-get install tomcat6
Setting up tomcat6 (6.0.24-2ubuntu1.9) ... Adding system user `tomcat6' (UID 109) ... Adding new user `tomcat6' (UID 109) with group `tomcat6' ... Not creating home directory `/usr/share/tomcat6'. * Starting Tomcat servlet engine tomcat6 [fail] invoke-rc.d: initscript tomcat6, action "start" failed.
looked into log
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) java.util.logging.ErrorManager: 1: FileHandler is closed or not yet initialized, unable to log [Dec 2, 2011 7:39:08 AM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080
I am not tomcat expert, so not sure should i have to reboot server to install tomcat6 again. can anyone please help?
[EDIT] - as suggested by Erick Robertson i uploaded same question on stackfault. As i am looking my answer as soon as possible, you can answer at any location
[EDIT-2] - i have deleted its duplicate on serverfault. Got it working, as mentioned by Mike, i was missing 1 step of killing processes
kill -9 pid1 pid2 . Thanks very much Mike