Odoo Help


11 Answers
Mayur Maheshwari India
3/1/14, 3:06 AM

Easy and best way to resolve this error

Link : http://maheshwarimayur.blogspot.in/2013/02/socketerror-errno-98-address-already-in.html

give me up votes if answer helps you .


Atul Kumar jain India

--Atul Kumar jain--
| 5 3 9
Indore, India
--Atul Kumar jain--


Atul Kumar jain India
3/23/15, 6:31 AM

change the port by running  this command

     ./openerp-server --xmlrpc-port 8090

and if you are using configuration then add/edit

    xmlrpc_port = 8090

Jay Patel (jpa) India
3/23/15, 5:23 AM

List of currently running services,

$ ps -ef

$ ps -ef | grep openerp-server 
Here I'm find services (name: openerp-server
$ ps -ef | grep openerp-server
pc       6399  2391  0 14:06 pts/1    00:00:02 python ./openerp-server
pc       7488  2391  0 14:39 pts/1    00:00:00 grep --color=auto openerp-server

Did you notice above result PID (6399) running openerp. Kill that service using following command,

 $ sudo kill -9 -6399 

Now services is completely stop, you can start again normally.

Ram Peri United States
3/1/14, 12:54 AM

Here are some basic commands you need to know.

ps -ef | grep openerp-server

This will show you all the instances of openerp that are already running.

When the server runs, it occupies a port (binds to port 8069) and if you try to run the server once more, you get this error.

Now, you will very likely see some output for the previous command which shows that the server is already running (if you have installed using sudo apt-get install openerp, the server is automatically started as a service for you)

use this command to stop the process (only if you really have to) kill <pid> where <pid> is the number you see in the first column of the command ps -ef ... above.

Now you can try starting the server once more.


IBS Group Morocco

--IBS Group--
| 4 6 10
Tetouan, Morocco
--IBS Group--

We are ranked Top 3 🥉  in odoo's 🔐 Security Research Program.

We develop and maintain Odoo applications and Mobile apps for more than 25 businesses and SMEs around the world operating in logistics, trade, industry and services.

We also extend existing Odoo implementations beyond their functional and technical limitations, by integrating new modules like ones related to Data Migration, Business Intelligence and Data Analytics.

We also connect odoo to any external system like Salesforce, Magento, Prestashop, ...

We speak 🇲🇦 (Arabic) 🇬🇧 (English) 🇫🇷 (French) 🇪🇸 (Spanish)

We operate from 🇲🇦 (Morocco) and 🇧🇪 (Belgium)

📫 us at contact@odoo.ma or 🤙 📱 at +212 (0) 539 99 29 18 / +32 (0) 2 361 40 88
🔗 Visit our website http://www.odoo.ma

IBS Group Morocco
10/11/13, 3:34 PM

This openerp/tools/config.py is not the configuration file.

You need to create an actual configuration file named openerp-server.conf, here is a simple one: LINK to get started.

You can get details on individual config values here:


Run your server with argument -c openerp-server.conf

Ray Carnes United States
10/11/13, 4:08 PM

Also, this message means OpenERP is running already. It probably isn't running properly, but it is using the default ports. Kill this process if you want to start it properly

Vaibhav United Arab Emirates
10/16/13, 1:34 PM

I have tried same but i was not able to resolve same problem.

Vaibhav United Arab Emirates
10/16/13, 1:34 PM

So I have tried to change in other files and it works :path is as "openerp/service/wsgi_server.py". inthis file I have given port number hard coded.i have changed on line number 435 Existing line is port = config['xmlrpc_port'] and I have replaced it with port =8089 and it is working fine thank you

Vaibhav United Arab Emirates
10/16/13, 1:38 PM

is this a right way to do such things ?


Med Said BARA Algeria

--Med Said BARA--

| 6 5 10
Guelma, Algeria
--Med Said BARA--

Med Said BARA Algeria
3/1/14, 6:25 AM


[Errno98] means that a Port is already in use by another application !!!

The question is: Which Application and which port ???

This can be done as described by Ram perf (ps -ef | grep openerp-server).

You will probably found that it's openerp-server running on port 8069.

The second question now is: Why you are getting this [Error98] when starting the Second instance and not when starting the First instance ???

This is because when you started the first instance, the default port 8069 is Free ....

But, when you start the second instance the port 8069 is in use by the first instance.

Tthe Second question leads to a Third Question: Which port (we are talking about) ???

The port is: 8069 , Cause it' already in use by the first Instance (test1).

The next question (you may QUESTION , Mr Vaihbav) is: But I'm running the Second instance on port 8099 not on port 8069 ??

No Mr Vaihbab, you are running the second instance (test2) also on port 8069. Cause you did not changed the port of the second instance in the openerp-server.conf, and it's still using the default port 8069 !!!

What you should do now: Change the port of the second instance to 8099 in the server configuration file "openerp-server.conf" of the second instance.

You don't have to kill any other running process. Just re-start the second instance with the right config file on the right port.

If you do a Kill, you will kill the first instance, and i suppose that you need the 2 instances running.

If you want to verify, Take a look at your log file (or look in your console log), to see which port is already in use.

Last thing: The configuration of an OpenERP instance is entirely handled by the openerp-server.conf and by the parameters you pass to the server when starting from command line (Shell) or included in a script.

Best regards.

Ask a Question
Keep Informed
1 follower(s)
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