Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

How to start service of multi-instant on ubuntu server

Subscriure's

Get notified when there's activity on this post

This question has been flagged
serverubuntuservermultiinstant
2 Respostes
10734 Vistes
Avatar
jagdish

Hi

i am working on ubuntu server i have install openerp v7 by Debian package its working fine, But i have to configure other instance for testing purpose, for testing instant i make folder (test) and put openerp Debian package in this folder, I have use different port for my regular instant it use 8069 for testing instant i have user 8080.

i start service for my regular instants sudo /etc/init.d/openerp start and for testing instant i use nohup ./openerp-server command to start service on server it works for some time and stop automatically.

So how can i start service of my both instanst service on server

Thanks

1
Avatar
Descartar
Avatar
Amit Parik (amp)
Best Answer

Hello Jagdish,

First of all I want to suggest you that please use the launchpad code instead of the debian packages because it will be easier. 2nd thing the complete command is nohup ./openerp-server & . if you are using this will start the services and it will not stop until you stopped the server. So as per my opinion please check the parameter again it will definitely works.

About your 2nd point for multiple instance the best way is as follow. Create 2 different user i.e openerp1, openerp2. download the code for both the user. Create 2 superuser on postgres, openerp1 and openerp2. Alter the role for both then start the openerp server with different port via --netrpc-port=8090 --xmlrpc-port=8091 (You can also assign the host name, So you can use directly that url) . Then it will works great and your 2 different instance will be created.

If your services will be stop after sometime as you specified then do the one thing create the python script for that and it will run the openerp-server directly . So when your server will stop it will check auotmatically and start openerp services again. Here also you have to start your script with nohup command i.e nohup python script.py &

Thank You and hope this will helpful for you!

4
Avatar
Descartar
jagdish
Autor

Thanks for the answer amp

Avatar
Pinakin Nayi (pna)
Best Answer

Hello,

I think there is one more way of proxy that may be useful to you.

First of all configure Apache sever to use , Now, just go to /etc/apache2/sites-available/ and there create own file like test(without extension) and in it add code like (you can also biferagate different port here) pastebin.com/7yYkMvmi

  • Now, disable default >sudo a2dissite 000-default
  • And enable your own by > sudo a2ensite test

Now, finally restart your apache server by >sudo /etc/init.d/apache2 restart

  • > sudo nano /etc/hosts

Now, when you run your openerp server you can use following command: ./openerp-server --addons-path=../addons/,../web/addons --proxy-mode

From browser : test:8069/

So, its work fine.

1
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
How to allow users to connect your project on ubuntu 24.10?
server ubuntu ubuntuserver
Avatar
Avatar
1
de des. 23
2773
HostNoc as My Go-To Server Provider – Sharing My Experience
server
Avatar
0
de juny 25
2
How to configure multi-instance and memory limit in .conf ?
server
Avatar
Avatar
1
de juny 23
16949
Odoo 14 Server Error Message after Log in
server
Avatar
Avatar
1
de gen. 22
3492
Please advise on hardware configuration
server
Avatar
0
de nov. 21
4135
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now