5

尝试独立启动乘客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
4

1 回答 1

8

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

于 2012-04-18T03:30:36.757 回答