[OFBiz] Dev - Hot to start&stop OFBIZ as service in LINUX (Redhat 8.0 & Suse 9.0)

Arukala arukala at gmx.de
Mon Aug 16 02:23:49 EDT 2004


Hallo Developers,

Thank you for your replies to my post. Sorry for late reply. I am on
vacation and returned. I will get back to this thread once I tested in my
PC. 

Sincerely
Arukala

-----Original Message-----
From: mpf at zentric.com [mailto:mpf at zentric.com] 
Sent: Montag, 9. August 2004 18:30
To: dev at ofbiz.dev.java.net
Subject: Re: [OFBiz] Dev - Hot to start&stop OFBIZ as service in LINUX
(Redhat 8.0 & Suse 9.0)

Usually u put a symbolic link into the runlevel 3 for starting and stoping 
ofbiz, the same for postgres!
-s for softlink 
ln -s /etc/init.d/postgres /etc/init.d/rc.3/Sxx_postgres starting
ln -s /etc/init.d/postgres /etc/init.d/rc.3/Kxx_postgres  stopping

ln -s /etc/init.d/ofbiz /etc/init.d/rc.3/Sxx_ofbiz starting
ln -s /etc/init.d/ofbiz /etc/init.d/rc.3/Kxx_ofbiz  stopping


so before you create the softlink make sure that "xx" is the order seq in 
which your services are started and stopped
ofbiz=S90
postgres S10

Stopping starts from highest to lowest??? Im not sure on that!
ofbiz=K90
postgres K10

Si Chen <schen at graciousstyle.com> wrote on 09.08.2004 18:24:06:

> Hello.  How do you make sure that the database is started before the
> ofbiz service?  Is there a way to make sure of that with chkconfig, or
> does that have to be done in the ofbiz start up script?

> Si

> michael.brohl at agrenon.com wrote:

> >
> >
> >Hi Arukala,
> >
> >just copy the file rc.ofbiz to /etc/init.d and add symlinks to your
> >runlevel directories to start/stop ofbiz automatically.
> >I would rename the file to ofbiz though... And don't forget to start 
your
> >database on system up BEFORE ofbiz!
> >
> >The given paths are valid for Debian Linux but should be similar to 
other
> >distributions.
> >
> >Hope that helps.
> >
> >Mit freundlichem Gruß / Regards
> >
> >Michael Brohl
> >
> >Agrenon GmbH a member of Lynx Consulting Group,
> >Johanniskirchplatz 6, D-33615 Bielefeld, Germany
> >Tel. +49 (521) 5247-408, Fax.+49 (521) 5247-280
> >E-Mail: michael.brohl at agrenon.com
> >
> >
> >
> >|---------+---------------------------->
> >|         |           "Ravichandar     |
> >|         |           Arukala"         |
> >|         |           <arukala at gmx.de> |
> >|         |                            |
> >|         |           08.08.2004 19:25 |
> >|         |           Please respond to|
> >|         |           dev              |
> >|---------+---------------------------->
> > 
> 
>---------------------------------------------------------------------------
-----------------------------------
> |
> >  |    |
> >  |       To:       dev at ofbiz.dev.java.net    |
> >  |       cc:    |
> >  |       Subject:  [OFBiz] Dev - Hot to start&stop OFBIZ as 
> service in LINUX (Redhat 8.0 & Suse 9.0)            |
> > 
> 
>---------------------------------------------------------------------------
-----------------------------------
> |
> >
> >
> >
> >
> >Hallo Developers,
> >
> >Can you please give me some hints on how to start as service in Redhat 
8.0
> >as well as SuSe 9.0. We have two servers (redhat&SuSE) currently 
running
> >our shops in terminals. and I would like to run our shops as service 
and
> >system boot. I see the code of rc.ofbiz  but i dont know how to use 
that
> >file. i couldn"t find any docs in wiki.
> >
> >Thanks in Advance.
> >
> >Regards
> >arukala
> >
> >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: dev-unsubscribe at ofbiz.dev.java.net
> >For additional commands, e-mail: dev-help at ofbiz.dev.java.net
> >
> >
> >

> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe at ofbiz.dev.java.net
> For additional commands, e-mail: dev-help at ofbiz.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at ofbiz.dev.java.net
For additional commands, e-mail: dev-help at ofbiz.dev.java.net





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at ofbiz.dev.java.net
For additional commands, e-mail: dev-help at ofbiz.dev.java.net






More information about the Dev mailing list