Gitlab Unicorn not running
Created by: jacarrichan
link from #7135 (closed) There is no any log message show me what happend .
😕
[root@localhost log]# service gitlab start
/home/git/.bashrc: line 10: /opt/gitlab-7.0.0-0/scripts/setenv.sh: No such file or directory
Starting the GitLab Unicorn web server...
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.7.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /usr/local/rvm/gems/ruby-1.9.3-p392/bin in PATH, mode 042777
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.7.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /usr/local/rvm/gems/ruby-1.9.3-p392/bin in PATH, mode 042777
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.7.6/lib/bundler/rubygems_integration.rb:256:in `block in replace_gem': unicorn is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
from /usr/local/rvm/gems/ruby-1.9.3-p392/bin/unicorn_rails:22:in `<main>'
Starting the GitLab Sidekiq event dispatcher...
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.7.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /usr/local/rvm/gems/ruby-1.9.3-p392/bin in PATH, mode 042777
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.7.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /usr/local/rvm/gems/ruby-1.9.3-p392/bin in PATH, mode 042777
The GitLab Unicorn webserver is not running.
The GitLab Sidekiq job dispatcher with pid 23540 is running.
[root@localhost log]# sudo service gitlab status
/home/git/.bashrc: line 10: /opt/gitlab-7.0.0-0/scripts/setenv.sh: No such file or directory
The GitLab Unicorn webserver is not running.
The GitLab Sidekiq job dispatcher with pid 22314 is running.
[root@localhost log]# bundle exec rake gitlab:env:info RAILS_ENV=production
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.7.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /usr/local/rvm/gems/ruby-1.9.3-p392/bin in PATH, mode 042777
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.7.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /usr/local/rvm/gems/ruby-1.9.3-p392/bin in PATH, mode 042777
(in /home/git/gitlab)
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.7.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /usr/local/rvm/gems/ruby-1.9.3-p392/bin in PATH, mode 042777
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.7.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /usr/local/rvm/gems/ruby-1.9.3-p392/bin in PATH, mode 042777
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.7.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /usr/local/rvm/gems/ruby-1.9.3-p392/bin in PATH, mode 042777
System information
System: CentOS release 6.4 (Final)
Current User: root
Using RVM: yes
RVM Version: 1.25.26
Ruby Version: 1.9.3p392
Gem Version: 2.2.2
Bundler Version:1.7.6
Rake Version: 10.1.0
GitLab information
Version: 6.0.2
Revision: 10b0b8f
Directory: /home/git/gitlab
DB Adapter: mysql2
URL: http://local244
HTTP Clone URL: http://local244/some-project.git
SSH Clone URL: git@local244:some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 1.7.4
Repositories: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/bin/git
[root@localhost log]# vim production.log
Connecting to database specified by database.yml
Creating scope :opened. Overwriting existing method Issue.opened.
Creating scope :of_projects. Overwriting existing method MergeRequest.of_projects.
Creating scope :closed. Overwriting existing method MergeRequest.closed.
Creating scope :public. Overwriting existing method Snippet.public.
Creating scope :private. Overwriting existing method Snippet.private.
Creating scope :fresh. Overwriting existing method ProjectSnippet.fresh.
Creating scope :non_expired. Overwriting existing method ProjectSnippet.non_expired.
Creating scope :expired. Overwriting existing method ProjectSnippet.expired.
Connecting to database specified by database.yml
Creating scope :opened. Overwriting existing method Issue.opened.
Creating scope :of_projects. Overwriting existing method MergeRequest.of_projects.
Creating scope :closed. Overwriting existing method MergeRequest.closed.
Creating scope :public. Overwriting existing method Snippet.public.
Creating scope :private. Overwriting existing method Snippet.private.
~
[root@localhost log]# vim sidekiq.log
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.7.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /usr/local/rvm/gems/ruby-1.9.3-p392/bin in PATH, mode 042777
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/bundler-1.7.6/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /usr/local/rvm/gems/ruby-1.9.3-p392/bin in PATH, mode 042777
2014-11-14T02:58:49Z 22314 TID-1d417e INFO: Booting Sidekiq 2.12.4 using redis://localhost:6379 with options {:namespace=>"resque:gitlab"}
2014-11-14T02:58:49Z 22314 TID-1d417e INFO: Running in ruby 1.9.3p392 (2013-02-22 revision 39386) [i686-linux]
2014-11-14T02:58:49Z 22314 TID-1d417e INFO: See LICENSE and the LGPL-3.0 for licensing details.
2014-11-14T02:58:49Z 22314 TID-1d417e INFO: Starting processing, hit Ctrl-C to stop