Odoo Help


File "<string>", line 1, in bind error: [Errno 98] Address already in use

Mark Yoshida
on 10/24/13, 10:06 PM 4,549 views

How to fix this problem? at same time localhost:8069 blank screen. I can see couple time - Loading and still blank screen.

openerp@host [~]# openerp-server 2013-10-25 00:04:40,072 32440 INFO ? openerp: OpenERP version 7.0-20131023-232420 2013-10-25 00:04:40,072 32440 INFO ? openerp: addons paths: /usr/lib/python2.6/site-packages/openerp-7.0_20131023_232420-py2.6.egg/openerp/addons 2013-10-25 00:04:40,072 32440 INFO ? openerp: database hostname: localhost 2013-10-25 00:04:40,072 32440 INFO ? openerp: database port: 5432 2013-10-25 00:04:40,073 32440 INFO ? openerp: database user: openerp 2013-10-25 00:04:40,705 32440 INFO ? openerp.addons.google_docs.google_docs: GData lib version %s GData-Python/2.0.17 detected 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 "/usr/lib/python2.6/site-packages/openerp-7.0_20131023_232420-py2.6.egg/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

2013-10-25 00:04:41,113 32440 INFO ? openerp: OpenERP server is running, waiting for connections...


Sudhir Arya (ERP Harbor Consulting Services)

--Sudhir Arya (ERP Harbor Consulting Services)--
| 6 8 8
Ahmedabad, India
--Sudhir Arya (ERP Harbor Consulting Services)--

• Co-Founder & Co-Owner at ERP Harbor Consulting Services

• ERP Consultant / ERP Customization / TechnoFunctional Expert

• Sound knowledge in Python, Odoo (Open ERP), XML, PostgreSQL

• Domain knowledge of Sale Management, Purchase Management, Warehouse Management, Manufacturing, Multi Company Configuration & Management, HR Management, Medical Management, Construction Management, Education Management, Point of Sale, Third Party Integrations

• Positive attitude and quick Learner

• Good analytical skill, quick bug and issue tracing and find the solution

• Good knowledge and experience in payment gateway integration with Odoo

• Ready to accept new challenges

• Active Memeber On Stackoverflow 




Sudhir Arya
ERP Harbor Consulting Services
Sudhir Arya (ERP Harbor Consulting Services)
On 10/25/13, 3:09 AM

If you are using two instances of OpenERP, then the following will do the magic:

  1. Type

    sudo netstat -anpt

in terminal. This will list the active processes and the port numbers they are using.

  1. Find the process which uses the port number of OpenERP and note the pid(process id) of that process.

  2. Then type

    ps aux | grep openerp

and verify the pid of that process.

  1. Kill the process which uses the port number of OpenERP(if any) by the following command in terminal.

    sudo kill -9 pid

where pid is the process id. For example if 1234 is the pid you should enter

    sudo kill -9 1234

in terminal.

  1. Then remove the pid of OpenERP server from /var/run/openerp by the following.

    sudo rm /var/run/openerp-server.pid
  2. Restart the openerp-server and it's done.

    sudo /etc/init.d/openerp-server restart


joseph d'souza
On 10/25/13, 3:16 AM

OpenERP process is already Running on some port number:

ps aux | grep openerp

just verify the process id of that OpenERP process.

Kill the process which uses the port number of OpenERP by the following command in terminal.

   sudo kill -9 procees id [ex: sudo kill -9 7876 where 7876 is process id]

Hope it helps then vot me UP ^




Brett Lehrer

--Brett Lehrer--

| 5 5 8
Milwaukee, United States
--Brett Lehrer--
Director of IT and open source enthusiast.
Brett Lehrer
On 10/25/13, 12:24 AM

The address is already in use, meaning you already have a service running on that port.

So, OpenERP is already running.

Try this:

ps aux | grep openerp

You should see the currently running process.

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/24/13, 10:06 PM
Seen: 4549 times
Last updated: 3/16/15, 8:10 AM