我使用的飼養員和安裝在Ubuntu 12.04 apt-get install zookeeper
我需要的monit的PID。它不在/ var/run但是zookeeper正在運行。我查看了/etc/init.d/zookeeper,沒有提到pid。 service zookeeper status
zookeeper start/running, process 7242
lsof
我有一個node.js服務器(與socket.io)運行使用upstart和monit。我的問題是我的服務器變得無法訪問(通常在離線時發生),monit無法重新啓動進程。如果我使用filezilla登錄ftp,服務器只會重新激活或喚醒。 這是我的monit配置: set logfile /var/log/monit.log
check process mynode with pidfile /h