Skip to Content
Menu
This question has been flagged
3 Replies
16114 Views

Dear all

Hope everyone fine !!!

what happened with me !!!!

i get some error on odoo v11 ... so i uninstall odoo and install it again

everything fine but !!!  when i try to run odoo server (/opt/odoo/odoo-bin)

some i got some errors !!!!

rahbani@Odoo-Server:~$ /opt/odoo/odoo-bin
2018-07-26 19:09:00,865 3122 INFO ? odoo: Odoo version 11.0
2018-07-26 19:09:00,865 3122 INFO ? odoo: addons paths: ['/opt/odoo/odoo/addons', '/opt/odoo/addons']
2018-07-26 19:09:00,866 3122 INFO ? odoo: database: default@default:default
Exception in thread odoo.service.httpd:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/odoo/odoo/service/server.py", line 251, in http_thread
    self.httpd = ThreadedWSGIServerReloadable(self.interface, self.port, app)
  File "/opt/odoo/odoo/service/server.py", line 103, in __init__
    handler=RequestHandler)
  File "/usr/local/lib/python3.5/dist-packages/werkzeug/serving.py", line 577, in __init__
    self.address_family), handler)
  File "/usr/lib/python3.5/socketserver.py", line 440, in __init__
    self.server_bind()
  File "/opt/odoo/odoo/service/server.py", line 113, in server_bind
    super(ThreadedWSGIServerReloadable, self).server_bind()
  File "/usr/lib/python3.5/http/server.py", line 138, in server_bind
    socketserver.TCPServer.server_bind(self)
  File "/usr/lib/python3.5/socketserver.py", line 454, in server_bind
    self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use

2018-07-26 19:09:00,951 3122 INFO ? odoo.addons.base.ir.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf

--------------------------------------------------------------------------------------------

ps -ef | grep odoo

even i kill some  sudo kill -9 4329 4357

-----------------------------------------------------------------------------------------------------------------------------------------

rahbani@Odoo-Server:~$ /opt/odoo/odoo-bin
2018-07-26 19:13:57,141 3210 INFO ? odoo: Odoo version 11.0
2018-07-26 19:13:57,142 3210 INFO ? odoo: addons paths: ['/opt/odoo/odoo/addons', '/opt/odoo/addons']
2018-07-26 19:13:57,142 3210 INFO ? odoo: database: default@default:default
2018-07-26 19:13:57,153 3210 INFO ? odoo.service.server: HTTP service (werkzeug) running on localhost:8069
2018-07-26 19:13:57,247 3210 INFO ? odoo.addons.base.ir.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf

------------------------------------------------------------------------------------------------------------------------------------------

then i try to access localhost:8069 ...

in firfox page ..... Unable to connect


plzzzzz i need help

Thanks a lot


Avatar
Discard
Best Answer

Maybe try to install it again with different db user, password and different port(for example 8070).

Do you have any firewall running? If so - try to turn it off

Avatar
Discard
Author

i stop firewall .... same story

i will try to install again with different db user

thanks alot

Best Answer

Try 127.0.0.1:8069 instead of localhost:8069. There is a cleaner way to incorporate localhost or any fancier name even myodoo:8069 using hosts file... You may google it for exact steps...

Avatar
Discard
Author

same story .... i used hosts file

i used 127.0.0.1

i used my ip address:8069

i used localhost:8069

i used computer name (odoo-server:8069)

nothing change .... same i can not access web page

thank you