does ofbiz user has permision to run $0 ?? I think he hasn't. so chown -R ofbiz.users <your ofbiz directory> and try again
Krzysztof Podejma 2007/6/28, BJ Freeman <[EMAIL PROTECTED]>:
# If root is running this script, su to $OFBIZ_USER first if [ "$UID" = "0" ]; then exec su - $OFBIZ_USER -c "$0 $1" fi I am using a command line thru web admin /etc/rc.d/init.d/ofbiz restart as root. getting permission denied. on the -c "$0 $1" any linux gurus know what might cause this.