Tuesday, 3 September 2013

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

  
This error mainly raised when another process listening on port 

Solution:

 
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.

address_already_in_use_in_openerp



 

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 command.it will also resolved this error

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


Thanks

Sonu Chaudhary

1 comment: