sorry I use openSUSE 10.2 and know nothing about specifics of Fedora
AFAIK not all users can use /etc/init.d/* scripts try to run it from root
and check process if it is ofbiz not root

2007/6/28, BJ Freeman <[EMAIL PROTECTED]>:

been following these instructions
http://docs.ofbiz.org/display/OFBIZ/How+to+run+OFBiz+as+a+Service

Krzysztof Podejma sent the following on 6/28/2007 12:55 PM:
> so works or not? maybe you don't have permission to start init.d script
> with
> your user?
>
> 2007/6/28, BJ Freeman <[EMAIL PROTECTED]>:
>>
>> have RWE for ofbiz user for /etc/rc.d/init.d/ofbiz
>>
>> Raj Saini sent the following on 6/28/2007 9:50 AM:
>> > Check if $0 binary/script has executable  permission set. You can set
>> > the exe permission with chmod +x <filename>
>> >
>> > thanks,
>> >
>> > Raj
>> > BJ Freeman wrote:
>> >> # 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.
>> >>
>> >>
>> >
>> >
>> >
>> >
>>
>

Reply via email to