Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经跑passenger stop -p 80了,这是响应:
passenger stop -p 80
/home/staging/.rvm/gems/ruby-1.9.3-p448/gems/daemon_controller-1.1.4/lib/daemon_controller.rb:445:in `kill': Operation not permitted (Errno::EPERM)
与 sudo 相同的命令只是说没有这样的命令。
因为我使用的是 rvm,所以乘客命令只存在于我的名为 staging 的部署用户中,而不是 sudo (root)。RVM 有它自己的 sudo 命令。
rvmsudo passenger stop -p 80