The problem is fixed if we add `-p "$CATALINA_PID"`  to the start-stop-daemon 
line in catalina_sh().  Isn't that something we should be able to rely on? 
{{{
*** tomcat6~    2010-10-11 13:21:52.000000000 -0500
--- tomcat6     2010-11-03 12:19:04.000000000 -0500
***************
*** 152,154 ****
        start-stop-daemon --start -b -u "$TOMCAT6_USER" -g "$TOMCAT6_GROUP" \
!               -c "$TOMCAT6_USER" -d "$CATALINA_TMPDIR" \
                -x /bin/bash -- -c "$AUTHBIND_COMMAND $TOMCAT_SH"
--- 152,154 ----
        start-stop-daemon --start -b -u "$TOMCAT6_USER" -g "$TOMCAT6_GROUP" \
!               -c "$TOMCAT6_USER" -d "$CATALINA_TMPDIR" -p "$CATALINA_PID" \
                -x /bin/bash -- -c "$AUTHBIND_COMMAND $TOMCAT_SH"
}}}

-- 
tomcat fails to start with: /bin/bash already running.
https://bugs.launchpad.net/bugs/632554
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

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

Reply via email to