谢谢!可以看到有一个 ruby 的进程
没有安装 docker
deploy@Web01:/home/azureuser$ docker ps
The program 'docker' is currently not installed. To run 'docker' please ask your administrator to install the package 'docker'
应该不在 因为可以直接看到 unicorn 的进程
在 ? 请打我电话 13127503557
因为这个修改比较紧急,
目前需要解决的问题主要有两个,一个是部署新代码,一个是我运行在本地后样式丢失
所以我愿意支付 3000+ 来解决这个问题,今天有效,
谢谢!
nginx 信息
deploy@Web01:/var/www/weather_station/current$ ps aux |grep nginx
deploy 6261 0.0 0.0 10440 2012 pts/8 S+ 16:01 0:00 grep --color=auto nginx
root 56812 0.0 0.0 77640 2944 ? Ss 14:07 0:00 nginx: master process /usr/sbin/nginx
www-data 56813 0.0 0.0 78296 5644 ? S 14:07 0:00 nginx: worker process
www-data 56815 0.0 0.0 78296 5644 ? S 14:07 0:00 nginx: worker process
www-data 56816 0.0 0.0 77976 3644 ? S 14:07 0:00 nginx: worker process
www-data 56817 0.0 0.0 77976 5708 ? S 14:07 0:00 nginx: worker process
unicorn 信息
deploy@Web01:/var/www/weather_station/current$ ps aux |grep unicorn
deploy 6363 0.0 0.0 10440 1900 pts/8 S+ 16:01 0:00 grep --color=auto unicorn
deploy 22217 0.0 2.3 377536 168968 ? Sl Apr18 0:11 unicorn master -c /var/www/weather_station/current/config/unicorn/production.rb -E production -D
deploy 22223 0.0 2.4 452620 176500 ? Sl Apr18 0:15 unicorn worker[0] -c /var/www/weather_station/current/config/unicorn/production.rb -E production -D
deploy 22228 0.0 2.4 385668 176024 ? Sl Apr18 0:14 unicorn worker[1] -c /var/www/weather_station/current/config/unicorn/production.rb -E production -D
deploy 22233 0.0 2.4 385404 175732 ? Sl Apr18 0:15 unicorn worker[2] -c /var/www/weather_station/current/config/unicorn/production.rb -E production -D
deploy 22238 0.0 2.4 384748 175280 ? Sl Apr18 0:15 unicorn worker[3] -c /var/www/weather_station/current/config/unicorn/production.rb -E production -D
输入 which ruby 没有信息
deploy@Web01:/var/www/weather_station/current$ which ruby
deploy@Web01:/var/www/weather_station/current$ ruby
The program 'ruby' can be found in the following packages:
* ruby
* ruby1.8
Ask your administrator to install one of them
#59 楼 @tigerinfosys 我是乾县的 也在张江~~
肿么回去了
先给钱吧
2013-06-08T03:27:27Z 1383 TID-oufi912i8 Sidekiq::Extensions::DelayedMailer JID-e1fd28264d3292b3e91398b2 INFO: start
sh: 1: /usr/sbin/sendmail: not found
2013-06-08T03:27:27Z 1383 TID-oufi912i8 Sidekiq::Extensions::DelayedMailer JID-e1fd28264d3292b3e91398b2 INFO: fail: 0.053 sec
2013-06-08T03:27:27Z 1383 TID-oufi912i8 WARN: {"retry"=>true, "queue"=>"default", "class"=>"Sidekiq::Extensions::DelayedMailer", "args"=>["---\n- !ruby/class 'Notify'\n- :project_access_granted_email\n- - 3\n"], "at"=>1370656699.0111356, "jid"=>"e1fd28264d3292b3e91398b2", "error_message"=>"Broken pipe", "error_class"=>"Errno::EPIPE", "failed_at"=>"2013-06-08T01:58:26Z", "retry_count"=>8, "retried_at"=>2013-06-08 03:27:27 UTC}
2013-06-08T03:27:27Z 1383 TID-oufi912i8 WARN: Broken pipe
2013-06-08T03:27:27Z 1383 TID-oufi912i8 WARN: /home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/network/delivery_methods/sendmail.rb:62:in write'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/network/delivery_methods/sendmail.rb:62:in
puts'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/network/delivery_methods/sendmail.rb:62:in block in call'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/network/delivery_methods/sendmail.rb:61:in
popen'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/network/delivery_methods/sendmail.rb:61:in call'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/network/delivery_methods/sendmail.rb:57:in
deliver!'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/message.rb:2033:in do_delivery'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/message.rb:229:in
block in deliver'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/actionmailer-3.2.13/lib/action_mailer/base.rb:415:in block in deliver_mail'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in
block in instrument'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in instrument'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in
instrument'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/actionmailer-3.2.13/lib/action_mailer/base.rb:413:in deliver_mail'
/home/git/gitlab/vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/message.rb:229:in
deliver'
好像是 sendmail 没装.. sudo apt-get install sendmail 我装了还是没反应
我也碰到这个问题了 hoho 求解 求解