Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/next/git/Odoo10_Evaultion-Transform/odoo/service/server.py", line 247, in http_thread
self.httpd = ThreadedWSGIServerReloadable(self.interface, self.port, app)
File "/home/next/git/Odoo10_Evaultion-Transform/odoo/service/server.py", line 106, in __init__
handler=RequestHandler)
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 410, in __init__
HTTPServer.__init__(self, (host, int(port)), handler)
File "/usr/lib/python2.7/SocketServer.py", line 419, in __init__
self.server_bind()
File "/home/next/git/Odoo10_Evaultion-Transform/odoo/service/server.py", line 116, in server_bind
super(ThreadedWSGIServerReloadable, self).server_bind()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/lib/python2.7/SocketServer.py", line 430, in server_bind
self.socket.bind(self.server_address)
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
use this to know the process id
ps aux | grep odoo
for odoo 9 and 8 use
ps aux | grep openerp
to kill the process:
sudo kill -9 procees id
To kill process by name
pkill -f <process name>
Example: pkill -f odoo
This will kill all odoo process with name odoo
this will kill all the running python processes :
kill -9 (ps -A | grep python3 | awk '{print $1;}')
That is for odoo 8 and 9.. This command is not usealbe for odoo 10..
use :ps aux|grep odoo
To kill the process
sudo kill "process id"
Simplest way is to use fuser:
-n,--namespace SPACE search in this name space (file, udp, or tcp)
-k,--kill kill processes accessing the named file
fuser -n tcp 8069 -k
first you have to get the id of the process with : ps ax. Then you can use the command : kill -9 [id]
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký