This question has been flagged
2 Replies
7251 Views

service openerp-server start Starting OpenERP Server Daemon (openerp-server): [ OK ] [root@u16992189 ~]# Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner self.run() File "/usr/lib64/python2.6/threading.py", line 484, in run self.__target(self.__args, *self.__kwargs) File "/opt/openerp/server/openerp/service/wsgi_server.py", line 436, in serve httpd = werkzeug.serving.make_server(interface, port, application, threaded=True) File "/usr/lib/python2.6/site-packages/werkzeug/serving.py", line 402, in make_server passthrough_errors, ssl_context) File "/usr/lib/python2.6/site-packages/werkzeug/serving.py", line 334, in __init__ HTTPServer.__init__(self, (host, int(port)), handler) File "/usr/lib64/python2.6/SocketServer.py", line 402, in __init__ self.server_bind() File "/usr/lib64/python2.6/BaseHTTPServer.py", line 108, in server_bind SocketServer.TCPServer.server_bind(self) File "/usr/lib64/python2.6/SocketServer.py", line 413, in server_bind self.socket.bind(self.server_address) File "<string>", line 1, in bind error: [Errno 98] Address already in use

^C

Avatar
Discard
Best Answer

It seems like two instances of openerp are running on same port.

Avatar
Discard
Best Answer

It looks like there are two processes which are using same port.

You can kill after finding those processes.

Try this command in terminal:

 ps -ax | grep server

This will give you list of processes. Find OpenERP server's process and process_id and kill them by following command.

kill -9 process_id
Avatar
Discard