Guest User

Untitled

a guest
Oct 3rd, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. [root@backup soft]# netstat -tupln | grep 5432
  2. tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN 27533/postmaster
  3. tcp 0 0 :::5432 :::* LISTEN 27533/postmaster
  4.  
  5. psql -d openerp -U openerp -W
  6. Password for user openerp:
  7. psql: FATAL: Ident authentication failed for user "openerp"
  8.  
  9. [options]
  10. ; This is the password that allows database operations:
  11. ; admin_passwd = admin
  12. db_host = localhost
  13. db_port = 5432
  14. db_user = openerp
  15. db_password = *********
  16.  
  17. local all all ident
  18. host all all 127.0.0.1/32 ident
  19. host all all 192.168.7.4/32 ident
  20.  
  21. sudo su - postgres
  22.  
  23. ALTER USER openerp WITH PASSWORD '<fill with wathever password you want>';
  24.  
  25. python openerp-server -r <db_user> -w <password_db_user>
Add Comment
Please, Sign In to add comment