Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Autostart odoo server service on restart?

By
inian
on 4/28/16, 10:23 AM 781 views

Hello Guys,

I followed this link from open ERP to install odoo

https://www.getopenerp.com/easy-odoo8-installation/

Now odoo runs by entering following command

cd /opt/openerp/odoo

./openerp-server

Problem is i cannot stop the service . Also when I restart the system it doesn't get autostart.

Referring to following link

http://ishwarmalvi.blogspot.in/2015/08/autostart-odooopenerp-server-on-system.html

they mentioned we need to add a daemon script to init.d.But when I add it and run I get following not found error

Starting odoo-server: start-stop-daemon: --start needs --exec or --startas

Try 'start-stop-daemon --help' for more information.

/etc/init.d/odoo-server: 37: /etc/init.d/odoo-server: --chuid: not found

/etc/init.d/odoo-server: 38: /etc/init.d/odoo-server: --exec: not found

odoo-server.

In the second link they say we have to start the service differently  with  command

sudo /etc/init.d/odoo-server start

clearly I am doing something wrong. If somebody could advice me I will be forever grateful!Thanks in adnvance




1
sarkar
On 4/29/16, 2:31 AM

Hello Inian

please try this 

https://www.linode.com/docs/websites/cms/install-odoo-9-erp-on-ubuntu-14-04

0
inian
On 4/29/16, 2:12 AM

Thanks sarkar, the link worked perfectly.Now I can able to start and stop service and make it autostart when system is restarted.

 

 



Hello inian Please follow this step it will work for me https://www.linode.com/docs/websites/cms/install-odoo-9-erp-on-ubuntu-14-04

sarkar
on 4/29/16, 2:30 AM
0
fasluca
On 4/28/16, 11:30 PM

Try These:

sudo chmod 755 /etc/init.d/odoo-server
sudo chown root: /etc/init.d/odoo-server

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 4/28/16, 10:23 AM
Seen: 781 times
Last updated: 4/29/16, 3:36 AM