客运过程已经开始了?但事实并非如此

时间:2012-04-13 10:30:09

标签: process nginx passenger

尝试使用passenger start -p 80启动乘客独立并且说它已经在运行但是当我执行passenger stop -p 80时,我得到According to the PID file '/var/crm/tmp/pids/passenger.80.pid', Phusion Passenger Standalone doesn't seem to be running. 但它显然不是因为当我尝试停止它时,它说它没有运行,我无法从网络访问它

[root@technetium crm]# passenger start -p 80
*** ERROR ***
The address 0.0.0.0:80 is already in use by another process, perhaps another
Phusion Passenger Standalone instance.

If you want to run this Phusion Passenger Standalone instance on another port,
use the -p option, like this:

  passenger start -p 81

1 个答案:

答案 0 :(得分:8)

尝试运行lsofnetstat -tlnp | grep 80以确定哪个应用程序正在使用端口80.一旦你弄清楚了,就可以执行类似ps -elf的操作来杀死该进程。