This question has been flagged
3 Replies
8912 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...

Avatar
Discard
Best Answer

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
    

Source.

Avatar
Discard
Best Answer

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.

Avatar
Discard
Best Answer

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 ^

Thanks

dsouzajoseph199@gmail.com

Avatar
Discard