Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
8668 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

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?

Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
1
cze 25
458
1
cze 25
1536
3
lip 25
3211
1
maj 25
1362
1
maj 25
1609