Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Bricoleur
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Odoo v7.0 ubuntu server 14.04.2 LTS - multiple installation

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
multiplev7.0ubuntuserverports
6 Réponses
5010 Vues
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
Ignorer
Avatar
Axel Mendoza
Meilleure réponse

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
Ignorer
Avatar
Mike
Auteur Meilleure réponse

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
Ignorer
Axel Mendoza

the option is xmlrpc_port. Was is the problem now?

Mike
Auteur

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
Meilleure réponse

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
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
own ubuntu server and own domain
domain nginx subdomain ubuntuserver ports
Avatar
Avatar
2
sept. 15
5939
v7, how to hide suppliers info from sale teams? Résolu
v7.0
Avatar
Avatar
Avatar
3
oct. 22
7416
how to group the Stock Journal entry?
v7.0
Avatar
0
déc. 20
6149
How can I provide an additional warning to users when a Delivery Order is only partially available to deliver? Résolu
v7.0
Avatar
1
mars 15
4961
Multiple search in search bar
search multiple
Avatar
Avatar
Avatar
Avatar
Avatar
5
mars 24
14125
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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