Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Odoo v7.0 ubuntu server 14.04.2 LTS - multiple installation

Odebírat

Get notified when there's activity on this post

This question has been flagged
multiplev7.0ubuntuserverports
6 Odpovědi
5017 Zobrazení
Avatar
Mike

Hi,

i have Ubuntu server 14.04.2 LTS my goal is run 2 Odoo aplications at same time.

first application run fine

user openerp 
home patch /opt/openerp
conf file /etc/openerp-server.conf

openerp-server.conf
admin_passwd = xxx
db_host = False
db_port = False
db_user = openerp
db_password = yyy
addon_patch = /opt/openerp/server/openerp/addons
logfile = /var/log/openerpe1/openerp-server.log
log_level = debug

boot file /etc/init.d/openerp-server.

#!/bin/sh
### BEGIN INIT INFO
# Provides: openerp-server
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Enterprise Resource Management software
# Description: Open ERP is a complete ERP and CRM software.
### END INIT INFO

PATH=/bin:/sbin:/usr/bin
DAEMON=/opt/openerp/server/openerp-server
NAME=openerp-server
DESC=openerp-server

# Specify the user name (Default: openerp).
USER=openerp
# Specify an alternate config file (Default: /etc/openerp-server.conf).
CONFIGFILE="/etc/openerp-server.conf"


for my second application

user openerp2 
home patch /opt/openerp2
conf file /etc/openerp2-server.conf

openerp2-server.conf
admin_passwd = xxx
db_host = False
db_port = False
db_user = openerp2
db_password = yyy
addon_patch = /opt/openerp2/server/openerp/addons
logfile = /var/log/openerpe2/openerp-server.log
log_level = debug

boot file /etc/init.d/openerp-server.

#!/bin/sh

### BEGIN INIT INFO
# Provides: openerp-server
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Enterprise Resource Management software
# Description: Open ERP is a complete ERP and CRM software.
### END INIT INFO

PATH=/bin:/sbin:/usr/bin
DAEMON=/opt/openerp2/server/openerp-server
NAME=openerp-server
DESC=openerp-server

# Specify the user name (Default: openerp).
USER=openerp2
# Specify an alternate config file (Default: /etc/openerp-server.conf).
CONFIGFILE="/etc/openerp2-server.conf"

i changed port 8069 to 8070 in file server/openerp/tools/config.py

group.add_option("--xmlrpc-port", dest="xmlrpc_port", my_default=8070,help="specify the TCP port for the XML-RPC protocol", type="int") 

When i type :

sudo /etc/init.d/openerp-server start 
sudo /etc/init.d/openerp2-server start
 ps aux
python /opt/openerp/server/openerp-server -c /etc/openerp-server.conf

only one application run.

Please any ideas how to start second application ?




0
Avatar
Zrušit
Avatar
Axel Mendoza
Nejlepší odpověď

You do not need to change anything for that in server/openerp/tools/config.py

Just include the option xmlrpc_port in every config file that you are using specifying different ports. The other thing is you need to specify different NAME's in your init.d scripts, I mean "NAME=openerp-server". That could lead to errors when restarting or stoping your Odoo servers due to the pid file use that NAME variable and also "# Provides: openerp-server" could raise warning for update-rc.d

1
Avatar
Zrušit
Avatar
Mike
Autor Nejlepší odpověď

well i add lines to

/etc/openerp-server.conf
xmlrpc_por = 8069

/etc/openerp2-server.conf
xmlrpc_por = 8070
/etc/init.d/openerp-server
NAME=openerp-server


/etc/init.d/openerp2-server
NAME=openerp2-start

log openerp-server.log application 1 has started 0.0.0.0:8070

log openerp2-server.log application 2 has started 0.0.0.80:70


I belive that im very close to success, firewall ufw has 8069 and 8070 allowed.







0
Avatar
Zrušit
Axel Mendoza

the option is xmlrpc_port. Was is the problem now?

Mike
Autor

both application starting at same port. htop result : openerp1 python /opt/openerp/server/openerp-server -c /etc/openerp-server.conf openerp2 python /opt/openerp2/server/openerp-server -c /etc/openerp2-server.conf all seems to be fine, unique user for each instance and /opt/openerp folder. i really dont know what i missing ..

Axel Mendoza

is working now or still doesn't?

Avatar
Bole
Nejlepší odpověď

do not use 8069 and 8070.. try bigger range.. like : server1 : 8069, server2 : 7069 when the server is started on 8069, it is also listening on 8070 port... so use bigger range.. those two ports are too close...

btw... here is a list of all options for config file:

http://www.vionblog.com/openerp-server-conf-for-openerp-7-explained/

0
Avatar
Zrušit
Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
own ubuntu server and own domain
domain nginx subdomain ubuntuserver ports
Avatar
Avatar
2
zář 15
5939
v7, how to hide suppliers info from sale teams? Vyřešeno
v7.0
Avatar
Avatar
Avatar
3
říj 22
7418
how to group the Stock Journal entry?
v7.0
Avatar
0
pro 20
6152
How can I provide an additional warning to users when a Delivery Order is only partially available to deliver? Vyřešeno
v7.0
Avatar
1
bře 15
4963
Multiple search in search bar
search multiple
Avatar
Avatar
Avatar
Avatar
Avatar
5
bře 24
14126
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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