i have just installed odoo 10 and all the dependencies on ubuntu 16.04 LTS and my server is running fine but when i open localhost:8069 on firefox i get ERROR 500 internal server error see below my logs
rexdomine@ubuntu:/opt/odoo/odoo-10.0$ ./odoo-bin 2018-03-16 04:14:08,796 8926 INFO ? odoo: Odoo version 10.0 2018-03-16 04:14:08,797 8926 INFO ? odoo: addons paths: ['/home/rexdomine/.local/share/Odoo/addons/10.0', u'/opt/odoo/odoo-10.0/odoo/addons', u'/opt/odoo/odoo-10.0/addons'] 2018-03-16 04:14:08,798 8926 INFO ? odoo: database: default@default:default 2018-03-16 04:14:08,920 8926 INFO ? odoo.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069 Exception in thread odoo.service.httpd: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/opt/odoo/odoo-10.0/odoo/service/server.py", line 247, in http_thread self.httpd = ThreadedWSGIServerReloadable(self.interface, self.port, app) File "/opt/odoo/odoo-10.0/odoo/service/server.py", line 105, in __init__ handler=RequestHandler) File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 440, in __init__ HTTPServer.__init__(self, (host, int(port)), handler) File "/usr/lib/python2.7/SocketServer.py", line 417, in __init__ self.server_bind() File "/opt/odoo/odoo-10.0/odoo/service/server.py", line 115, in server_bind super(ThreadedWSGIServerReloadable, self).server_bind() File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind SocketServer.TCPServer.server_bind(self) File "/usr/lib/python2.7/SocketServer.py", line 431, in server_bind self.socket.bind(self.server_address) File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) error: [Errno 98] Address already in use
BR
Try to check logs, there you can find the exact issue,,, its basically because of coding issue only...
Sorry for the long comment, but I'm apparently not authorized to update the question with additional information. After looking in the log, I'm wondering if this could this be related to an invalid PostgreSQL installation? I have no experience with PostgreSQL. Here is what I found in the openerp-server.log: 2016-05-26 20:05:57,515 4060 INFO ? openerp.addons.bus.models.bus: Bus.loop listen imbus on db postgres 2016-05-26 20:05:58,608 4060 INFO ? openerp.sql_db: Connection to the database failed 2016-05-26 20:05:58,608 4060 ERROR ? openerp.addons.bus.models.bus: Bus.loop error, sleep and retry Traceback (most recent call last): File "C:\Odoo 9.0-20160523\server\openerp\addons\bus\models\bus.py", line 168, in run File "C:\Odoo 9.0-20160523\server\openerp\addons\bus\models\bus.py", line 146, in loop File "C:\Odoo 9.0-20160523\server\.\openerp\sql_db.py", line 630, in cursor File "C:\Odoo 9.0-20160523\server\.\openerp\sql_db.py", line 164, in __init__ File "C:\Odoo 9.0-20160523\server\.\openerp\sql_db.py", line 513, in _locked File "C:\Odoo 9.0-20160523\server\.\openerp\sql_db.py", line 581, in borrow File "psycopg2\__init__.pyc", line 164, in connect OperationalError: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? I also found this in the openerp-server.conf: db_host = localhost db_maxconn = 64 db_name = False db_password = openpgpwd db_port = 5432 db_template = template1 db_user = openpg Does that look correct? Should db_name be false?