i just unloaded DM 5.3 on a fedora 11 system and ran
"bin/jbossctl start", at which point i was told in log/jboss.log:

++ /home/rpjday/nuxeo/dl/nuxeo-distribution-jboss-5.3.0/bin/run.sh -c default
jbossctl: line 136:
/home/rpjday/nuxeo/dl/nuxeo-distribution-jboss-5.3.0/bin/run.sh:
Permission denied

  i thought this was odd until i looked at that line:

    eval "$CMD_START" >>${LOG} 2>&1 &         [line 136]

  since that attempts to invoke the "run.sh" script without using "sh"
explicitly, the run.sh script would normally have to be executable.
but a quick perusal of the shell scripts in bin/ shows that none of
them are set executable, so it's not surprising that permission was
denied.

  as a quick fix, i changed that line in jbossctl to read:

    eval sh "$CMD_START" >>${LOG} 2>&1 &

and that seems to have solved the problem.  but shouldn't those
scripts normally be set executable?

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to