Odoo Help


Autostart odoo server service on restart?

on 4/28/16, 10:23 AM 3,267 views

Hello Guys,

I followed this link from open ERP to install odoo


Now odoo runs by entering following command

cd /opt/openerp/odoo


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

Referring to following link


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


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

Shivam Dudhat
On 4/29/16, 2:31 AM

Hello Inian

please try this 


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

Laxicon Solution, Shivam Dudhat
on 4/29/16, 2:30 AM
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

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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