Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
8663 Prikazi

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
Opusti
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
Opusti
Avtor

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?

Avtor

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

Related Posts Odgovori Prikazi Aktivnost
1
jun. 25
458
1
jun. 25
1533
3
jul. 25
3211
1
maj 25
1360
1
maj 25
1608