tomcat6 initscript "status" action always return 0
Bug #288218 reported by
Thierry Carrez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat6 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: tomcat6
The tomcat6 initscript "status" action always return 0 (even if tomcat 6 is not started).
That results in unwanted behavior, especially in all the tomcat6 webapps postinsts that test if tomcat6 is started (and may fail trying to restart it).
To post a comment you must log in.
That leads to uninstallable packages:
$ sudo apt-get install tomcat6 tomcat6-examples tomcat6-admin tomcat6-user jre-headless (1.6-30ubuntu3) ...
[...]
Setting up default-
Setting up rhino (1.7R1-1ubuntu3) ...
Setting up libaccess- bridge- java (1.24.0-0ubuntu2) ... daemon- java (1.0.2~ svn20061127- 9ubuntu2) ...
Setting up openjdk-6-jre-lib (6b12-0ubuntu4) ...
Setting up libcommons-
Setting up jsvc (1.0.2~ svn20061127- 9ubuntu2) ... collections- java (2.1.1-8ubuntu1) ...
Setting up libcommons-
Setting up libcommons- pool-java (1.3-1ubuntu2) ...
Setting up libcommons- dbcp-java (1.2.2-1ubuntu1) ... tomcat6' .
Setting up libservlet2.5-java (6.0.18-0ubuntu3) ...
Setting up libtomcat6-java (6.0.18-0ubuntu3) ...
Setting up tomcat6-common (6.0.18-0ubuntu3) ...
Setting up tomcat6 (6.0.18-0ubuntu3) ...
Adding system user `tomcat6' (UID 107) ...
Adding new group `tomcat6' (GID 118) ...
Adding new user `tomcat6' (UID 107) with group `tomcat6' ...
Not creating home directory `/usr/share/
* Starting Tomcat servlet engine tomcat6
...fail!
invoke-rc.d: initscript tomcat6, action "start" failed.
Setting up tomcat6-admin (6.0.18-0ubuntu3) ... 6-jre-headless (6b12-0ubuntu4) ...
* Starting Tomcat servlet engine tomcat6
...fail!
invoke-rc.d: initscript tomcat6, action "force-reload" failed.
dpkg: error processing tomcat6-admin (--configure):
subprocess post-installation script returned error exit status 1
Setting up tomcat6-examples (6.0.18-0ubuntu3) ...
* Starting Tomcat servlet engine tomcat6
...fail!
invoke-rc.d: initscript tomcat6, action "force-reload" failed.
dpkg: error processing tomcat6-examples (--configure):
subprocess post-installation script returned error exit status 1
Setting up tomcat6-user (6.0.18-0ubuntu3) ...
Setting up openjdk-
[...]