Comment 8 for bug 715231

Revision history for this message
fooflare (fooflare) wrote :

Hello again,

I am sorry, I have a new question about this issue, I have tried with ident and trust option in postgres configuration and I have no problem, I get this issue just when I use md5 connection.

This is what I get in sql_db.py in 302 line:

the user you can see in this line is my system user, not my db_user in openerp-server.conf.

user=amosoviedo dbname=template1
[2011-02-23 10:27:05,802][template1] ERROR:db.connection_pool:Connection to the database failed
Traceback (most recent call last):
  File "/home/amosoviedo/openerp6-trunk/openobject-server/openerp/sql_db.py", line 304, in borrow
    result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
OperationalError: fe_sendauth: no password supplied

This is the log when I start the server:

[2011-02-23 10:27:02,116][?] INFO:server:OpenERP version - 6.1-dev
[2011-02-23 10:27:02,117][?] INFO:server:addons_path - /home/amosoviedo/openerp6-trunk/openobject-addons
[2011-02-23 10:27:02,118][?] INFO:server:database hostname - localhost
[2011-02-23 10:27:02,118][?] INFO:server:database port - 5432
[2011-02-23 10:27:02,119][?] INFO:server:database user - openuser
[2011-02-23 10:27:02,119][?] INFO:server:initialising distributed objects services
[2011-02-23 10:27:02,145][?] INFO:web-services:starting HTTP service at 0.0.0.0 port 8069
[2011-02-23 10:27:02,147][?] INFO:web-services:starting HTTPS service at 0.0.0.0 port 8071
[2011-02-23 10:27:02,147][?] INFO:web-services:Registered XML-RPC over HTTP
[2011-02-23 10:27:02,149][?] INFO:web-services:starting NET-RPC service at 0.0.0.0 port 8070
[2011-02-23 10:27:02,150][?] INFO:server:Starting 3 services
[2011-02-23 10:27:02,153][?] INFO:server:OpenERP server is running, waiting for connections...

as you see my db_user is openuser. I am lost at all

Thanks and regards.