Skip to Content
Menu
This question has been flagged
4 Replies
21757 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




Avatar
Discard
Best Answer

Hello Inian

please try this 

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

Avatar
Discard
Author Best Answer

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

 

 



Avatar
Discard

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

Best Answer

Try These:

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