Advertisement
Guest User

Untitled

a guest
Jun 14th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. E, [2016-06-14T22:42:19.384405 #7872] ERROR -- : GSSAPI continuation error: Unspecified GSS failure. Minor code may provide more information
  2. GSSAPI continuation error: No Kerberos credentials available
  3. n/usr/local/lib/ruby/gems/2.2.0/gems/activerecord-4.1.4/lib/active_record /connection_adapters/postgresql_adapter.rb:888:in `initialize'n/usr/local/lib/ruby/gems/2.2.0/gems/activerecord-4.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:888:in `new'n/usr/local/lib/ruby/gems/2.2.0/gems/activerecord-4.1
  4.  
  5. connection_params = {
  6. host: 'myserver.ru',
  7. username: 'myuser',
  8. krbsrvname: 'postgres',
  9. }
  10. connection_config = ActiveRecord::Base.connection_config.except(:username, :password, :host).merge(connection_params)
  11. ActiveRecord::Base.establish_connection(connection_config)
  12.  
  13. development:
  14. adapter: postgresql
  15. encoding: unicode
  16. database: development
  17. host: localhost
  18. pool: 5
  19. username: postgres
  20. password: postgres
  21.  
  22. # TYPE DATABASE USER ADDRESS METHOD
  23. host all all 192.168.0.0/16 gss include_realm=0 krb_realm=MYSERVER.RU
  24. host all postgres 127.0.0.1/32 md5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement