Skip to Content
Menu
This question has been flagged
1 Reply
7790 Views

I installed the Odoo Debian package and now it is running and I can't stop it. I want to start it again with a different config file but I can't find a way to kill the instance that is currently running.

I have tried to find the process using  `fuser 8069/tcp` and `lsof -i:8069` but there are no processes shown.

Odoo is not on my list of Startup applications and yet even after I reboot it is still running.

How can I kill it?

Avatar
Discard
Best Answer

Hello Keith

There must be odoo service running at startup. you can find it by following command
1)
ps aux | grep odoo

you will get a list of running odoo service

copy process id and kill it by following command.

kill -9 p_id

2) try sudo service odoo stop

3) you can find odoo service under /etc/init.d directory and remove that file

Thanks & Regards,



CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat

Avatar
Discard
Author

1) Works but when I realised that the service runs under user `odoo` I found `ps -U odoo` to be easier
2) Works great and `sudo service odoo start` starts it up again which is useful for me.
3) There is indeed a file called `odoo` in /etc/init.d but although I removed it, the service continues to start at boot. Any other suggestions please?

Author

I was able to prevent Odoo from starting on boot with: `systemctl disable odoo`

Related Posts Replies Views Activity
1
May 25
482
4
May 25
1777
2
May 25
1877
1
Feb 25
5205
0
Jan 25
406