I am new user to Open ERP and Ubuntu I have followed the step by step installation instructions on how to do get the server up and running. I am getting an error code when I try to start up OpenERP that a port is already in use when I kill the process and try to run the command again I still get the same error. Please see below error that I am getting from the server
openerp@itsja-PowerEdge-T105:~$ /opt/openerp/server/openerp-server 2013-08-21 20:16:12,179 30116 INFO ? openerp: OpenERP version 7.0-20130818-231031 2013-08-21 20:16:12,179 30116 INFO ? openerp: addons paths: /opt/openerp/server/openerp/addons 2013-08-21 20:16:12,179 30116 INFO ? openerp: database hostname: localhost 2013-08-21 20:16:12,179 30116 INFO ? openerp: database port: 5432 2013-08-21 20:16:12,179 30116 INFO ? openerp: database user: openerp 2013-08-21 20:16:12,730 30116 INFO ? openerp.addons.google_docs.google_docs: GData lib version `%s GData-Python/2.0.18` detected 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 2013-08-21 20:16:13,227 30116 INFO ? openerp: OpenERP server is running, waiting for connections...
look at the process running. If there are 2 instances of openERP they could be messing each other up.
try stopping the server - type
ps aux | grep openerp to confirm you stopped the server, then start the server again.
If that doesn't solve the problem you will have to figure out what other program is using that port and shut it down/ get it to use a different port.
netstat -tlnp | grep 8069 to try to figure out what program is using that port.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 8/21/13, 6:36 PM|
|Seen: 1653 times|
|Last updated: 3/16/15, 8:10 AM|