[jboss-jira] [JBoss JIRA] (WFLY-1928) jboss-as-standalone.sh does not work on MacOS
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Fri Aug 23 08:09:26 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798835#comment-12798835 ]
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 at 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 at 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 at 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
More information about the jboss-jira
mailing list