Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5917 มุมมอง

after giving the server command to start openerp i am getting the following error

OperationalError: Fatal : peer authentication failed for user

i have also made changes in server config file according system.

is there any other change for removing this error

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

In pg_hba.conf file

local all postgres peer

local all all trust

host all all 127.0.0.1/32 md5

host all all ::1/128 ident

อวตาร
ละทิ้ง
ผู้เขียน

but this pg_hba.conf file is not editable ... ..because it is saying that i dont have permission to open file

คำตอบที่ดีที่สุด

it is problem authentication of user database Postgresql .

try to start the server with option --db_user.

for example ./openerp-server --db_user=openerp --db_password=password_postgresql or verify parametres db_password and db_user in config file.

config file: /etc/openerp-server.conf

or on production mode : ~/.openerp_serverrc

อวตาร
ละทิ้ง