我已经在我的实时服务器上设置了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相关的所有内容。我应该删除宝石吗?它有助于删除后台进程吗?
答案 0 :(得分:2)
如果您将其安装为rails用户(看起来像你那样)
你想要做
$ sudo bluepill quit
如果出现错误,那么您可能会以rails用户身份运行它(如日志所示和rvm所在的位置),在这种情况下就像我会做的rails用户
$ bluepill quit
然后移除bluepill宝石。
$ gem uninstall bluepill
不
$ sudo gem uninstall bluepill
我希望有所帮助。我可能没有足够的细节来完全回答这个问题。