Home > Software engineering >  How to Stop Odoo 15 on Ubuntu 20.04
How to Stop Odoo 15 on Ubuntu 20.04

Time:11-21

I already try some answers on the internet to stop Odoo that running on my Ubuntu server, but it didn't work. I run Odoo by using this command from the root Odoo folder

python3 odoo-bin -c odoo.conf

If I run this command again using another session after Odoo is running, I get this kind of error message

Exception in thread odoo.service.httpd:
Traceback (most recent call last):
...
...
OSError: [Errno 98] Address already in use

When I list all services that run on my server, there is no Odoo service running, but when I open the domain, I know the Odoo server is running.

enter image description here

CodePudding user response:

you can use the kill command to kill the process if you know the process id. Also sudo killall python should kill every python script running in the server

CodePudding user response:

in the session that runs the first odoo, ctrl c ends the Odoo instance, if the command you say is exactly the one you use.

If you want to run multiple Odoo session you can select a free port for the second session.

python3 odoo-bin -c odoo.conf -p 8080
  • Related