gpt4 book ai didi

ruby-on-rails - Sidekiq 死于以下错误 :NOAUTH Authentication required

转载 作者:可可西里 更新时间:2023-11-01 11:47:38 25 4
gpt4 key购买 nike

我在centos7.1部署gitlab,启动gitlab时出现错误:“pid 为 9307 的 GitLab Unicorn Web 服务器正在运行。GitLab Sidekiq 作业调度程序未运行。”我检查 sidekiq.log 如下:

2016-01-22T12:52:37.630Z 9990 TID-osgvasil4 INFO: [Sidetiq] Sidetiq v0.6.3 - Copyright (c) 2012-2013, Tobias Svensson <tob@tobiassvensson.co.uk>
2016-01-22T12:52:37.631Z 9990 TID-osgvasil4 INFO: [Sidetiq] Sidetiq is covered by the 3-clause BSD license.
2016-01-22T12:52:37.631Z 9990 TID-osgvasil4 INFO: [Sidetiq] See LICENSE and http://opensource.org/licenses/BSD-3-Clause for licensing details.
2016-01-22T12:52:37.631Z 9990 TID-osgvasil4 INFO: [Sidetiq] Sidetiq::Supervisor start
2016-01-22T12:52:37.632Z 9990 TID-osgvy7rgw INFO: [Sidetiq] Sidetiq::Actor::Clock id: 69937594813880 initialize
2016-01-22T12:52:37.633Z 9990 TID-osgvy6rww INFO: [Sidetiq] Sidetiq::Actor::Handler id: 69937594769280 initialize
2016-01-22T12:52:37.634Z 9990 TID-osgvy6kqk INFO: [Sidetiq] Sidetiq::Actor::Handler id: 69937594759400 initialize
2016-01-22T12:52:38.498Z 9990 TID-osgvasil4 INFO: Booting Sidekiq 3.3.0 with redis options {:url=>"redis://:REDACTED@127.0.0.1:6379", :namespace=>"resque:gitlab"}
2016-01-22T12:52:40.445Z 9990 TID-osgvasil4 INFO: Running in ruby 2.1.7p400 (2015-08-18 revision 51632) [x86_64-linux]
2016-01-22T12:52:40.445Z 9990 TID-osgvasil4 INFO: See LICENSE and the LGPL-3.0 for licensing details.
2016-01-22T12:52:40.445Z 9990 TID-osgvasil4 INFO: Upgrade to Sidekiq Pro for more features and support: http://sidekiq.org/pro
2016-01-22T12:52:40.534Z 9990 TID-osgwye4lc ERROR: heartbeat: ERR invalid password
2016-01-22T12:52:40.534Z 9990 TID-osgvjnc5c ERROR: Error fetching message: ERR invalid password
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis/client.rb:113:in `call'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis/client.rb:95:in `block in connect'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis/client.rb:279:in `with_reconnect'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis/client.rb:93:in `connect'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis/client.rb:262:in `with_socket_timeout'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis/client.rb:194:in `call_with_timeout'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis.rb:1064:in `block in _bpop'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis.rb:37:in `block in synchronize'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /usr/local/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis.rb:37:in `synchronize'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis.rb:1061:in `_bpop'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis.rb:1106:in `brpop'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-namespace-1.5.1/lib/redis/namespace.rb:392:in `call_with_namespace'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-namespace-1.5.1/lib/redis/namespace.rb:289:in `method_missing'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/fetch.rb:102:in `block in retrieve_work'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/connection_pool-2.1.0/lib/connection_pool.rb:58:in `with'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq.rb:72:in `redis'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/fetch.rb:102:in `retrieve_work'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/fetch.rb:37:in `block in fetch'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/util.rb:15:in `watchdog'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/fetch.rb:33:in `fetch'
2016-01-22T12:52:40.535Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
2016-01-22T12:52:40.536Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
2016-01-22T12:52:40.536Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
2016-01-22T12:52:40.536Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
2016-01-22T12:52:40.536Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
2016-01-22T12:52:40.536Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
2016-01-22T12:52:40.536Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
2016-01-22T12:52:40.536Z 9990 TID-osgvjnc5c ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2016-01-22T12:52:45.535Z 9990 TID-osgwye4lc ERROR: heartbeat: NOAUTH Authentication required.
2016-01-22T12:52:50.536Z 9990 TID-osgwye4lc ERROR: heartbeat: NOAUTH Authentication required.
2016-01-22T12:52:53.526Z 9990 TID-osgvjkvm4 ERROR: NOAUTH Authentication required.
2016-01-22T12:52:53.526Z 9990 TID-osgvjkvm4 ERROR: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis/client.rb:113:in `call'
2016-01-22T12:52:53.527Z 9990 TID-osgvjkvm4 WARN: {:context=>"scheduling poller thread died!"}
2016-01-22T12:52:53.527Z 9990 TID-osgvjkvm4 WARN: NOAUTH Authentication required.
2016-01-22T12:52:53.527Z 9990 TID-osgvjkvm4 WARN: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis/client.rb:113:in `call'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis.rb:1320:in `block in smembers'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis.rb:37:in `block in synchronize'
/usr/local/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis.rb:37:in `synchronize'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis.rb:1319:in `smembers'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-namespace-1.5.1/lib/redis/namespace.rb:392:in `call_with_namespace'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-namespace-1.5.1/lib/redis/namespace.rb:289:in `method_missing'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/api.rb:557:in `block in cleanup'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/connection_pool-2.1.0/lib/connection_pool.rb:58:in `with'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq.rb:72:in `redis'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/api.rb:556:in `cleanup'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/api.rb:549:in `initialize'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/scheduled.rb:79:in `new'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/scheduled.rb:79:in `poll_interval'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/scheduled.rb:58:in `block in poll'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/util.rb:15:in `watchdog'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/sidekiq-3.3.0/lib/sidekiq/scheduled.rb:23:in `poll'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2016-01-22T12:52:53.527Z 9990 TID-osgwye73c WARN: Sidekiq died due to the following error, cannot recover, process exiting
2016-01-22T12:52:53.527Z 9990 TID-osgwye73c WARN: NOAUTH Authentication required.
2016-01-22T12:52:53.527Z 9990 TID-osgwye73c WARN: /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/redis-3.2.1/lib/redis/client.rb:113:in `call'

我真的不知道如何解决它。谢谢!

最佳答案

您是否验证过 redis 密码是否正确,而且它看起来应该与您设置的不同。

configure redis auth on sidekiq

关于ruby-on-rails - Sidekiq 死于以下错误 :NOAUTH Authentication required,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34947299/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com