Bug #38704
tomcat autostart script not LSB (Linux Standards Base)-compliant
| Status: | Closed | Start date: | 2012-07-06 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Ingo Renner | % Done: | 100% |
|
| Category: | - | |||
| Target version: | 2.2 | Estimated time: | 0.50 hour | |
| TYPO3 Version: | Has patch: | |||
| PHP Version: | Tags: | |||
| Votes: | 0 |
Description
I tried to use the script for autostart under Debian as described in the wiki at page http://forge.typo3.org/projects/extension-solr/wiki/Setup_on_*NIX under 'Autostart Tomcat with Debian'
Calling
root@host:/etc/init.d# update-rc.d tomcat6 defaults
I get the following message:
insserv: warning: script 'tomcat6' missing LSB tags and overrides insserv: There is a loop between service munin-node and tomcat6 if stopped insserv: loop involving service tomcat6 at depth 2 insserv: loop involving service munin-node at depth 1 insserv: Stopping tomcat6 depends on munin-node and therefore on system facility `$all' which can not be true! insserv: exiting now without changing boot order! update-rc.d: error: insserv rejected the script header
current script header reads:
#!/bin/bash # chkconfig: 234 20 80 # description: Tomcat Server basic start/shutdown script # processname: tomcat
which is not LSB compliant
After changing it to:
#!/bin/bash ### BEGIN INIT INFO # Provides: tomcat6 # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Tomcat Server # Description: Tomcat Server basic start/shutdown script # processname: tomcat ### END INIT INFO
(following the example in /etc/init.d/seleton)
everything works fine.
BTW: the path mentioned in the wiki seem to be a bit misleading:
../solr/resources/tomcat/tomcat6
shouldn't it be
typo3conf/ext/solr/resources/tomcat/
Associated revisions
[BUGFIX] Tomcat autostart script not LSB-compliant
Fixes: #38704
History
Updated by Ingo Renner 11 months ago
- Status changed from New to Resolved
- Assignee set to Ingo Renner
- Target version set to 2.2
- % Done changed from 0 to 100
thanks!
Fixed in dkd-EAP r 99053
Updated by Ingo Renner 10 months ago
- Status changed from Resolved to Closed