Well, following stripped down instructions provided by Jason Gilmore on
searchenterpriselinux.techtarget.com a little over a year ago, I downloaded OFBiz (from trunk using svn) and installed it on two virtual machines running Suse Linux (v 12.1): one using KDE and one using Gnome, if that matters. The build process went smoothly, and took over half an hour on Suse+KDE, but only 17 minutes on Suse+Gnome (I can't explain why and both VMs are running on the same machine). But on each, I started it, after the build, using "./startofbiz.sh', and the program seems to never end (at least it never terminates and gets me back to the command prompt). Is it supposed to do that (i.e. go into a do-forever loop), or did something go awry without generating any error messages. I would have thought that it would have started OFBiz much like the sh scripts for Apache's httpd server just start the server and terminate; but that's not what happened. This holds for both virtual machines. If I open a browser and go to 'http://localhost:8080/ecommerce/control/main', I do get the demo store, and that seems to work OK, although I have barely begun to explore it. Thanks Ted |
It sounds to me like you have everything working properly.
-Adrian On 7/29/2012 4:41 PM, Ted Byers wrote: > Well, following stripped down instructions provided by Jason Gilmore on > searchenterpriselinux.techtarget.com a little over a year ago, I downloaded > OFBiz (from trunk using svn) and installed it on two virtual machines > running Suse Linux (v 12.1): one using KDE and one using Gnome, if that > matters. > > The build process went smoothly, and took over half an hour on Suse+KDE, but > only 17 minutes on Suse+Gnome (I can't explain why and both VMs are running > on the same machine). > > But on each, I started it, after the build, using "./startofbiz.sh', and the > program seems to never end (at least it never terminates and gets me back to > the command prompt). Is it supposed to do that (i.e. go into a do-forever > loop), or did something go awry without generating any error messages. I > would have thought that it would have started OFBiz much like the sh scripts > for Apache's httpd server just start the server and terminate; but that's > not what happened. This holds for both virtual machines. > > If I open a browser and go to > 'http://localhost:8080/ecommerce/control/main', I do get the demo store, and > that seems to work OK, although I have barely begun to explore it. > > Thanks > > Ted > |
> -----Original Message----- > From: Adrian Crum [mailto:[hidden email]] > Sent: July-29-12 9:06 PM > To: [hidden email] > Subject: Re: Still getting started but question about 'startofbiz.sh' > > It sounds to me like you have everything working properly. > > -Adrian > Thanks Adrian. So this 'startofbiz.sh' is supposed to run forever? Is there a way to start ofbiz like a server, instead of creating a bash shell session and leaving that terminal open all the time ofbiz is to run? Thanks Ted |
Hi,
Just do : sh startofbiz.sh & Then you can exit the terminal. To stop, use the stopofbiz.sh script. Gil Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit : > > -----Original Message----- > > From: Adrian Crum [mailto:[hidden email]] > > Sent: July-29-12 9:06 PM > > To: [hidden email] > > Subject: Re: Still getting started but question about 'startofbiz.sh' > > > > It sounds to me like you have everything working properly. > > > > -Adrian > > > > Thanks Adrian. > > So this 'startofbiz.sh' is supposed to run forever? Is there a way to start > ofbiz like a server, instead of creating a bash shell session and leaving > that terminal open all the time ofbiz is to run? > > Thanks > > Ted > -- Gil Portenseigne <[hidden email]> |
> -----Original Message-----
Thanks Gil
> From: Gil Portenseigne [mailto:[hidden email]] > Sent: July-30-12 8:28 AM > To: [hidden email] > Subject: RE: Still getting started but question about 'startofbiz.sh' > > Hi, > > Just do : > > sh startofbiz.sh & > > Then you can exit the terminal. > > To stop, use the stopofbiz.sh script. > Cheers Ted |
Administrator
|
In reply to this post by Gil Portenseigne
rather
./sh startofbiz.sh & though You may also have a look at rc.ofbiz* files (in tools folder for trunk and R12.04, else in root folder) Jacques From: "Gil Portenseigne" <[hidden email]> > Hi, > > Just do : > > sh startofbiz.sh & > > Then you can exit the terminal. > > To stop, use the stopofbiz.sh script. > > Gil > > > Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit : > >> > -----Original Message----- >> > From: Adrian Crum [mailto:[hidden email]] >> > Sent: July-29-12 9:06 PM >> > To: [hidden email] >> > Subject: Re: Still getting started but question about 'startofbiz.sh' >> > >> > It sounds to me like you have everything working properly. >> > >> > -Adrian >> > >> >> Thanks Adrian. >> >> So this 'startofbiz.sh' is supposed to run forever? Is there a way to start >> ofbiz like a server, instead of creating a bash shell session and leaving >> that terminal open all the time ofbiz is to run? >> >> Thanks >> >> Ted >> > > > -- > Gil Portenseigne <[hidden email]> > |
> -----Original Message-----
Thanks Jacques
> From: Jacques Le Roux [mailto:[hidden email]] > Sent: July-30-12 9:18 AM > To: [hidden email] > Subject: Re: Still getting started but question about 'startofbiz.sh' > > rather > ./sh startofbiz.sh & > though > > You may also have a look at rc.ofbiz* files (in tools folder for trunk and R12.04, > else in root folder) > > Jacques > I will. Cheers Ted |
In reply to this post by Jacques Le Roux
Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit :
> rather > ./sh startofbiz.sh & > though Did you mean ./startofbiz.sh ? I do not understand the ./sh thing... :-) gil > > You may also have a look at rc.ofbiz* files (in tools folder for trunk and R12.04, else in root folder) > > Jacques > > From: "Gil Portenseigne" <[hidden email]> > > Hi, > > > > Just do : > > > > sh startofbiz.sh & > > > > Then you can exit the terminal. > > > > To stop, use the stopofbiz.sh script. > > > > Gil > > > > > > Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit : > > > >> > -----Original Message----- > >> > From: Adrian Crum [mailto:[hidden email]] > >> > Sent: July-29-12 9:06 PM > >> > To: [hidden email] > >> > Subject: Re: Still getting started but question about 'startofbiz.sh' > >> > > >> > It sounds to me like you have everything working properly. > >> > > >> > -Adrian > >> > > >> > >> Thanks Adrian. > >> > >> So this 'startofbiz.sh' is supposed to run forever? Is there a way to start > >> ofbiz like a server, instead of creating a bash shell session and leaving > >> that terminal open all the time ofbiz is to run? > >> > >> Thanks > >> > >> Ted > >> > > > > > > -- > > Gil Portenseigne <[hidden email]> > > -- Gil Portenseigne <[hidden email]> |
Administrator
|
From: "Gil Portenseigne" <[hidden email]>
> Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit : > >> rather >> ./sh startofbiz.sh & >> though > > Did you mean ./startofbiz.sh ? I do not understand the ./sh > thing... :-) Right Gil, I meant of course: sh ./startofbiz.sh & Sorry for the typo ;o) But anyway using rc.ofbiz* files in this case seems a better way to me (if you want automatic restart, which is a moot point) Jacques > gil > > >> >> You may also have a look at rc.ofbiz* files (in tools folder for trunk and R12.04, else in root folder) >> >> Jacques >> >> From: "Gil Portenseigne" <[hidden email]> >> > Hi, >> > >> > Just do : >> > >> > sh startofbiz.sh & >> > >> > Then you can exit the terminal. >> > >> > To stop, use the stopofbiz.sh script. >> > >> > Gil >> > >> > >> > Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit : >> > >> >> > -----Original Message----- >> >> > From: Adrian Crum [mailto:[hidden email]] >> >> > Sent: July-29-12 9:06 PM >> >> > To: [hidden email] >> >> > Subject: Re: Still getting started but question about 'startofbiz.sh' >> >> > >> >> > It sounds to me like you have everything working properly. >> >> > >> >> > -Adrian >> >> > >> >> >> >> Thanks Adrian. >> >> >> >> So this 'startofbiz.sh' is supposed to run forever? Is there a way to start >> >> ofbiz like a server, instead of creating a bash shell session and leaving >> >> that terminal open all the time ofbiz is to run? >> >> >> >> Thanks >> >> >> >> Ted >> >> >> > >> > >> > -- >> > Gil Portenseigne <[hidden email]> >> > > > > -- > Gil Portenseigne <[hidden email]> > |
In reply to this post by Gil Portenseigne
Gil,
go get some Linux basics for Server operations. ./sh will invoke a separate shell (runtime environment) for your ofbiz instance & will send it to background processing Make sure, you have your logfiles under control before you start hiding things from a console. Basically you should keep + a running logfile that rolls over every day (or every x MBs), keep a series of them --> see the log4.xml configuration for this one + a "session" logfile, typically this is available at {OFBIZ_HOME}/runtim/logs/console.log In order to read and follow these while your ofbiz instance runs, you will need to familiarize with one of vi, cat, tail. @Jacques: Looks like these are some "Run OFBiz in *ix environments Faq" do we not have a basic cheat sheet in the wiki? Regards Carsten 2012/7/30 Gil Portenseigne <[hidden email]> > Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit : > > > rather > > ./sh startofbiz.sh & > > though > > Did you mean ./startofbiz.sh ? I do not understand the ./sh > thing... :-) > > gil > > > > > > You may also have a look at rc.ofbiz* files (in tools folder for trunk > and R12.04, else in root folder) > > > > Jacques > > > > From: "Gil Portenseigne" <[hidden email]> > > > Hi, > > > > > > Just do : > > > > > > sh startofbiz.sh & > > > > > > Then you can exit the terminal. > > > > > > To stop, use the stopofbiz.sh script. > > > > > > Gil > > > > > > > > > Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit : > > > > > >> > -----Original Message----- > > >> > From: Adrian Crum [mailto:[hidden email]] > > >> > Sent: July-29-12 9:06 PM > > >> > To: [hidden email] > > >> > Subject: Re: Still getting started but question about > 'startofbiz.sh' > > >> > > > >> > It sounds to me like you have everything working properly. > > >> > > > >> > -Adrian > > >> > > > >> > > >> Thanks Adrian. > > >> > > >> So this 'startofbiz.sh' is supposed to run forever? Is there a way > to start > > >> ofbiz like a server, instead of creating a bash shell session and > leaving > > >> that terminal open all the time ofbiz is to run? > > >> > > >> Thanks > > >> > > >> Ted > > >> > > > > > > > > > -- > > > Gil Portenseigne <[hidden email]> > > > > > > -- > Gil Portenseigne <[hidden email]> > |
In reply to this post by Jacques Le Roux
Le lundi 30 juillet 2012 à 16:41 +0200, Jacques Le Roux a écrit :
> > But anyway using rc.ofbiz* files in this case seems a better way to me > (if you want automatic restart, which is a moot point) > > Jacques Yeah totally agree with that ! gil -- Gil Portenseigne <[hidden email]> |
In reply to this post by c.schinzer-2
Hi
Le lundi 30 juillet 2012 à 16:46 +0200, Carsten Schinzer a écrit : > Gil, > > go get some Linux basics for Server operations. > > ./sh will invoke a separate shell (runtime environment) for your ofbiz > instance I do not agree with that, it will try to launch a script called "sh" in current directory... > & will send it to background processing agree, that was my advice ;) > > Make sure, you have your logfiles under control before you start hiding > things from a console. +1, for that uncomment/comment the last lines of startofbiz.sh (or bat under windows) scripts... > Basically you should keep > + a running logfile that rolls over every day (or every x MBs), keep a > series of them --> see the log4.xml configuration for this one > + a "session" logfile, typically this is available at > {OFBIZ_HOME}/runtim/logs/console.log > > In order to read and follow these while your ofbiz instance runs, you will > need to familiarize with one of vi, cat, tail. > I'm fully familiarized with all of these tools ;) ! Regards Gil > @Jacques: Looks like these are some "Run OFBiz in *ix environments Faq" do > we not have a basic cheat sheet in the wiki? > > Regards > > > Carsten > > > 2012/7/30 Gil Portenseigne <[hidden email]> > > > Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit : > > > > > rather > > > ./sh startofbiz.sh & > > > though > > > > Did you mean ./startofbiz.sh ? I do not understand the ./sh > > thing... :-) > > > > gil > > > > > > > > > > You may also have a look at rc.ofbiz* files (in tools folder for trunk > > and R12.04, else in root folder) > > > > > > Jacques > > > > > > From: "Gil Portenseigne" <[hidden email]> > > > > Hi, > > > > > > > > Just do : > > > > > > > > sh startofbiz.sh & > > > > > > > > Then you can exit the terminal. > > > > > > > > To stop, use the stopofbiz.sh script. > > > > > > > > Gil > > > > > > > > > > > > Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit : > > > > > > > >> > -----Original Message----- > > > >> > From: Adrian Crum [mailto:[hidden email]] > > > >> > Sent: July-29-12 9:06 PM > > > >> > To: [hidden email] > > > >> > Subject: Re: Still getting started but question about > > 'startofbiz.sh' > > > >> > > > > >> > It sounds to me like you have everything working properly. > > > >> > > > > >> > -Adrian > > > >> > > > > >> > > > >> Thanks Adrian. > > > >> > > > >> So this 'startofbiz.sh' is supposed to run forever? Is there a way > > to start > > > >> ofbiz like a server, instead of creating a bash shell session and > > leaving > > > >> that terminal open all the time ofbiz is to run? > > > >> > > > >> Thanks > > > >> > > > >> Ted > > > >> > > > > > > > > > > > > -- > > > > Gil Portenseigne <[hidden email]> > > > > > > > > > > -- > > Gil Portenseigne <[hidden email]> > > -- Gil Portenseigne <[hidden email]> |
Administrator
|
In reply to this post by c.schinzer-2
Carsten Schinzer wrote:
> Gil, > > go get some Linux basics for Server operations. > > ./sh will invoke a separate shell (runtime environment) for your ofbiz > instance > & will send it to background processing > > Make sure, you have your logfiles under control before you start hiding > things from a console. > Basically you should keep > + a running logfile that rolls over every day (or every x MBs), keep a > series of them --> see the log4.xml configuration for this one > + a "session" logfile, typically this is available at > {OFBIZ_HOME}/runtim/logs/console.log > > In order to read and follow these while your ofbiz instance runs, you will > need to familiarize with one of vi, cat, tail. > > @Jacques: Looks like these are some "Run OFBiz in *ix environments Faq" do > we not have a basic cheat sheet in the wiki? I guess you think about https://cwiki.apache.org/confluence/display/OFBIZ/How+to+run+OFBiz+as+a+Service Jacques > Regards > > > Carsten > > > 2012/7/30 Gil Portenseigne <[hidden email]> > >> Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit : >> >>> rather >>> ./sh startofbiz.sh & >>> though >> >> Did you mean ./startofbiz.sh ? I do not understand the ./sh >> thing... :-) >> >> gil >> >> >>> >>> You may also have a look at rc.ofbiz* files (in tools folder for trunk >> and R12.04, else in root folder) >>> >>> Jacques >>> >>> From: "Gil Portenseigne" <[hidden email]> >>>> Hi, >>>> >>>> Just do : >>>> >>>> sh startofbiz.sh & >>>> >>>> Then you can exit the terminal. >>>> >>>> To stop, use the stopofbiz.sh script. >>>> >>>> Gil >>>> >>>> >>>> Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit : >>>> >>>>>> -----Original Message----- >>>>>> From: Adrian Crum [mailto:[hidden email]] >>>>>> Sent: July-29-12 9:06 PM >>>>>> To: [hidden email] >>>>>> Subject: Re: Still getting started but question about 'startofbiz.sh' >>>>>> >>>>>> It sounds to me like you have everything working properly. >>>>>> >>>>>> -Adrian >>>>>> >>>>> >>>>> Thanks Adrian. >>>>> >>>>> So this 'startofbiz.sh' is supposed to run forever? Is there a way to start >>>>> ofbiz like a server, instead of creating a bash shell session and leaving >>>>> that terminal open all the time ofbiz is to run? >>>>> >>>>> Thanks >>>>> >>>>> Ted >>>>> >>>> >>>> >>>> -- >>>> Gil Portenseigne <[hidden email]> >>>> >> >> >> -- >> Gil Portenseigne <[hidden email]> |
In reply to this post by Gil Portenseigne
Apologies for this one.
You are of course right with ./sh And my mail was damn arrogant. Blame on me. I will check the link Jacques sent over. 2012/7/30 Gil Portenseigne <[hidden email]> > Hi > > Le lundi 30 juillet 2012 à 16:46 +0200, Carsten Schinzer a écrit : > > > Gil, > > > > go get some Linux basics for Server operations. > > > > ./sh will invoke a separate shell (runtime environment) for your ofbiz > > instance > > I do not agree with that, it will try to launch a script called "sh" in > current directory... > > > & will send it to background processing > > agree, that was my advice ;) > > > > > Make sure, you have your logfiles under control before you start hiding > > things from a console. > > +1, for that uncomment/comment the last lines of startofbiz.sh (or bat > under windows) scripts... > > > Basically you should keep > > + a running logfile that rolls over every day (or every x MBs), keep a > > series of them --> see the log4.xml configuration for this one > > + a "session" logfile, typically this is available at > > {OFBIZ_HOME}/runtim/logs/console.log > > > > In order to read and follow these while your ofbiz instance runs, you > will > > need to familiarize with one of vi, cat, tail. > > > > I'm fully familiarized with all of these tools ;) ! > > Regards > > Gil > > > > @Jacques: Looks like these are some "Run OFBiz in *ix environments Faq" > do > > we not have a basic cheat sheet in the wiki? > > > > Regards > > > > > > Carsten > > > > > > 2012/7/30 Gil Portenseigne <[hidden email]> > > > > > Le lundi 30 juillet 2012 à 15:18 +0200, Jacques Le Roux a écrit : > > > > > > > rather > > > > ./sh startofbiz.sh & > > > > though > > > > > > Did you mean ./startofbiz.sh ? I do not understand the ./sh > > > thing... :-) > > > > > > gil > > > > > > > > > > > > > > You may also have a look at rc.ofbiz* files (in tools folder for > trunk > > > and R12.04, else in root folder) > > > > > > > > Jacques > > > > > > > > From: "Gil Portenseigne" <[hidden email]> > > > > > Hi, > > > > > > > > > > Just do : > > > > > > > > > > sh startofbiz.sh & > > > > > > > > > > Then you can exit the terminal. > > > > > > > > > > To stop, use the stopofbiz.sh script. > > > > > > > > > > Gil > > > > > > > > > > > > > > > Le lundi 30 juillet 2012 à 08:15 -0400, Ted Byers a écrit : > > > > > > > > > >> > -----Original Message----- > > > > >> > From: Adrian Crum [mailto:[hidden email]] > > > > >> > Sent: July-29-12 9:06 PM > > > > >> > To: [hidden email] > > > > >> > Subject: Re: Still getting started but question about > > > 'startofbiz.sh' > > > > >> > > > > > >> > It sounds to me like you have everything working properly. > > > > >> > > > > > >> > -Adrian > > > > >> > > > > > >> > > > > >> Thanks Adrian. > > > > >> > > > > >> So this 'startofbiz.sh' is supposed to run forever? Is there a > way > > > to start > > > > >> ofbiz like a server, instead of creating a bash shell session and > > > leaving > > > > >> that terminal open all the time ofbiz is to run? > > > > >> > > > > >> Thanks > > > > >> > > > > >> Ted > > > > >> > > > > > > > > > > > > > > > -- > > > > > Gil Portenseigne <[hidden email]> > > > > > > > > > > > > > > -- > > > Gil Portenseigne <[hidden email]> > > > > > > -- > Gil Portenseigne <[hidden email]> > |
Free forum by Nabble | Edit this page |