コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4063 ビュー

I am not able to use 2 openerp on 1 server with different port also.

I have installed 2 openerp 6.1 and openerp 7.0 on ubuntu server following this steps http://www.theopensourcerer.com/2012/02/how-to-install-openerp-6-1-on-ubuntu-10-04-lts/ for openerp 6.1 and http://www.theopensourcerer.com/2012/12/how-to-install-openerp-7-0-on-ubuntu-12-04-lts/ for openerp 7.

Openerp 7.0 is running on port 8069 and openerp 6.1 is running on 8079.

Services of openerp 7 is automated and for 6.1 sudo su - openerp -s /bin/bash /opt/openerp/server/openerp-server i have to run manually than only it works and when i close by ssh client the services get stopped. After rebooting also only openerp 7 services get started.

Can anyone help me how should i make openerp 6.1 services also automated whenever the server is rebooted it should start.

アバター
破棄
最善の回答

Hy,

The problem is really simple, launching the 6.1 by CLI will nturally causes the end of the server running when you'll close the ssh client. You can workaround this by multiple ways :

  1. Try first to launch by CLI the 6.1 and add & at the end of the command, it will "daemonize" you command
  2. Try to add another init script fo the 6.1 server and launch it by /etc/init.d/openerp-6.1 start and check what's running

Hope it can help

アバター
破棄
関連投稿 返信 ビュー 活動
3
7月 25
3008
3
6月 25
5653
5
5月 25
6381
2
5月 25
2591
1
8月 24
2856