Skip to Content
Menu
This question has been flagged
2 Replies
8012 Views

/opt/openerp/server/openerp-server 2013-06-07 10:59:46,512 16323 INFO ? openerp: OpenERP version 7.0-20130606-231042 2013-06-07 10:59:46,512 16323 INFO ? openerp: addons paths: /opt/openerp/server/openerp/addons 2013-06-07 10:59:46,512 16323 INFO ? openerp: database hostname: localhost 2013-06-07 10:59:46,512 16323 INFO ? openerp: database port: 5432 2013-06-07 10:59:46,512 16323 INFO ? openerp: database user: openerp 2013-06-07 10:59:46,838 16323 INFO ? openerp.addons.google_docs.google_docs: GData lib version %s GData-Python/2.0.17 detected 2013-06-07 10:59:47,020 16323 INFO ? openerp: OpenERP server is running, waiting for connections... 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

^C2013-06-07 10:59:55,983 16323 INFO ? openerp.service: Initiating shutdown 2013-06-07 10:59:55,983 16323 INFO ? openerp.service: Hit CTRL-C again or send a second signal to force the shutdown.

Avatar
Discard

try [netstat -ta] and see the listening port. By default port 8069 and 8070 should be free before using odoo.

Best Answer

Hi,

The issue is another openerp instance is running in same port. Try this command from terminal. netstat -tulpen | grep 8069. If you are using different port other than 8069, then use that instead of 8069. You will get this result :

janeesh@janeesh:~$ netstat -tulpen | grep 8069
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:8069           0.0.0.0:*               LISTEN      1000       135907      6888/python

6888 is the prpcess id. Kill the process with this command : kill -9 6888.

Restart server again. Then it will be ok.

Avatar
Discard
Best Answer

Hi,

service openerp is started 'Address already in use'

use command ps aux | grep openerp to kill this service image description

Avatar
Discard

THis action only solves the issue of the moment, and after rebooting, you come back to the same situation.....

I am facing the same issue.. How to resolve this issue permanently?

Related Posts Replies Views Activity
1
Mar 20
3179
0
Mar 15
2708
1
Mar 23
7019
0
Dec 22
921
2
Jun 24
6081