ЗаписиFATAL: Ident authentication failed for user “openerp”

If you see this error, try to change ‘ident’ to ‘md5′ in file /etc/postgresql/9.0/main/pg_hba.conf

It works!