[
https://issues.jboss.org/browse/WFLY-1928?page=com.atlassian.jira.plugin....
]
Thomas Diesler edited comment on WFLY-1928 at 8/23/13 8:07 AM:
---------------------------------------------------------------
After allowing +w for all on /var/log and /var/run, I get
{code}
[tdiesler@ip-10-28-130-52 wildfly-8.0.0.Alpha4]$ bin/init.d/jboss-as-standalone.sh start
Starting WildFly: chown: missing operand after `/var/run/jboss-as'
Try `chown --help' for more information.
[ OK ]
{code}
The cmd completes with [OK], but there is no WF instance running.
The reason seems to be that JBOSS_USER is not set. The script expects
/etc/jboss-as/jboss-as.conf - when standing up an instance on a cloud provider box there
might not be a chance to write to those locations.
There should be a fallback for log, pid locations that can always be written to (i.e.
somewhere below wfhome).
The fallback for the JBOSS_USER could be the user executing the script.
was (Author: thomas.diesler):
After allowing +w for all on /var/log and /var/run, I get
{code}
[tdiesler@ip-10-28-130-52 wildfly-8.0.0.Alpha4]$ bin/init.d/jboss-as-standalone.sh start
Starting WildFly: chown: missing operand after `/var/run/jboss-as'
Try `chown --help' for more information.
[ OK ]
{code}
The cmd completes with [OK], but there is no WF instance running
jboss-as-standalone.sh does not work on MacOS
---------------------------------------------
Key: WFLY-1928
URL:
https://issues.jboss.org/browse/WFLY-1928
Project: WildFly
Issue Type: Bug
Components: Scripts
Affects Versions: 8.0.0.Alpha4
Reporter: Thomas Diesler
Assignee: Romain PELISSE
Fix For: 8.0.0.Beta1
{code}
FuseFabric:karaf@root> process-start root 3
bin/init.d/jboss-as-standalone.sh: line 12: /etc/init.d/functions: No such file or
directory
Error executing command: [bin/init.d/jboss-as-standalone.sh, start] exited with 1
bin/init.d/jboss-as-standalone.sh: line 12: /etc/init.d/functions: No such file or
directory
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira