ruby - Gitlab unicorn webserver either does not listen or reply on 8080 -
GitLab can be started and can be shown as running. When running Curl git.myserver.com, it fails with HTTP 503. There are no interesting entries in Unicorn.stider.log or Unicorn.Studout.log.
Version:
- GitLab 6.5.1
- Apache 2.4.6
- Ubuntu 13.10
site-available / git.myserver.com:
& lt; VirtualHost *: 80 & gt; The servername git.myserver.com DocumentRoot / home / git / gitlab / public & lt; Directory / home / git / gitlab / public> Allow all options - Multi Views & lt; / Directory & gt; ProxyPS / Upload! ProxyPass / http://127.0.0.1:8080/ ProxyPrevers / http://127.0.0.1:8080/ at ProxyPreserveHost & lt; / VirtualHost & gt;
config / unicorn.rb:
worker_processes 2 listen "/ home / git / gitlab / tmp / Chairs / gitlab.socket ",: backlog = & gt; 64 "Listen to 127.0.0.1:8080" ,: tcp_nopush = & gt; True Timeout 900
config / gitlab.yml:
gitlab: ## host web server settings: git .myserver.com Port: 80 https: false
Apache access log file:
SOMEIPADDRESS - - [17 / f / 2014: 20: 25: Apache error log file: [20 + 0000] "GET / HTTP / 1.1" 503 566 "-" "curl / 7.32.0"
Mon 17 Feb, 20: 25: 08.9 19614 2014] [Proxy_http: Error] [PID 1321: TID 139972136904448] [Customer SOMEIPADDRESS: 48,578] AH01114: http: Failed To Make Connection For Backend: 127.0.0.1 [Mon Feb 17, 20:25: 20.114281 2014] [Proxy: Tray Error: [PID 2092: TID 140263968208640] (111) Connection refused: AH00957: http: 127.0.0.1:8080 failed to connect (127.0.0.1) [Someday, 17 to 20: 25: 20.114353 2014] [Proxy: Error] [PID 2092: TID 140263968208640] AH00959: For ap_proxy_connect_backend (127.0.0.1) for 60s [Mon 17 Feb, Disabling worker 20: 25 : 20.114364 2014] [proxy_http: Error] [PID 2092: TID 140263968208640] [Client SOMEIP ADDRESS: 48580] AH 01114: HTTP: Failed to create backend connection: 127.0.0.1
solution. I used Ruby 2.1.0, while the install guide asks to use Ruby 2.0.0. Backup was restored and restored, which now works perfectly.
Comments
Post a Comment