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

start openerp server with /etc/init.d/ command

Suscribirse

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

Se marcó esta pregunta
3 Respuestas
27136 Vistas
Avatar
daouda

Hi Guys, I have my Openerp deployed on a distant server and i would like to start it using the /etc/init.d/ command, or execute a scripte in each starting of the server. Thanks for helping me

2
Avatar
Descartar
Georg Bretschneider

Did you use a pre-built RPM or DEB package from nightly.openerp.com? What OpenERP version are you talking about? When installing with those packages an init-script should have been installed automatically. When you tell me the name of the linux distribution you are using I might post a working init-script for you.

daouda
Autor

i'am using the 7 version. I am using Ubuntu 12.04, and my OpenERP have the web and server addons separated.

daouda
Autor

Thanks but the problème i have is this error "Failed to load server-wi$ The web module is provided by the addons found in the openerp-web project. Maybe you forgot to add those addons in your addons_path configuration." I do think the web addons is not loaded

Yannick Payot

...Well, a comment on the right answer, or at least tell to who you are speaking :)

Avatar
Yannick Payot
Mejor respuesta

Using the lp:anybox.recipe.openerp to deploy our openerp instances, we firstly started to use a daemon launcher before we droped it to use supervisor in our buildout recipe. So at that time, I created a merge proposal to add an init.d launcher on anybox recipe.

Here to start with something, you can find 2 templates used to generate the init.d file:

  • openerp_server.initd.in

  • gunicorn_openerp_server.initd.in (Only really usefull for v6.1)

It should be easy for you to replace the variables to have a static daemon launcher.

Something like:

PATH=/sbin:/bin:/usr/sbin:/usr/bin
PYTPATH= /usr/bin/python
DAEMON= <project_path>/server/openerp-server
NAME=openerp-server
PID=<path_to_stock_pid_file>/run/<my_openerp>.pid
DESC=openerp-server-<project_name>
CONFIG= <config_path>/instance.ini
LOGFILE=<log_file_path>/log/server.log
USER=<my_user>
2
Avatar
Descartar
Yannick Payot

Just a little comment about gunicorn. It is only useful for version v6.1. In v7.0 you can use he built-in multicorn launched by default.

Avatar
Cyril Gaspard (GEM)
Mejor respuesta

Hi,

"Failed to load server-wi$ The web module is provided by the addons found in the openerp-web project.

Maybe you forgot to add web addons in your addons_path in your openerp-server.conf file.

effectively your web addons are not loaded.

I think you used bazaar to download branch launchpad server addons and web, in this case, in your server config file, in options add line option in not yet done addons_path and add path to your web/addons and restart openerrp server.

example : addons_path = absolute_path/addons,absolute_path/web/addons Hope this will help.

Bye

2
Avatar
Descartar
Avatar
Peter Seng
Mejor respuesta

Copy OpenERP configuration file to /etc

sudo cp /opt/openerp/v7/server/install/openerp-server.conf  /etc/openerp-server.conf

Change the file permissions and file ownership to the openerp user.

sudo chown openerp: /etc/openerp-server.conf

sudo chmod 640 /etc/openerp-server.conf

You can download this edited copy with the following command

sudo wget http://www.altinisik.net/openerp/openerp-server -O /etc/init.d/openerp-server

edit it.

vi /etc/init.d/openerp-server

And we just need to change the location of the daemon.

Make the init script executable.

sudo chmod +x /etc/init.d/openerp-server

have a test

sudo /etc/init.d/openerp-server stop

sudo /etc/init.d/openerp-server start
1
Avatar
Descartar
tlauber

do not forget to add the addons_path in openerp-server.conf

Cyril Gaspard (GEM)

@Peter Seng's , to be very complete, where is the command update-rc.d for boot sequencing? Bye

¿Le interesa esta conversación? ¡Participe en ella!

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

Inscribirse
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 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 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