本帖最后由 卌巜珡 于 2024-5-16 17:14 编辑
本帖最后由 卌巜珡 于 2024-5-16 17:06 编辑
本帖最后由 卌巜珡 于 2024-5-16 16:58 编辑
安装16.11.1版本的gitlab并且gitlab.rb配置了外部的Redis(集群模式)、Nginx、PG,还使用了对象存储,reconfigure正常通过,但是启动失败。跟踪日志显示gitlab.socket创建失败,但是看了下不存在端口冲突的情况。Redis集群模式的配置应该没错吧?
==> /var/log/gitlab/gitaly/current <== {"level":"info","msg":"maintenance: daily scheduled","pid":8252,"scheduled":"2024-05-17T12:00:00+08:00","time":"2024-05-16T08:05:50.318Z"} {"duration_ms":2494,"level":"info","msg":"License database preloaded","pid":8252,"time":"2024-05-16T08:05:52.786Z"} {"level":"warning","msg":"forwarding signal","pid":8246,"process":8252,"signal":15,"time":"2024-05-16T08:16:34.526Z","wrapper":8246} {"level":"warning","msg":"forwarding signal","pid":8246,"process":8252,"signal":18,"time":"2024-05-16T08:16:34.526Z","wrapper":8246} {"level":"warning","msg":"starting grace period","pid":8252,"time":"2024-05-16T08:16:34.526Z"} unclean Gitaly shutdown: received signal "terminated": wait: completed {"level":"warning","msg":"forwarding signal","pid":8246,"process":8252,"signal":17,"time":"2024-05-16T08:16:34.539Z","wrapper":8246} {"error":"os: process already finished","level":"error","msg":"can't forward the signal","pid":8246,"process":8252,"signal":17,"time":"2024-05-16T08:16:34.539Z","wrapper":8246} {"error":"exit status 1","level":"error","msg":"waiting for supervised command","pid":8246,"time":"2024-05-16T08:16:34.539Z","wrapper":8246} {"level":"error","msg":"wrapper for process shutting down","pid":8246,"process":8252,"time":"2024-05-16T08:16:35.205Z","wrapper":8246}
==> /var/log/gitlab/gitlab-workhorse/current <==
{"correlation_id":"","duration_ms":0,"error":"badgateway: failed to receive response: dial unix /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: connect: no such file or directory","level":"error","method":"GET","msg":"","time":"2024-05-16T16:15:41+08:00","uri":""}
{"correlation_id":"","duration_ms":0,"error":"badgateway: failed to receive response: dial unix /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: connect: no such file or directory","level":"error","method":"GET","msg":"","time":"2024-05-16T16:15:51+08:00","uri":""}
{"correlation_id":"","duration_ms":0,"error":"badgateway: failed to receive response: dial unix /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: connect: no such file or directory","level":"error","method":"GET","msg":"","time":"2024-05-16T16:16:01+08:00","uri":""}
{"correlation_id":"","duration_ms":0,"error":"badgateway: failed to receive response: dial unix /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: connect: no such file or directory","level":"error","method":"GET","msg":"","time":"2024-05-16T16:16:11+08:00","uri":""}
{"correlation_id":"","duration_ms":0,"error":"badgateway: failed to receive response: dial unix /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: connect: no such file or directory","level":"error","method":"GET","msg":"","time":"2024-05-16T16:16:21+08:00","uri":""}
{"correlation_id":"","duration_ms":0,"error":"badgateway: failed to receive response: dial unix /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: connect: no such file or directory","level":"error","method":"GET","msg":"","time":"2024-05-16T16:16:31+08:00","uri":""}
{"correlation_id":"","duration_ms":0,"error":"badgateway: failed to receive response: dial unix /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: connect: no such file or directory","level":"error","method":"GET","msg":"","time":"2024-05-16T16:16:41+08:00","uri":""}
{"level":"info","msg":"shutdown initiated","shutdown_timeout_s":0,"signal":"terminated","time":"2024-05-16T16:16:47+08:00"}
{"level":"info","msg":"keywatcher: shutting down","time":"2024-05-16T16:16:47+08:00"}
{"error":null,"level":"fatal","msg":"shutting down","time":"2024-05-16T16:16:47+08:00"}
{"severity":"ERROR","time":"2024-05-16T08:17:05.798Z","exception.class":"RedisClient::CommandError","exception.message":"MOVED 9490 192.168.162.1:6182 (redis://192.168.162.1:6181)","exception.backtrace":["redis-client (0.21.1) lib/redis_client/connection_mixin.rb:36:in `call'","redis-client (0.21.1) lib/redis_client.rb:294:in `block (2 levels) in call_v'","redis-client (0.21.1) lib/redis_client/middlewares.rb:16:in `call'","sentry-ruby (5.10.0) lib/sentry/redis.rb:85:in `block in call'","sentry-ruby (5.10.0) lib/sentry/redis.rb:17:in `block in instrument'","sentry-ruby (5.10.0) lib/sentry/hub.rb:102:in `with_child_span'","sentry-ruby (5.10.0) lib/sentry-ruby.rb:456:in `with_child_span'","sentry-ruby (5.10.0) lib/sentry/redis.rb:16:in `instrument'","sentry-ruby (5.10.0) lib/sentry/redis.rb:85:in `call'","lib/gitlab/instrumentation/redis_client_middleware.rb:14:in `block in call'","lib/gitlab/instrumentation/redis_helper.rb:17:in