Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • e-learning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Cervecería
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y soporte técnico
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Explorar todos los sectores
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Servicios para partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Odoo v7.0 ubuntu server 14.04.2 LTS - multiple installation

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
multiplev7.0ubuntuserverports
6 Respuestas
5011 Vistas
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
Descartar
Avatar
Axel Mendoza
Mejor respuesta

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
Descartar
Avatar
Mike
Autor Mejor respuesta

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
Descartar
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
Mejor respuesta

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
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
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? Resuelto
v7.0
Avatar
Avatar
Avatar
3
oct 22
7418
how to group the Stock Journal entry?
v7.0
Avatar
0
dic 20
6151
How can I provide an additional warning to users when a Delivery Order is only partially available to deliver? Resuelto
v7.0
Avatar
1
mar 15
4962
Multiple search in search bar
search multiple
Avatar
Avatar
Avatar
Avatar
Avatar
5
mar 24
14126
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones empresariales de código abierto que cubre todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

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