Odoo Help


./openerp-server doesnt work

on 1/16/15, 7:22 AM 1,669 views

Hi everyone,

I want to start the server Odoo 8 but does not work and gives me the following ereur: 

Exception in thread openerp.service.httpd:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/othmane/odoo/odoo/openerp/service/server.py", line 237, in http_thread
    self.httpd = ThreadedWSGIServerReloadable(self.interface, self.port, app)
  File "/home/othmane/odoo/odoo/openerp/service/server.py", line 100, in __init__
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 410, in __init__
    HTTPServer.__init__(self, (host, int(port)), handler)
  File "/usr/lib/python2.7/SocketServer.py", line 419, in __init__
  File "/home/othmane/odoo/odoo/openerp/service/server.py", line 110, in server_bind
    super(ThreadedWSGIServerReloadable, self).server_bind()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
  File "/usr/lib/python2.7/SocketServer.py", line 430, in server_bind
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use

Can you help me , thanx 



Emipro Technologies Pvt. Ltd.

--Emipro Technologies Pvt. Ltd.--
| 6 7 8
Rajkot, India
--Emipro Technologies Pvt. Ltd.--

Being an emerging leader in IT market since 2011, Emipro Technologies Pvt. Ltd. has been providing a wide range of business solutions in Odoo & Magento. We are pleased to have a large pool of contented customers with our meticulous work in the domain of ERP & e-Commerce. A ray of relief & satisfaction to  our customers heart by our successful deployment in their organization, purely represents our success in Odoo platform. Hence, we take pride for being an Odoo partner with a vision of expanding our strategic alliances with our customers to offer them high value-added, trustworthy & cost effective solutions.


Since establishment, our business has span across 11 countries of the world. Our customers are companies of all sizes ranging from start-ups to large enterprises, who realize that they need a professional business solutions to generate revenue streams, establish proper communication channels or streamline business operations. Standing with strong determination of customer satisfaction, observing each minute detail of their business processes, providing proper guidance and moving forth to develop product accordingly adds our value and reliability among our customers. 


We are blessed with efficient, passionate & eclectic young developers who have come across almost all kinds of business profiles, working with full dedication, applying creativity & new features in existing modules and completing customer's projects successfully on predefined target. Our in-depth knowledge while giving business solutions in Odoo allows us to offer following services to our customers :


  • Consulting
  • Installation, Configuration & Customization
  • Training & Support
  • Maintenance
  • Upgradation
  • Documentation
  • Crafting community modules
  • Drafting videos on demand
  • Smart Apps development

We will be :) to welcome you @ www.emiprotechnologies.com to solve any kind of your business needs around Odoo. However we are just an inch away from you by email info@emiprotechnologies.com or a tweet to @EmiproTech

Emipro Technologies Pvt. Ltd.
On 1/16/15, 7:33 AM

Try the following :

1./ On the command line fire the following command ps ax|grep openerp
2./ It will list out the processes where it will find the word 'openerp'
3./ Look into that list whether any process of openerp is already running on the same port that you are trying to start the service
4./ It may also possible that any other process may be using the same port that you are trying to use for openerp server

You need to check whether the port that you are trying to access isn't used by some process

Try following commands to check the ports

change to superuser
1./ lsof -i : <<port number>> ---> this will list out the process that is using the specified port
    example : - lsof -i :8069
2./ netstat -tulpn ---> this will list out all the process with port and program

If you find that the port is in use by some other process or say openerp already than you will have to kill that process

sudo kill -9 <<process id>>

Hope this helps !!.




| 5 3 6
Jakarta, Indonesia
On 1/16/15, 7:25 AM

The error is caused by the fact that the port that you are using (if you did not specify anything, most probably it is 8069) is used by another process.  Using `netstat -plntu` command in terminal can show you which process is holding that port.  You might want to either select different port or kill the process that use the same port first.

aci aisha
On 1/16/15, 8:32 AM

1.open terminal

2.type as,

~$ ps aux|grep odoo

3.it lists as follos,

odoo      1164  0.4  2.0  80648 40788 ?        Sl   10:22   0:00 python /opt/odoo/odoo-server/openerp-server -c /etc/odoo-server.conf
amz02     2473  2.5  2.0  79244 39100 ?        Sl   10:24   0:00 /usr/bin/python2.7 -u /home/amz02/Projects/odoo/odoo-8.0-647afdf/openerp-server
amz02     2647  0.0  0.0   4688   820 pts/0    S+   10:24   0:00 grep --color=auto odoo

4.find the number of odoo-server.conf(here it is 1164)

5.type as follows,

~$ sudo kill -9 1164

6.enter pasword

7.restart server..


On 1/16/15, 8:22 AM

Thank you all , it woks now :)

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: 1/16/15, 7:22 AM
Seen: 1669 times
Last updated: 3/16/15, 8:10 AM