跳至内容
菜单
此问题已终结
1 回复
4059 查看

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
3003
3
6月 25
5640
5
5月 25
6373
2
5月 25
2582
1
8月 24
2851