Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4055 Vues

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.

Avatar
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Publications associées Réponses Vues Activité
3
juil. 25
3003
3
juin 25
5640
5
mai 25
6373
2
mai 25
2582
1
août 24
2851