Installing Tomcat 6 on Ubuntu 9.10
Recently I couldn't post any blos items cause of lack of time due to Drupal works, and some Java
So here I'm going to discuss about installing Tomcat6 on my latest Ubuntu 9.10 OS.
First Run
sudo apt-cache search tomcat

Then you can see list of packaages you can install on Ubuntu and install them by
sudo apt-get install tomcat6
Start/Stop Tomcat
/etc/init.d/tomcat6 start
/etc/init.d/tomcat6 stop
/etc/init.d/tomcat6 restart
<!--Session data-->
<!--Session data-->
- heshan's blog
- 4023 reads
-
this is not working :(
this is the error i get can you help me
rusiru@rusiru-laptop:~/Desktop$ sudo apt-get install tomcat6
Reading package lists... Done
Building dependency tree
Reading state information... Done
tomcat6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
4 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up tomcat6 (6.0.20-2ubuntu2) ...
chgrp: cannot access `/etc/tomcat6/tomcat-users.xml': No such file or directory
dpkg: error processing tomcat6 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of tomcat6-admin:
tomcat6-admin depends on tomcat6 (>= 6.0.20-2ubuntu2); however:
Package tomcat6 is not configured yet.
dpkg: error processing tomcat6-admin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of tomcat6-docs:
tomcat6-docs depends on tomcat6 (>= 6.0.20-2ubuntu2); however:
Package tomcat6 is not configured yet.
dpkg: error processing tomcat6-docs (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of tomcat6-examples:
tomcat6-examples depends on tomcat6 (>= 6.0.20-2ubuntu2); however:
Package tomcat6 is not configured yet.
dpkg: error processing tomcat6-examples (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
Errors were encountered while processing:
tomcat6
tomcat6-admin
tomcat6-docs
tomcat6-examples
E: Sub-process /usr/bin/dpkg returned an error code (1)
rusiru@rusiru-laptop:~/Desktop$
Did you follow the post? first search existing packages then try installing them, if your package manager not indexing tomcat properly, then update package manager indexing
try apt-get update as I remember
