Changing the broken links to a symbolic link using an absolute path
allowed starting the tomcat6 service.

root@SBSDT16:/var/lib/tomcat6# ls -l
total 16
drwxr-xr-x 3 tomcat6 tomcat6 4096 2012-01-11 17:05 common
lrwxrwxrwx 1 root    root      12 2012-01-11 17:05 conf -> /etc/tomcat6
lrwxrwxrwx 1 root    root      16 2012-01-11 18:43 logs -> /var/log/tomcat6
drwxr-xr-x 3 tomcat6 tomcat6 4096 2012-01-11 17:05 server
drwxr-xr-x 3 tomcat6 tomcat6 4096 2012-01-11 17:05 shared
drwxrwxr-x 4 tomcat6 tomcat6 4096 2012-01-11 17:05 webapps
lrwxrwxrwx 1 root    root      18 2012-01-11 18:43 work -> /var/cache/tomcat6
root@SBSDT16:/var/lib/tomcat6# service tomcat6 start
 * Starting Tomcat servlet engine tomcat6                                       
                                 [ OK ] 
root@SBSDT16:/var/lib/tomcat6# ps -elf | grep tomcat
0 S tomcat6   5460     1 70  80   0 - 157654 futex_ 18:45 ?       00:00:25 
/usr/lib/jvm/java-6-openjdk/bin/java 
-Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties 
-Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 
-Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -classpath 
/usr/share/tomcat6/bin/bootstrap.jar -Dcatalina.base=/var/lib/tomcat6 
-Dcatalina.home=/usr/share/tomcat6 -Djava.io.tmpdir=/tmp/tomcat6-tmp 
org.apache.catalina.startup.Bootstrap start
0 S root      5524  4481  0  80   0 -  2285 pipe_w 18:46 pts/0    00:00:00 grep 
tomcat

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in Ubuntu.
https://bugs.launchpad.net/bugs/915089

Title:
  Tomcat 6 start up fails with unknown dir /var/lib/tomcat6/work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tomcat6/+bug/915089/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to