Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita 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
  • Proyectos
  • 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
5005 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.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
own ubuntu server and own domain
domain nginx subdomain ubuntuserver ports
Avatar
Avatar
2
sept 15
5936
v7, how to hide suppliers info from sale teams? Resuelto
v7.0
Avatar
Avatar
Avatar
3
oct 22
7415
how to group the Stock Journal entry?
v7.0
Avatar
0
dic 20
6149
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
4959
Multiple search in search bar
search multiple
Avatar
Avatar
Avatar
Avatar
Avatar
5
mar 24
14123
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • 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 de código abierto que cubren 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.

Sitio web hecho con

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