This question has been flagged
1 Reply
29250 Views
openerp@openerp:~$ /opt/openerp/server/openerp-server
2014-03-28 08:48:44,915 2561 INFO ? openerp: OpenERP version 7.0-20130818-231031
2014-03-28 08:48:44,916 2561 INFO ? openerp: addons paths: /opt/openerp/server/openerp/addons
2014-03-28 08:48:44,916 2561 INFO ? openerp: database hostname: localhost
2014-03-28 08:48:44,916 2561 INFO ? openerp: database port: 5432
2014-03-28 08:48:44,916 2561 INFO ? openerp: database user: openerp
2014-03-28 08:48:45,239 2561 INFO ? openerp.addons.google_docs.google_docs: GData lib version `%s GData-Python/2.0.18` detected
2014-03-28 08:48:45,527 2561 INFO ? openerp: OpenERP server is running, waiting for connections...
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 504, 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.7/dist-packages/werkzeug/serving.py", line 399, in make_server
    passthrough_errors, ssl_context)
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 331, in __init__
    HTTPServer.__init__(self, (host, int(port)), handler)
  File "/usr/lib/python2.7/SocketServer.py", line 408, in __init__
    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 419, 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
Avatar
Discard

I think Openerp Default Port no 8069 used in any other application. Try to change the port the 8069 to any other port no (eg: 7777) and restart the server. And start with http://localhost:7777

It is not a good / smart way to get some replies from people here.

You could at least post a few words to ask about the error, and say when does it appear, in which context, on which OS, etc...

Best Answer

Hi,

This error is due to openerp-service already in use. Just apply the command "ps aux | grep openerp" which will show you the port on which openerp server is in running state. Kill the specific process. Or Try to run openerp-server on different port.

This link may also help you: http://maheshwarimayur.blogspot.in/2013/02/socketerror-errno-98-address-already-in.html

Avatar
Discard