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
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 802][template1] ERROR:db. connection_ pool:Connection to the database failed amosoviedo/ openerp6- trunk/openobjec t-server/ openerp/ sql_db. py", line 304, in borrow connect( dsn=dsn, connection_ factory= PsycoConnection )
[2011-02-23 10:27:05,
Traceback (most recent call last):
File "/home/
result = psycopg2.
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 addons_ path - /home/amosovied o/openerp6- trunk/openobjec t-addons database hostname - localhost database port - 5432 database user - openuser initialising distributed objects services services: starting HTTP service at 0.0.0.0 port 8069 services: starting HTTPS service at 0.0.0.0 port 8071 services: Registered XML-RPC over HTTP services: starting NET-RPC service at 0.0.0.0 port 8070 Starting 3 services
[2011-02-23 10:27:02,117][?] INFO:server:
[2011-02-23 10:27:02,118][?] INFO:server:
[2011-02-23 10:27:02,118][?] INFO:server:
[2011-02-23 10:27:02,119][?] INFO:server:
[2011-02-23 10:27:02,119][?] INFO:server:
[2011-02-23 10:27:02,145][?] INFO:web-
[2011-02-23 10:27:02,147][?] INFO:web-
[2011-02-23 10:27:02,147][?] INFO:web-
[2011-02-23 10:27:02,149][?] INFO:web-
[2011-02-23 10:27:02,150][?] INFO:server:
[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.