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

Si Chen schen at graciousstyle.com
Tue Aug 17 17:18:48 EDT 2004


Arukala,

I added rc.ofbiz into /etc/init.d as ofbiz and then did a
$ chkconfig --add ofbiz
$ chkconfig --level 35 ofbiz on
This was from RHEL 3.0, and chkconfig will add it to the different linux 
run levels.  Then it was already in my /etc/init.d/rc.3/ and 
/etc/init.d/rc.5/ directories. 

Have you tried using chkconfig instead of manually creating the links?

Si

Arukala wrote:

>Hallo everyone, 
>
>I am back here. First of all I am thankful to everyone who gave replies to
>this post. 
>
>I copied "rc.ofbiz" to /etc/init.d/rc.ofbiz and file renamed as "ofbiz" 
>
>And I tried according to Michael suggestion. But I am failed after several
>attempts. 
>>>From the root directory I tried to create sysmbolic link for starting as 
>
># ln -s /etc/init.d/ofbiz /etc/init.d/rc.3/S30_ofbiz
>But I am getting error as
>------------------------------------------------------------
>ln: creating symbolic link `/etc/init.d/rc.3/S30_ofbiz' to
>`/etc/init.d/ofbiz': No such file or directory
>-----------------------------------------------
>
>What is wrong with me? Please direct me with some example. I have to create
>three symlinks of three ofbiz instances.
>
>
>Sincerely
>Arukala 
>
>
>
>
>-----Original Message-----
>From: mpf at zentric.com [mailto:mpf at zentric.com] 
>Sent: Montag, 9. August 2004 10:18
>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)
>
>Arukala
>We had some problems with the script under suse 8!
>It didnt find option -o of the egrep command.
>However we got it going...
>If you expierience this too, i could send you our script....
>
>mit freundlichen Grüssen/ Kind regards / muchos saludos
>--
>Dipl. Wirt.-Ing. (FH) Michael Pfurtscheller, Geschäftsführer
>zentric  GmbH & Co. KG
>mobil: +49-172-5457143
>fon: +49-6101-556060
>fax: +49-6101-556065
>icq# 8724822
>mailto:michael.pfurtscheller at zentric.com
>http://www.zentric.com
>
>michael.brohl at agrenon.com wrote on 09.08.2004 10:19:16:
>
>  
>
>>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