gitlab安装后访问报502 错误
来源:12-2 搭建GitLab服务器
慕哥3046357
2019-03-24
老师,我按照您gitlab 安装文档(https://git.imooc.com/coding-189/coding-189/src/master/chapter11/labs/gitlab-server.md)的方法在Centos7 上安装 gitlab, 在Centos7 上和我的电脑(win10) 的hosts 文件中配置好 centos7 虚拟机IP 与 gitlab.example.com 的映射,安装好gitlab 后,我在本地浏览器上访问 http://gitlab.example.com ,报502错误,请问是什么原因啊? 是 gitlab 没有安装成功吗?
写回答
2回答
-
Zonezzc
2019-09-03
[root@localhost ~]# gitlab-ctl status run: alertmanager: (pid 13568) 52s; run: log: (pid 13126) 232s run: gitaly: (pid 13494) 59s; run: log: (pid 12446) 405s run: gitlab-monitor: (pid 13531) 57s; run: log: (pid 13007) 265s run: gitlab-workhorse: (pid 13514) 58s; run: log: (pid 12878) 307s run: grafana: (pid 13586) 50s; run: log: (pid 13415) 99s run: logrotate: (pid 12919) 291s; run: log: (pid 12930) 288s run: nginx: (pid 12891) 302s; run: log: (pid 12904) 299s run: node-exporter: (pid 13521) 58s; run: log: (pid 12975) 277s run: postgres-exporter: (pid 13579) 51s; run: log: (pid 13164) 222s run: postgresql: (pid 12583) 392s; run: log: (pid 12608) 389s run: prometheus: (pid 13544) 56s; run: log: (pid 13076) 243s run: redis: (pid 12383) 414s; run: log: (pid 12392) 411s run: redis-exporter: (pid 13536) 57s; run: log: (pid 13041) 255s run: sidekiq: (pid 12829) 314s; run: log: (pid 12838) 313s run: unicorn: (pid 12788) 320s; run: log: (pid 12807) 319s
我也是这种情况,描述一致,环境相同。请问解决了吗?
052019-11-13 -
麦兜搞IT
2019-03-25
您可以先确定下gitlab是否成功运行了
[
centos@ip-172-31-25-70 ~]$ sudo gitlab-ctl status run: gitaly: (pid 11281) 1244914s; run: log: (pid 502) 10065958s run: gitlab-monitor: (pid 11292) 1244914s; run: log: (pid 501) 10065958s run: gitlab-workhorse: (pid 11305) 1244913s; run: log: (pid 483) 10065958s run: logrotate: (pid 23222) 2904s; run: log: (pid 499) 10065958s run: nginx: (pid 11322) 1244912s; run: log: (pid 479) 10065958s run: node-exporter: (pid 11328) 1244912s; run: log: (pid 489) 10065958s run: postgres-exporter: (pid 11334) 1244911s; run: log: (pid 488) 10065958s run: postgresql: (pid 11453) 1244905s; run: log: (pid 510) 10065957s run: redis: (pid 11424) 1244909s; run: log: (pid 481) 10065958s run: redis-exporter: (pid 11429) 1244908s; run: log: (pid 512) 10065957s run: registry: (pid 11434) 1244908s; run: log: (pid 514) 10065957s run: sidekiq: (pid 11447) 1244905s; run: log: (pid 485) 10065958s run: unicorn: (pid 11478) 1244904s; run: log: (pid 477) 10065958s [centos@ip-172-31-25-70 ~]$
022019-11-13
相似问题