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

Internal Server Error : help please

By
Imen
on 4/14/14, 8:08 AM 1,832 views

Internal Server Error {"message": "OpenERP Server Error", "code": 200, "data": {"debug": "Server Traceback (most recent call last):\n File \"/opt/openerp/v7/web/addons/web/session.py\", line 89, in send\n return openerp.netsvc.dispatch_rpc(service_name, method, args)\n File \"/opt/openerp/v7/server/openerp/netsvc.py\", line 296, in dispatch_rpc\n result = ExportService.getService(service_name).dispatch(method, params)\n File \"/opt/openerp/v7/server/openerp/service/web_services.py\", line 122, in dispatch\n return fn(params)\n File \"/opt/openerp/v7/server/openerp/service/web_services.py\", line 359, in exp_list\n cr = db.cursor()\n File \"/opt/openerp/v7/server/openerp/sql_db.py\", line 484, in cursor\n return Cursor(self.__pool, self.dbname, serialized=serialized)\n File \"/opt/openerp/v7/server/openerp/sql_db.py\", line 182, in __init__\n self._cnx = pool.borrow(dsn(dbname))\n File \"/opt/openerp/v7/server/openerp/sql_db.py\", line 377, in _locked\n return fun(self, *args, *kwargs)\n File \"/opt/openerp/v7/server/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: Peer authentication failed for user \"openerp\"\n\n\nClient Traceback (most recent call last):\n File \"/opt/openerp/v7/web/addons/web/http.py\", line 285, in dispatch\n r = method(self, **self.params)\n File \"/opt/openerp/v7/web/addons/web/controllers/main.py\", line 570, in index\n db, redir = db_monodb_redirect(req)\n File \"/opt/openerp/v7/web/addons/web/controllers/main.py\", line 98, in db_monodb_redirect\n return db_redirect(req, not config['list_db'])\n File \"/opt/openerp/v7/web/addons/web/controllers/main.py\", line 109, in db_redirect\n dbs = db_list(req, True)\n File \"/opt/openerp/v7/web/addons/web/controllers/main.py\", line 90, in db_list\n dbs = proxy.list(force)\n File \"/opt/openerp/v7/web/addons/web/session.py\", line 30, in proxy_method\n result = self.session.send(self.service_name, method, *args)\n File \"/opt/openerp/v7/web/addons/web/session.py\", line 103, in send\n raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)\nFault: <fault fatal:="" peer="" authentication="" failed="" for="" user="" \"openerp\"\n:="" 'traceback="" (most="" recent="" call="" last):\\n="" file="" \"="" opt="" openerp="" v7="" web="" addons="" web="" session.py\",="" line="" 89,="" in="" send\\n="" return="" openerp.netsvc.dispatch_rpc(service_name,="" method,="" args)\\n="" file="" \"="" opt="" openerp="" v7="" server="" openerp="" netsvc.py\",="" line="" 296,="" in="" dispatch_rpc\\n="" result="ExportService.getService(service_name).dispatch(method," params)\\n="" file="" \"="" opt="" openerp="" v7="" server="" openerp="" service="" web_services.py\",="" line="" 122,="" in="" dispatch\\n="" return="" fn(*params)\\n="" file="" \"="" opt="" openerp="" v7="" server="" openerp="" service="" web_services.py\",="" line="" 359,="" in="" exp_list\\n="" cr="db.cursor()\\n" file="" \"="" opt="" openerp="" v7="" server="" openerp="" sql_db.py\",="" line="" 484,="" in="" cursor\\n="" return="" cursor(self.__pool,="" self.dbname,="" serialized="serialized)\\n" file="" \"="" opt="" openerp="" v7="" server="" openerp="" sql_db.py\",="" line="" 182,="" in="" __init__\\n="" self._cnx="pool.borrow(dsn(dbname))\\n" file="" \"="" opt="" openerp="" v7="" server="" openerp="" sql_db.py\",="" line="" 377,="" in="" _locked\\n="" return="" fun(self,="" *args,="" **kwargs)\\n="" file="" \"="" opt="" openerp="" v7="" server="" 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:="" peer="" authentication="" failed="" for="" user="" \"openerp\"\\n\\n'="">\n", "fault_code": "FATAL: Peer authentication failed for user \"openerp\"\n", "type": "server_exception"}}

When you face this error

Jagdish Panchal
on 4/14/14, 8:19 AM

when i try to runing server with eclipse?

Imen
on 4/14/14, 8:35 AM

Means when you start your server at that time you facing this error ?

Jagdish Panchal
on 4/14/14, 8:40 AM

ok thank you problem is solved

Imen
on 4/14/14, 10:34 AM
0

Jagdish Panchal

--Jagdish Panchal--
2674
| 5 3 6
Gandhinagar, India
--Jagdish Panchal--

OpenERP Developer

Jagdish Panchal
On 4/14/14, 8:54 AM

Hi,

Try this command:

sudo su openerp

go in openerp Directory and start your server.

Thanks

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

0 follower(s)

Stats

Asked: 4/14/14, 8:08 AM
Seen: 1832 times
Last updated: 3/16/15, 8:10 AM