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
File "/usr/lib64/python2.6/threading.py", line 484, in run
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
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__
File "/usr/lib64/python2.6/BaseHTTPServer.py", line 108, in server_bind
File "/usr/lib64/python2.6/SocketServer.py", line 413, in server_bind
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...
If you are using two instances of OpenERP, then the following will do the magic:
sudo netstat -anpt
in terminal. This will list the active processes and the port numbers they are using.
Find the process which uses the port number of OpenERP and note the pid(process id) of that process.
ps aux | grep openerp
and verify the pid of that process.
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
Then remove the pid of OpenERP server from /var/run/openerp by the following.
sudo rm /var/run/openerp-server.pid
Restart the openerp-server and it's done.
sudo /etc/init.d/openerp-server restart
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 ^
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 10/24/13, 10:06 PM|
|Seen: 2958 times|
|Last updated: 3/16/15, 8:10 AM|