Startofbiz.sh Ubuntu

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Startofbiz.sh Ubuntu

Gavin Mabie
Hi

 

I am attempting an Ununtu (10 ...) installation of Ofbiz and was able to
build with $ sudo ant run-install.  Ofbiz.jar was successfully built and
tables created in the database.  When I try $ sudo ./startofbiz.sh I get a
command not found error.  When I try plain ./startofbiz.sh (without sudo) I
get a permission error.  I can however start with java -jar ofbiz.jar -
although there are some errors that need sorting out.  What could be the
issue?

 

Gavin

Reply | Threaded
Open this post in threaded view
|

Re: Startofbiz.sh Ubuntu

Erwan de FERRIERES
Le 26/04/2011 20:18, Gavin Mabie a écrit :

> Hi
>
>
>
> I am attempting an Ununtu (10 ...) installation of Ofbiz and was able to
> build with $ sudo ant run-install.  Ofbiz.jar was successfully built and
> tables created in the database.  When I try $ sudo ./startofbiz.sh I get a
> command not found error.  When I try plain ./startofbiz.sh (without sudo) I
> get a permission error.  I can however start with java -jar ofbiz.jar -
> although there are some errors that need sorting out.  What could be the
> issue?

why using the root account ?
>
>
>
> Gavin
>
>


--
Erwan de FERRIERES
www.nereide.biz
Reply | Threaded
Open this post in threaded view
|

RE: Startofbiz.sh Ubuntu

Gavin Mabie
Not sure what you mean.  My Linux is pathetic.  I'm logging on remotely
using PuTTy using an allocated uid and pwd.

-----Original Message-----
From: Erwan de FERRIERES [mailto:[hidden email]]
Sent: 26 April 2011 08:30 PM
To: [hidden email]
Cc: Gavin Mabie
Subject: Re: Startofbiz.sh Ubuntu

Le 26/04/2011 20:18, Gavin Mabie a écrit :
> Hi
>
>
>
> I am attempting an Ununtu (10 ...) installation of Ofbiz and was able to
> build with $ sudo ant run-install.  Ofbiz.jar was successfully built and
> tables created in the database.  When I try $ sudo ./startofbiz.sh I get a
> command not found error.  When I try plain ./startofbiz.sh (without sudo)
I
> get a permission error.  I can however start with java -jar ofbiz.jar -
> although there are some errors that need sorting out.  What could be the
> issue?

why using the root account ?
>
>
>
> Gavin
>
>


--
Erwan de FERRIERES
www.nereide.biz

Reply | Threaded
Open this post in threaded view
|

Re: Startofbiz.sh Ubuntu

Erwan de FERRIERES
Le 26/04/2011 20:37, Gavin Mabie a écrit :
> Not sure what you mean.  My Linux is pathetic.  I'm logging on remotely
> using PuTTy using an allocated uid and pwd.
>
when using sudo you are working as a super user. This is not a
recommended mode for working.
you should be always using a low permissions account for running OFBiz.

You should then restart what you've already done without the sudo.

--
Erwan de FERRIERES
www.nereide.biz
Reply | Threaded
Open this post in threaded view
|

Re: Startofbiz.sh Ubuntu

Jacques Le Roux-3
In reply to this post by Gavin Mabie
I do that everyday and I don't feel pathetic ;o)
Did you try changing chmod on startofbiz.sh to have x for all (for now, you will handle security later) ?

Jacques

From: "Gavin Mabie" <[hidden email]>

> Not sure what you mean.  My Linux is pathetic.  I'm logging on remotely
> using PuTTy using an allocated uid and pwd.
>
> -----Original Message-----
> From: Erwan de FERRIERES [mailto:[hidden email]]
> Sent: 26 April 2011 08:30 PM
> To: [hidden email]
> Cc: Gavin Mabie
> Subject: Re: Startofbiz.sh Ubuntu
>
> Le 26/04/2011 20:18, Gavin Mabie a écrit :
>> Hi
>>
>>
>>
>> I am attempting an Ununtu (10 ...) installation of Ofbiz and was able to
>> build with $ sudo ant run-install.  Ofbiz.jar was successfully built and
>> tables created in the database.  When I try $ sudo ./startofbiz.sh I get a
>> command not found error.  When I try plain ./startofbiz.sh (without sudo)
> I
>> get a permission error.  I can however start with java -jar ofbiz.jar -
>> although there are some errors that need sorting out.  What could be the
>> issue?
>
> why using the root account ?
>>
>>
>>
>> Gavin
>>
>>
>
>
> --
> Erwan de FERRIERES
> www.nereide.biz
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Startofbiz.sh Ubuntu

prasath
In reply to this post by Gavin Mabie
Hi,
If possible become root first and use ./startofbiz.sh
 (or)

try

sh ./startofbiz.sh



On Tue, Apr 26, 2011 at 11:48 PM, Gavin Mabie <[hidden email]>wrote:

> Hi
>
> prasanth rajan.
India -9442369696

>
>
> I am attempting an Ununtu (10 ...) installation of Ofbiz and was able to
> build with $ sudo ant run-install.  Ofbiz.jar was successfully built and
> tables created in the database.  When I try $ sudo ./startofbiz.sh I get a
> command not found error.  When I try plain ./startofbiz.sh (without sudo) I
> get a permission error.  I can however start with java -jar ofbiz.jar -
> although there are some errors that need sorting out.  What could be the
> issue?
>
>
>
> Gavin
>
>
prasath rajan 9442369696
Reply | Threaded
Open this post in threaded view
|

RE: Startofbiz.sh Ubuntu

Gavin Mabie
In reply to this post by Jacques Le Roux-3
Thanks Jacques

That's done it - I'll check out the security later.

Gavin

-----Original Message-----
From: Jacques Le Roux [mailto:[hidden email]]
Sent: 26 April 2011 09:07 PM
To: [hidden email]
Subject: Re: Startofbiz.sh Ubuntu

I do that everyday and I don't feel pathetic ;o)
Did you try changing chmod on startofbiz.sh to have x for all (for now, you
will handle security later) ?

Jacques

From: "Gavin Mabie" <[hidden email]>

> Not sure what you mean.  My Linux is pathetic.  I'm logging on remotely
> using PuTTy using an allocated uid and pwd.
>
> -----Original Message-----
> From: Erwan de FERRIERES [mailto:[hidden email]]
> Sent: 26 April 2011 08:30 PM
> To: [hidden email]
> Cc: Gavin Mabie
> Subject: Re: Startofbiz.sh Ubuntu
>
> Le 26/04/2011 20:18, Gavin Mabie a écrit :
>> Hi
>>
>>
>>
>> I am attempting an Ununtu (10 ...) installation of Ofbiz and was able to
>> build with $ sudo ant run-install.  Ofbiz.jar was successfully built and
>> tables created in the database.  When I try $ sudo ./startofbiz.sh I get
a

>> command not found error.  When I try plain ./startofbiz.sh (without sudo)
> I
>> get a permission error.  I can however start with java -jar ofbiz.jar -
>> although there are some errors that need sorting out.  What could be the
>> issue?
>
> why using the root account ?
>>
>>
>>
>> Gavin
>>
>>
>
>
> --
> Erwan de FERRIERES
> www.nereide.biz
>
>