Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Ubuntu Linux 12.04 64-bit after Installation Internal Server Error

By
Sven Meikel Auer
on 7/8/13, 3:18 PM 11,736 views

Hi,

After the Installation over apt-get I become on Internal Server Error.

--------------------------------- INTERNAL SERVER ERROR - Begin ----------------------------- {"message": "OpenERP Server Error", "code": 200, "data": {"debug": "Server Traceback (most recent call last):\n File \"/usr/lib/pymodules/python2.7/openerp/addons/web/session.py\", line 89, in send\n return openerp.netsvc.dispatch_rpc(service_name, method, args)\n File \"/usr/lib/pymodules/python2.7/openerp/netsvc.py\", line 292, in dispatch_rpc\n result = ExportService.getService(service_name).dispatch(method, params)\n File \"/usr/lib/pymodules/python2.7/openerp/service/web_services.py\", line 122, in dispatch\n return fn(params)\n File \"/usr/lib/pymodules/python2.7/openerp/service/web_services.py\", line 359, in exp_list\n cr = db.cursor()\n File \"/usr/lib/pymodules/python2.7/openerp/sql_db.py\", line 484, in cursor\n return Cursor(self._pool, self.dbname, serialized=serialized)\n File \"/usr/lib/pymodules/python2.7/openerp/sql_db.py\", line 182, in __init__\n self._cnx = pool.borrow(dsn(dbname))\n File \"/usr/lib/pymodules/python2.7/openerp/sql_db.py\", line 377, in _locked\n return fun(self, *args, *kwargs)\n File \"/usr/lib/pymodules/python2.7/openerp/sql_db.py\", line 440, in borrow\n result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)\n File \"/usr/lib/python2.7/dist-packages/psycopg2/__init__.py\", line 179, in connect\n connection_factory=connection_factory, async=async)\nOperationalError: FATAL: role \"openerp\" does not exist\n\n\nClient Traceback (most recent call last):\n File \"/usr/lib/pymodules/python2.7/openerp/addons/web/http.py\", line 285, in dispatch\n r = method(self, **self.params)\n File \"/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py\", line 573, in index\n db, redir = db_monodb_redirect(req)\n File \"/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py\", line 98, in db_monodb_redirect\n return db_redirect(req, not config['list_db'])\n File \"/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py\", line 109, in db_redirect\n dbs = db_list(req, True)\n File \"/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py\", line 90, in db_list\n dbs = proxy.list(force)\n File \"/usr/lib/pymodules/python2.7/openerp/addons/web/session.py\", line 30, in proxy_method\n result = self.session.send(self.service_name, method, *args)\n File \"/usr/lib/pymodules/python2.7/openerp/addons/web/session.py\", line 103, in send\n raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)\nFault: <fault fatal:="" role="" \"openerp\"="" does="" not="" exist\n:="" 'traceback="" (most="" recent="" call="" last):\\n="" file="" \"="" usr="" lib="" pymodules="" python2.7="" openerp="" addons="" web="" session.py\",="" line="" 89,="" in="" send\\n="" return="" openerp.netsvc.dispatch_rpc(service_name,="" method,="" args)\\n="" file="" \"="" usr="" lib="" pymodules="" python2.7="" openerp="" netsvc.py\",="" line="" 292,="" in="" dispatch_rpc\\n="" result="ExportService.getService(service_name).dispatch(method," params)\\n="" file="" \"="" usr="" lib="" pymodules="" python2.7="" openerp="" service="" web_services.py\",="" line="" 122,="" in="" dispatch\\n="" return="" fn(*params)\\n="" file="" \"="" usr="" lib="" pymodules="" python2.7="" openerp="" service="" web_services.py\",="" line="" 359,="" in="" exp_list\\n="" cr="db.cursor()\\n" file="" \"="" usr="" lib="" pymodules="" python2.7="" openerp="" sql_db.py\",="" line="" 484,="" in="" cursor\\n="" return="" cursor(self._pool,="" self.dbname,="" serialized="serialized)\\n" file="" \"="" usr="" lib="" pymodules="" python2.7="" openerp="" sql_db.py\",="" line="" 182,="" in="" __init__\\n="" self._cnx="pool.borrow(dsn(dbname))\\n" file="" \"="" usr="" lib="" pymodules="" python2.7="" openerp="" sql_db.py\",="" line="" 377,="" in="" _locked\\n="" return="" fun(self,="" *args,="" **kwargs)\\n="" file="" \"="" usr="" lib="" pymodules="" python2.7="" openerp="" sql_db.py\",="" line="" 440,="" in="" borrow\\n="" result="psycopg2.connect(dsn=dsn," connection_factory="PsycoConnection)\\n" file="" \"="" usr="" lib="" python2.7="" dist-packages="" psycopg2="" __init__.py\",="" line="" 179,="" in="" connect\\n="" connection_factory="connection_factory," async="async)\\nOperationalError:" fatal:="" role="" \"openerp\"="" does="" not="" exist\\n\\n'="">\n", "fault_code": "FATAL: role \"openerp\" does not exist\n", "type": "server_exception"}} --------------------------------- INTERNAL SERVER ERROR - END -----------------------------

