Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

How to start service of multi-instant on ubuntu server

Odoberať

Get notified when there's activity on this post

This question has been flagged
serverubuntuservermultiinstant
2 Replies
10740 Zobrazenia
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
Zrušiť
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
Zrušiť
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
Zrušiť
Enjoying the discussion? Don't just read, join in!

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

Registrácia
Related Posts Replies Zobrazenia Aktivita
How to allow users to connect your project on ubuntu 24.10?
server ubuntu ubuntuserver
Avatar
Avatar
1
dec 23
2773
HostNoc as My Go-To Server Provider – Sharing My Experience
server
Avatar
0
jún 25
2
How to configure multi-instance and memory limit in .conf ?
server
Avatar
Avatar
1
jún 23
16952
Odoo 14 Server Error Message after Log in
server
Avatar
Avatar
1
jan 22
3495
Please advise on hardware configuration
server
Avatar
0
nov 21
4136
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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