1

我已经在我的实时服务器上设置了 bluepill 进程,几天后我已经杀死了所有命令并将 repo 从服务器中删除。现在,我收到了与 bluepill 相关的日志,例如,

Sep 27 23:21:05 team bluepilld[26961]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/bluepill-0.0.47/lib/bluepill/application.rb:36:in `mutex'
Sep 27 23:21:05 team bluepilld[26961]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/bluepill-0.0.47/lib/bluepill/application.rb:137:in `run'
Sep 27 23:21:05 team bluepilld[26961]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/bluepill-0.0.47/lib/bluepill/application.rb:131:in `start_server'
Sep 27 23:21:05 team bluepilld[26961]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/bluepill-0.0.47/lib/bluepill/application.rb:41:in `load'
Sep 27 23:21:05 team bluepilld[26961]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/bluepill-0.0.47/lib/bluepill/dsl.rb:6:in `application'
Sep 27 23:21:05 team bluepilld[26961]: [config:ibt_emw_config] /home/rails/applications/no_config/bluepill/config_git/run_emwebsocket.pill:1
Sep 27 23:21:05 team bluepilld[31026]: [config:ibt_emw_config] Going from down => starting
Sep 27 23:21:08 team bluepilld[31026]: [config:ibt_emw_config] pid_file /home/rails/applications/config/tmp/emw_pid.pid does not exist or cannot be read
Sep 27 23:21:08 team bluepilld[31026]: [config:ibt_emw_config] pid_file /home/rails/applications/config/tmp/emw_pid.pid does not exist or cannot be read
Sep 27 23:21:08 team bluepilld[31026]: [config:ibt_emw_config] Going from starting => down
Sep 27 23:21:09 team bluepilld[31026]: [config:ibt_emw_config] pid_file /home/rails/applications/config/tmp/emw_pid.pid does not exist or cannot be read
Sep 27 23:21:09 team bluepilld[31026]: [config:ibt_emw_config] pid_file /home/rails/applications/config/tmp/emw_pid.pid does not exist or cannot be read
Sep 27 23:21:09 team bluepilld[31026]: [config:ibt_emw_config] Executing start command: ruby server.rb
Sep 27 23:21:09 team bluepilld[26962]: [config:ibt_emw_config] Errno::ENOENT - No such file or directory - /home/rails/applications/config/tmp/emw_pid.pid
Sep 27 23:21:09 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/rubies/ruby-1.8.6-p420/lib/ruby/1.8/fileutils.rb:1033:in `initialize'
Sep 27 23:21:09 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/rubies/ruby-1.8.6-p420/lib/ruby/1.8/fileutils.rb:1033:in `open'
Sep 27 23:21:09 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/rubies/ruby-1.8.6-p420/lib/ruby/1.8/fileutils.rb:1033:in `touch'
Sep 27 23:21:09 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/rubies/ruby-1.8.6-p420/lib/ruby/1.8/fileutils.rb:1027:in `each'
Sep 27 23:21:09 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/rubies/ruby-1.8.6-p420/lib/ruby/1.8/fileutils.rb:1027:in `touch'
Sep 27 23:21:09 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/bluepill-0.0.47/lib/bluepill/system.rb:208:in `can_write_pid_file'
Sep 27 23:21:09 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/bluepill-0.0.47/lib/bluepill/system.rb:68:in `daemonize'
Sep 27 23:21:09 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/bluepill-0.0.47/lib/bluepill/process.rb:251:in `start_process'
Sep 27 23:21:09 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/state_machine-1.1.2/lib/state_machine/eval_helpers.rb:56:in `send'
Sep 27 23:21:10 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/state_machine-1.1.2/lib/state_machine/eval_helpers.rb:56:in `evaluate_method'
Sep 27 23:21:10 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/state_machine-1.1.2/lib/state_machine/callback.rb:191:in `run_methods'
Sep 27 23:21:10 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/state_machine-1.1.2/lib/state_machine/callback.rb:190:in `each'
Sep 27 23:21:10 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/state_machine-1.1.2/lib/state_machine/callback.rb:190:in `run_methods'
Sep 27 23:21:10 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/state_machine-1.1.2/lib/state_machine/callback.rb:159:in `call'
Sep 27 23:21:10 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/state_machine-1.1.2/lib/state_machine/transition.rb:443:in `after'
Sep 27 23:21:10 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/state_machine-1.1.2/lib/state_machine/transition.rb:443:in `each'
Sep 27 23:21:10 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/state_machine-1.1.2/lib/state_machine/transition.rb:443:in `after'
Sep 27 23:21:10 team bluepilld[26962]: [config:ibt_emw_config] /home/rails/.rvm/gems/ruby-1.8.6-p420@config/gems/state_machine-1.1.2/lib/state_machine/transition.rb:441:in `catch'

我已经尝试找到进程发出命令ps aux | grep bluepill

并杀死所有进程。这对我有用吗?

我想删除与 bluepill 相关的所有内容。我应该删除宝石吗?它有助于删除后台进程吗?

4

1 回答 1

2

如果您以 rails 用户身份安装了它(看起来像您这样做了)

你会想做

$ sudo bluepill quit

如果出现错误,那么您可能会以 rails 用户身份运行它(如日志和 rvm 所在的位置所示),在这种情况下,我会以 rails 用户身份运行

$ bluepill quit

然后移除 bluepill gem。

$ gem uninstall bluepill

不是

$ sudo gem uninstall bluepill

我希望这会有所帮助。不过,我可能没有足够的细节来完全回答这个问题。

于 2012-09-28T07:26:04.430 回答