Leo Breuss created AS7-4015:
-------------------------------
Summary: init.d script, jboss-as/bin/init.d/jboss-as-standalone.sh tests for
*executable* /etc/rc.d/init.d/functions
Key: AS7-4015
URL:
https://issues.jboss.org/browse/AS7-4015
Project: Application Server 7
Issue Type: Bug
Components: Documentation, Scripts
Affects Versions: 7.1.0.Final
Environment: CentOS 6.2 (netinstall, all default)
Reporter: Leo Breuss
Assignee: Brian Stansberry
Fix For: 7.1.1.Final
On CentOS 6 (and maybe other Distros too), the /etc/rc.d/init.d/functions has no
executable flag set. The jboss init.d script itself sources it with ".
/etc/rc.d/init.d/functions"
ll /etc/rc.d/init.d/functions
-rw-r--r--. 1 root root 18171 Oct 7 16:01 /etc/rc.d/init.d/functions
On line 89, the supplied init script jboss-as-standalone.sh does a check if
/etc/rc.d/init.d/functions is executable.
So you might want to fix the jboss init.d script the following way:
# diff /opt/jboss-as/bin/init.d/jboss-as-standalone.sh /etc/init.d/jboss
89c89
< if [ -x /etc/rc.d/init.d/functions ]; then
---
if [ -r /etc/rc.d/init.d/functions ]; then
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira