尝试使用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
答案 0 :(得分:8)
尝试运行lsof
或netstat -tlnp | grep 80
以确定哪个应用程序正在使用端口80.一旦你弄清楚了,就可以执行类似ps -elf的操作来杀死该进程。