Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #8487

Closed
Open
Created Dec 24, 2014 by Administrator@rootOwner

gitlab can't access

Created by: zld406504302

I installed gitlab and check success ,but have a access error when access http://ip:9081/uses/sign_in , the follow is my gitlab check info and error info ,hope give me a help .

   Checking Environment ...

Git configured for git user? ... yes
Has python2? ... yes
python2 is supported version? ... yes

Checking Environment ... Finished

Checking GitLab Shell ...

GitLab Shell version >= 1.7.9 ? ... OK (2.4.0)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
update hook up-to-date? ... yes
update hooks in repos are links: ... can't check, you have no projects
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files:
    /home/git/repositories: OK
    /home/git/.ssh/authorized_keys: OK
Test redis-cli executable: redis-cli 2.6.13
Send ping to redis server: PONG
gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes
Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking LDAP ...

LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab ...

Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ... can't check, you have no projects
Projects have satellites? ... can't check, you have no projects
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.9.1)

Checking GitLab ... Finished

gitlab.yml

gitlab:
    ## Web server settings
    host: 10.172.225.140
    port: 80
    https: false
   signup_enabled: true


unicorn.rb
listen "/home/git/gitlab/tmp/sockets/gitlab.socket", :backlog => 64
listen "ip:9081", :tcp_nopush => true

git-shell>conf.yml

gitlab_url: "http://ip:9081/"


unicorn.stderr.log
E, [2014-12-24T13:18:15.933361 #11297] ERROR -- : worker=1 PID:11331 timeout (31s > 30s), killing
E, [2014-12-24T13:18:15.945077 #11297] ERROR -- : reaped #<Process::Status: pid 11331 SIGKILL (signal 9)> worker=1
I, [2014-12-24T13:18:15.950337 #13138]  INFO -- : worker=1 ready

***************************************
curl http://ip:9081/users/sign_in
curl: (52) Empty reply from server
production.log
Processing by Devise::SessionsController#new as */*
Rendered devise/sessions/_new_base.html.haml (120.0ms)
Rendered devise/sessions/_oauth_providers.html.haml (2.1ms)
Rendered devise/sessions/new.html.haml within layouts/devise (129.2ms)
Assignee
Assign to
Time tracking