In the openerp-server.log I found this.

-------------------------------- OPENERP-SERVER.LOG - Begin --------------------------------- 2013-07-08 16:50:30,698 9423 INFO ? openerp: OpenERP version 7.0-20130707-231033 2013-07-08 16:50:30,698 9423 INFO ? openerp: addons paths: /usr/lib/pymodules/python2.7/openerp/addons 2013-07-08 16:50:30,698 9423 INFO ? openerp: database hostname: localhost 2013-07-08 16:50:30,698 9423 INFO ? openerp: database port: 5432 2013-07-08 16:50:30,698 9423 INFO ? openerp: database user: openerp 2013-07-08 16:50:31,522 9423 INFO ? openerp.addons.google_docs.google_docs: GData lib version %s GData-Python/2.0.14 detected 2013-07-08 16:50:32,072 9423 INFO ? openerp.service.wsgi_server: HTTP service (werkzeug) running on 0.0.0.0:8069 2013-07-08 16:50:32,073 9423 INFO ? openerp: OpenERP server is running, waiting for connections... 2013-07-08 16:51:33,736 9857 INFO ? openerp: OpenERP version 7.0-20130707-231033 2013-07-08 16:51:33,736 9857 INFO ? openerp: addons paths: /usr/lib/pymodules/python2.7/openerp/addons 2013-07-08 16:51:33,736 9857 INFO ? openerp: database hostname: localhost 2013-07-08 16:51:33,736 9857 INFO ? openerp: database port: 5432 2013-07-08 16:51:33,736 9857 INFO ? openerp: database user: openerp 2013-07-08 16:51:34,106 9857 INFO ? openerp.addons.google_docs.google_docs: GData lib version %s GData-Python/2.0.14 detected 2013-07-08 16:51:34,385 9857 INFO ? openerp: OpenERP server is running, waiting for connections... 2013-07-08 16:51:42,461 9857 INFO ? openerp.service: Initiating shutdown 2013-07-08 16:51:42,461 9857 INFO ? openerp.service: Hit CTRL-C again or send a second signal to force the shutdown. 2013-07-08 16:51:43,876 9873 INFO ? openerp: OpenERP version 7.0-20130707-231033 2013-07-08 16:51:43,876 9873 INFO ? openerp: addons paths: /usr/lib/pymodules/python2.7/openerp/addons 2013-07-08 16:51:43,876 9873 INFO ? openerp: database hostname: localhost 2013-07-08 16:51:43,877 9873 INFO ? openerp: database port: 5432 2013-07-08 16:51:43,877 9873 INFO ? openerp: database user: openerp 2013-07-08 16:51:44,238 9873 INFO ? openerp.addons.google_docs.google_docs: GData lib version %s GData-Python/2.0.14 detected 2013-07-08 16:51:44,504 9873 INFO ? openerp: OpenERP server is running, waiting for connections... 2013-07-08 16:51:57,471 9423 ERROR ? openerp.sql_db: Connection to the database failed Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 440, in borrow result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: FATAL: role "openerp" does not exist

