dimanche 16 novembre 2014

Gitlab 7.4.3: PG::Error Peer-Authentifizierung fehlgeschlagen


Vote count:

0




the follow problem started after i solved the first problem i describe here: GitLab 7.4.3 HTTP-Code 500: Could not connect to Server


After i solved this problem i have the follow problem:



Started GET "/" for 46.5.2.201 at 2014-11-16 13:43:34 -0600
PG::Error (FATAL: Peer-Authentifizierung f?r Benutzer >>gitlab<< fehlgeschlagen
):
activerecord (4.1.1) lib/active_record/connection_adapters /postgresql_adapter.rb:881:in initialize'
activerecord (4.1.1) lib/active_record/connection_adapters/postgresql_adapter.rb:881:in new'
activerecord (4.1.1) lib/active_record/connection_adapters/postgresql_adapter.rb:881:in connect'
activerecord (4.1.1) lib/active_record/connection_adapters/postgresql_adapter.rb:568:in initialize'
activerecord (4.1.1) lib/active_record/connection_adapters/postgresql_adapter.rb:41:in new'
activerecord (4.1.1) lib/active_record/connection_adapters/postgresql_adapter.rb:41:in postgresql_connection'
activerecord (4.1.1) lib/active_record/connection_adapters/abstract /connection_pool.rb:435:in 'new_connection'
activerecord (4.1.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:445:in 'checkout_new_connection'
activerecord (4.1.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in 'acquire_connection'
activerecord (4.1.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:351:in 'block in checkout'
/opt/gitlab/embedded/lib/ruby/2.1.0/monitor.rb:211:in 'mon_synchronize'
activerecord (4.1.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:350:in checkout'
activerecord (4.1.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in block in connection'
/opt/gitlab/embedded/lib/ruby/2.1.0/monitor.rb:211:in 'mon_synchronize'
activerecord (4.1.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in 'connection'
activerecord (4.1.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:541:in 'retrieve_connection'
activerecord (4.1.1) lib/active_record/connection_handling.rb:113:in 'retrieve_connection'
activerecord (4.1.1) lib/active_record/connection_handling.rb:87:in 'connection'
activerecord (4.1.1) lib/active_record/query_cache.rb:51:in 'restore_query_cache_settings'
activerecord (4.1.1) lib/active_record/query_cache.rb:43:in 'rescue in call'
activerecord (4.1.1) lib/active_record/query_cache.rb:32:in 'call'
activerecord (4.1.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in 'call'
actionpack (4.1.1) lib/action_dispatch/middleware/callbacks.rb:29:in 'block in call'
activesupport (4.1.1) lib/active_support/callbacks.rb:82:in 'run_callbacks'
actionpack (4.1.1) lib/action_dispatch/middleware/callbacks.rb:27:in 'call'
actionpack (4.1.1) lib/action_dispatch/middleware/remote_ip.rb:76:in 'call'
actionpack (4.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in 'call'
actionpack (4.1.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in 'call'
railties (4.1.1) lib/rails/rack/logger.rb:38:in 'call_app'
railties (4.1.1) lib/rails/rack/logger.rb:20:in 'block in call'
activesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in 'block in tagged'
activesupport (4.1.1) lib/active_support/tagged_logging.rb:26:in 'tagged'
activesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in 'tagged'
railties (4.1.1) lib/rails/rack/logger.rb:20:in 'call'
actionpack (4.1.1) lib/action_dispatch/middleware/request_id.rb:21:in 'call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in 'call'
rack (1.5.2) lib/rack/runtime.rb:17:in 'call'
rack (1.5.2) lib/rack/lock.rb:17:in 'call'
rack (1.5.2) lib/rack/sendfile.rb:112:in 'call'
railties (4.1.1) lib/rails/engine.rb:514:in 'call'
railties (4.1.1) lib/rails/application.rb:144:in 'call'
railties (4.1.1) lib/rails/railtie.rb:194:in 'public_send'
railties (4.1.1) lib/rails/railtie.rb:194:in 'method_missing'
rack (1.5.2) lib/rack/builder.rb:138:in 'call'
rack (1.5.2) lib/rack/urlmap.rb:65:in 'block in call'
rack (1.5.2) lib/rack/urlmap.rb:50:in 'each'
rack (1.5.2) lib/rack/urlmap.rb:50:in 'call'
unicorn (4.6.3) lib/unicorn/http_server.rb:552:in 'process_client'
unicorn-worker-killer (0.4.2) lib/unicorn/worker_killer.rb:51:in 'process_client'
unicorn (4.6.3) lib/unicorn/http_server.rb:632:in 'worker_loop'
unicorn (4.6.3) lib/unicorn/http_server.rb:500:in 'spawn_missing_workers'
unicorn (4.6.3) lib/unicorn/http_server.rb:142:in 'start'
unicorn (4.6.3) bin/unicorn:126:in '<top (required)>'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/bin/unicorn:23:in 'load'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/bin/unicorn:23:in '<main>'


Until now i have created the gitlab user for postgresql and i have created the gitlabhq_production database.


I run the gitlab as root while as not-root user there appear many no permission errors.



asked 1 min ago







Gitlab 7.4.3: PG::Error Peer-Authentifizierung fehlgeschlagen

Aucun commentaire:

Enregistrer un commentaire