socket.error: [Errno 98] Address already in use in OpenERP

         This error mainly raised when another process listening on port 


Change the port number for OpenERP or kill that running process and restart it again, this two hints will resolve the problem.

There are several process running on your system so first Find the process which uses the port number of OpenERP and list out that process id .For do this open your terminal and type following commend

     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 3550 where 3550 is process id]

Then Restart the openerp-server .now error solved .

        sudo /etc/init.d/openerp-server restart
If you do not want to kill process than you can also stop OpneERP process by this will also resolved this error

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


Mayur Maheshwari