[Bug 632554] [NEW] tomcat fails to start with: /bin/bash already running.
Thag
bruce.edge at gmail.com
Tue Sep 7 18:35:10 BST 2010
Public bug reported:
Binary package hint: tomcat6
While it's not recommended to run tomcat as root, there are
circumstances that make it a necessity, like embedded systems. (IMHO
Linux should not enforce policy at this level)
Anyway, setting the following in /etc/default/tomcat6
TOMCAT6_USER=root
Yields this when trying to start tomcat:
#> /etc/init.d/tomcat6 start
* Starting Tomcat servlet engine tomcat6 /bin/bash already running.
If there are _any_ login sessions on the machine, IOW if there are any
bash instances, it fails to run.
So, here's a patch that fixes this while not making any changes to
policy or who can run what as who.
Here's the relevant version info:
Ubuntu 64 bit 10.04
ii libtomcat6-java 6.0.24-2ubuntu1.2 Servlet and JSP engine -- core libraries
ii tomcat-cfg 6.0.15-01 OSA tomcat config
ii tomcat6 6.0.24-2ubuntu1.2 Servlet and JSP engine
ii tomcat6-admin 6.0.24-2ubuntu1.2 Servlet and JSP engine -- admin web applications
ii tomcat6-common 6.0.24-2ubuntu1.2 Servlet and JSP engine -- common files
** Affects: tomcat6 (Ubuntu)
Importance: Undecided
Status: New
--
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.
More information about the Ubuntu-server-bugs
mailing list