Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

while running test got this error?

By
Tarun Gupta
on 6/7/13, 9:01 AM 2,591 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.

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

Ben Bernard
on 8/12/14, 12:46 AM
4

Janeesh

--Janeesh--
1641
| 4 3 4
Cochin, India
--Janeesh--

Odoo Developer

Janeesh
On 8/12/14, 3:25 AM

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.

0

Borni DHIFI

--Borni DHIFI--
5102
| 6 8 9
Tunis, Tunisia
--Borni DHIFI--

Techno Functional Consultant Odoo(OpenERP) 

http://www.linkedin.com/in/borni

Skype : dhifi.borni

Borni DHIFI
On 6/7/13, 9:12 AM

Hi,

service openerp is started 'Address already in use'

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

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

patrick
on 6/7/13, 8:10 PM

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

Odoo
on 8/12/14, 1:01 AM

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/7/13, 9:01 AM
Seen: 2591 times
Last updated: 3/16/15, 8:10 AM