when i started my server for the first time, or i restart the lapi and started server then the server is running but this log is also comming
ashutosh@ashutosh:~/Desktop/Reckonsys/asset-management/odoo$ python3 odoo-bin --addons-path=/home/ashutosh/Desktop/Reckonsys/asset-management/custome_addon,/home/ashutosh/Desktop/Reckonsys/asset-management/odoo/addons -d asset -u asset-management
2022-11-29 04:37:34,395 4001 INFO ? odoo: Odoo version 15.0
2022-11-29 04:37:34,395 4001 INFO ? odoo: addons paths: ['/home/ashutosh/Desktop/Reckonsys/asset-management/odoo/odoo/addons', '/usr/lib/python3/dist-packages/odoo/addons', '/home/ashutosh/.local/share/Odoo/addons/15.0', '/home/ashutosh/Desktop/Reckonsys/asset-management/custome_addon', '/home/ashutosh/Desktop/Reckonsys/asset-management/odoo/addons']
2022-11-29 04:37:34,395 4001 INFO ? odoo: database: default@default:default
2022-11-29 04:37:34,478 4001 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/bin/wkhtmltopdf
Exception in thread odoo.service.httpd:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/home/ashutosh/Desktop/Reckonsys/asset-management/odoo/odoo/service/server.py", line 483, in http_thread
self.httpd = ThreadedWSGIServerReloadable(self.interface, self.port, app)
File "/home/ashutosh/Desktop/Reckonsys/asset-management/odoo/odoo/service/server.py", line 149, in __init__
super(ThreadedWSGIServerReloadable, self).__init__(host, port, app,
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 688, in __init__
super().__init__(server_address, handler) # type: ignore
File "/usr/lib/python3.10/socketserver.py", line 452, in __init__
self.server_bind()
File "/home/ashutosh/Desktop/Reckonsys/asset-management/odoo/odoo/service/server.py", line 165, in server_bind
super(ThreadedWSGIServerReloadable, self).server_bind()
File "/usr/lib/python3.10/http/server.py", line 136, in server_bind
socketserver.TCPServer.server_bind(self)
File "/usr/lib/python3.10/socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use
once i open the local host browser, instead of login page am seeing the database selecter page. after i kill all the process and restart the server i can't see the login page .
any solution to this issue?
Thank you
Hi,
Did you try execute the following command in your IDE terminal
sudo pkill -9 python3.8 [your python version, press tab key to autocomplete the command ]