我按照这个指南让Cacti站起来跑步。
http://10100.org/blog/how-to-install-cacti-on-osx-server-109
一切都很好,直到我不得不创建cacti.plist来配置轮询器。在终端,当我运行launchctl时,它找不到plist。
launchctl: no plist was returned for: /Library/LaunchDaemons/cacti.plist<br>
nothing found to load?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>cacti</string>
<key>ProgramArguments</key>
<array>
<string>php</string>
<string>/Library/Server/Web/Data/Sites/Default/cacti/poller.php</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>300</integer>
</dict>
</plist>发布于 2014-05-23 22:06:11
在XML声明的开头缺少一个<。这使得该文件不正确,因此是无效的plist文件。
https://serverfault.com/questions/598176
复制相似问题