2013-07-08 16:51:57,472 9423 ERROR ? openerp.netsvc: FATAL: role "openerp" does not exist Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 122, in dispatch return fn(params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 359, in exp_list cr = db.cursor() File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 484, in cursor return Cursor(self._pool, self.dbname, serialized=serialized) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 182, in __init__ self._cnx = pool.borrow(dsn(dbname)) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 377, in _locked return fun(self, *args, *kwargs) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 440, in borrow result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: FATAL: role "openerp" does not exist

2013-07-08 16:51:57,475 9423 INFO ? werkzeug: 108.x.x.x - - [08/Jul/2013 16:51:57] "GET / HTTP/1.1" 500 - 2013-07-08 16:59:31,362 9423 ERROR ? openerp.sql_db: Connection to the database failed Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 440, in borrow result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: FATAL: role "openerp" does not exist

2013-07-08 16:59:31,362 9423 ERROR ? openerp.netsvc: FATAL: role "openerp" does not exist Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 122, in dispatch return fn(params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 359, in exp_list cr = db.cursor() File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 484, in cursor return Cursor(self._pool, self.dbname, serialized=serialized) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 182, in __init__ self._cnx = pool.borrow(dsn(dbname)) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 377, in _locked return fun(self, *args, *kwargs) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 440, in borrow result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: FATAL: role "openerp" does not exist

2013-07-08 16:59:31,363 9423 INFO ? werkzeug: 108.x.x.x - - [08/Jul/2013 16:59:31] "GET / HTTP/1.1" 500 - 2013-07-08 16:59:35,871 9423 ERROR ? openerp.sql_db: Connection to the database failed Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 440, in borrow result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: FATAL: role "openerp" does not exist

2013-07-08 16:59:35,871 9423 ERROR ? openerp.netsvc: FATAL: role "openerp" does not exist Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 122, in dispatch return fn(params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 359, in exp_list cr = db.cursor() File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 484, in cursor return Cursor(self._pool, self.dbname, serialized=serialized) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 182, in __init__ self._cnx = pool.borrow(dsn(dbname)) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 377, in _locked return fun(self, *args, *kwargs) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 440, in borrow result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: FATAL: role "openerp" does not exist

2013-07-08 16:59:35,872 9423 INFO ? werkzeug: 108.x.x.x - - [08/Jul/2013 16:59:35] "GET / HTTP/1.1" 500 - 2013-07-08 16:59:47,041 11381 INFO ? openerp: OpenERP version 7.0-20130707-231033 2013-07-08 16:59:47,042 11381 INFO ? openerp: addons paths: /usr/lib/pymodules/python2.7/openerp/addons 2013-07-08 16:59:47,042 11381 INFO ? openerp: database hostname: localhost 2013-07-08 16:59:47,042 11381 INFO ? openerp: database port: 5432 2013-07-08 16:59:47,042 11381 INFO ? openerp: database user: openerp 2013-07-08 16:59:47,416 11381 INFO ? openerp.addons.google_docs.google_docs: GData lib version %s GData-Python/2.0.14 detected 2013-07-08 16:59:47,711 11381 INFO ? openerp: OpenERP server is running, waiting for connections... 2013-07-08 16:59:52,964 11381 INFO ? openerp.service: Initiating shutdown 2013-07-08 16:59:52,964 11381 INFO ? openerp.service: Hit CTRL-C again or send a second signal to force the shutdown. 2013-07-08 16:59:54,375 11396 INFO ? openerp: OpenERP version 7.0-20130707-231033 2013-07-08 16:59:54,375 11396 INFO ? openerp: addons paths: /usr/lib/pymodules/python2.7/openerp/addons 2013-07-08 16:59:54,375 11396 INFO ? openerp: database hostname: localhost 2013-07-08 16:59:54,375 11396 INFO ? openerp: database port: 5432 2013-07-08 16:59:54,376 11396 INFO ? openerp: database user: openerp 2013-07-08 16:59:54,740 11396 INFO ? openerp.addons.google_docs.google_docs: GData lib version %s GData-Python/2.0.14 detected 2013-07-08 16:59:55,007 11396 INFO ? openerp: OpenERP server is running, waiting for connections... 2013-07-08 16:59:59,309 9423 ERROR ? openerp.sql_db: Connection to the database failed Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 440, in borrow result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: FATAL: role "openerp" does not exist

2013-07-08 16:59:59,310 9423 ERROR ? openerp.netsvc: FATAL: role "openerp" does not exist Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 122, in dispatch return fn(params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 359, in exp_list cr = db.cursor() File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 484, in cursor return Cursor(self._pool, self.dbname, serialized=serialized) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 182, in __init__ self._cnx = pool.borrow(dsn(dbname)) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 377, in _locked return fun(self, *args, *kwargs) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 440, in borrow result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection) File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect connection_factory=connection_factory, async=async) OperationalError: FATAL: role "openerp" does not exist

2013-07-08 16:59:59,311 9423 INFO ? werkzeug: 108.x.x.x - - [08/Jul/2013 16:59:59] "GET / HTTP/1.1" 500 -

-------------------------------- OPENERP-SERVER.LOG - End ---------------------------------

I hope someone can help me. The installation was done on a fresh Ubuntu. You just will not work. Always get the Internal Server Error right after installation when I open the page on the web browser.

Greetings Sven

3

patrick

--patrick--
1958
| 5 4 7
Baarn, Netherlands
--patrick--
patrick
On 7/8/13, 3:38 PM

The issue is that the user/role openerp is not defined within postgreSQL.

Solution:

On a terminal, type the following:

sudo su - postgres
createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp

It will ask you for a password for the role/user openerp, type it twice. When done, quit the user postgres:

exit

You should be able to use openERP now. It has been a while I have installed openERP on a new Ubuntu 12.04.2 server, you might have to add the username and/or password to a specific file. Just let us know if the above was not enough.

On Odoo 9 change user openerp to odoo. That did the trick.

Igor Pereira
on 2/29/16, 9:56 AM
0
joris Dobbelaer
On 4/16/14, 3:12 PM

Had the same problem after a fresh install of ubuntu 12.04 and openerp.

What worked for me was upgrading to postgresql 9.3

This are all the things I did:

edit your sources.list and add the repository for postgresql 9.3 which you can find the address on the postgresql website (I am not allowed to post links here, not enough karma)

sudo apt-get update 

sudo apt-get install postgresql-9.3 postgresql-contrib-9.3

sudo pg_createcluster 9.3 main --start

after that

 sudo su - postgres createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp

And then the openerp install starts working on localhost:8069

0
Sven Meikel Auer
On 7/8/13, 4:10 PM

Hi patrick ,

Hi patrick,

thanks you for your help.

I am one step further. Now I get the Data Management at Create the following error message.

OpenERP Server Error

Client Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 204, in dispatch response["result"] = method(self, **self.params) File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 777, in create params['create_admin_pwd']) File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 122, in dispatch return fn(params) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 167, in exp_create_database self._create_empty_database(db_name) File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 136, in _create_empty_database cr.execute("""CREATE DATABASE "%s" ENCODING 'unicode' TEMPLATE "%s" """ % (name, chosen_template)) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 161, in wrapper return f(self, *args, *kwargs) File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 226, in execute res = self._obj.execute(query, params) DataError: encoding UTF8 does not match locale en_US DETAIL: The chosen LC_CTYPE setting requires encoding LATIN1.

I hope you can help me again. Or maybe someone else has another idea what it could be.

Greetings Sven

I answer this in you second opened question

Tuxservices, Jeudy Nicolas
on 7/8/13, 6:27 PM
0
Tariq
On 3/10/14, 5:29 PM

Hello,

This is the error I got with Cent Os 64bit

Internal Server Error {"message": "OpenERP Server Error", "code": 200, "data": {"debug": "Server Traceback (most recent call last):\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/addons/web/session.py\", line 89, in send\n return openerp.netsvc.dispatch_rpc(service_name, method, args)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/netsvc.py\", line 292, in dispatch_rpc\n result = ExportService.getService(service_name).dispatch(method, params)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/service/web_services.py\", line 122, in dispatch\n return fn(params)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/service/web_services.py\", line 359, in exp_list\n cr = db.cursor()\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/sql_db.py\", line 484, in cursor\n return Cursor(self._pool, self.dbname, serialized=serialized)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/sql_db.py\", line 182, in __init__\n self._cnx = pool.borrow(dsn(dbname))\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/sql_db.py\", line 377, in _locked\n return fun(self, *args, *kwargs)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/sql_db.py\", line 440, in borrow\n result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)\n File \"/usr/lib64/python2.6/site-packages/psycopg2/__init__.py\", line 164, in connect\n conn = _connect(dsn, connection_factory=connection_factory, async=async)\nOperationalError: FATAL: no pg_hba.conf entry for host \"[local]\", user \"openerp\", database \"postgres\", SSL off\n\n\nClient Traceback (most recent call last):\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/addons/web/http.py\", line 285, in dispatch\n r = method(self, **self.params)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/addons/web/controllers/main.py\", line 570, in index\n db, redir = db_monodb_redirect(req)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/addons/web/controllers/main.py\", line 98, in db_monodb_redirect\n return db_redirect(req, not config['list_db'])\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/addons/web/controllers/main.py\", line 109, in db_redirect\n dbs = db_list(req, True)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/addons/web/controllers/main.py\", line 90, in db_list\n dbs = proxy.list(force)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/addons/web/session.py\", line 30, in proxy_method\n result = self.session.send(self.service_name, method, *args)\n File \"/usr/lib/python2.6/site-packages/openerp-7.0_20140310_003041-py2.6.egg/openerp/addons/web/session.py\", line 103, in send\n raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)\nFault: <fault fatal:="" no="" pg_hba.conf="" entry="" for="" host="" \"[local]\",="" user="" \"openerp\",="" database="" \"postgres\",="" ssl="" off\n:="" 'traceback="" (most="" recent="" call="" last):\\n="" file="" \"="" usr="" lib="" python2.6="" site-packages="" openerp-7.0_20140310_003041-py2.6.egg="" openerp="" addons="" web="" session.py\",="" line="" 89,="" in="" send\\n="" return="" openerp.netsvc.dispatch_rpc(service_name,="" method,="" args)\\n="" file="" \"="" usr="" lib="" python2.6="" site-packages="" openerp-7.0_20140310_003041-py2.6.egg="" openerp="" netsvc.py\",="" line="" 292,="" in="" dispatch_rpc\\n="" result="ExportService.getService(service_name).dispatch(method," params)\\n="" file="" \"="" usr="" lib="" python2.6="" site-packages="" openerp-7.0_20140310_003041-py2.6.egg="" openerp="" service="" web_services.py\",="" line="" 122,="" in="" dispatch\\n="" return="" fn(*params)\\n="" file="" \"="" usr="" lib="" python2.6="" site-packages="" openerp-7.0_20140310_003041-py2.6.egg="" openerp="" service="" web_services.py\",="" line="" 359,="" in="" exp_list\\n="" cr="db.cursor()\\n" file="" \"="" usr="" lib="" python2.6="" site-packages="" openerp-7.0_20140310_003041-py2.6.egg="" openerp="" sql_db.py\",="" line="" 484,="" in="" cursor\\n="" return="" cursor(self._pool,="" self.dbname,="" serialized="serialized)\\n" file="" \"="" usr="" lib="" python2.6="" site-packages="" openerp-7.0_20140310_003041-py2.6.egg="" openerp="" sql_db.py\",="" line="" 182,="" in="" __init__\\n="" self._cnx="pool.borrow(dsn(dbname))\\n" file="" \"="" usr="" lib="" python2.6="" site-packages="" openerp-7.0_20140310_003041-py2.6.egg="" openerp="" sql_db.py\",="" line="" 377,="" in="" _locked\\n="" return="" fun(self,="" *args,="" **kwargs)\\n="" file="" \"="" usr="" lib="" python2.6="" site-packages="" openerp-7.0_20140310_003041-py2.6.egg="" openerp="" sql_db.py\",="" line="" 440,="" in="" borrow\\n="" result="psycopg2.connect(dsn=dsn," connection_factory="PsycoConnection)\\n" file="" \"="" usr="" lib64="" python2.6="" site-packages="" psycopg2="" __init__.py\",="" line="" 164,="" in="" connect\\n="" conn="_connect(dsn," connection_factory="connection_factory," async="async)\\nOperationalError:" fatal:="" no="" pg_hba.conf="" entry="" for="" host="" \"[local]\",="" user="" \"openerp\",="" database="" \"postgres\",="" ssl="" off\\n\\n'="">\n", "fault_code": "FATAL: no pg_hba.conf entry for host \"[local]\", user \"openerp\", database \"postgres\", SSL off\n", "type": "server_exception"}}

Please, Help me and point me to the correct answer as am very new on this :(

Thank you, Regards, Tariq

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/8/13, 3:18 PM
Seen: 11736 times
Last updated: 3/16/15, 8:10 AM