天天看點

cacti-0.8.7g的安裝

 安裝cacti,完後總是顯示error,無法open rra,版本是cacti-0.8.8a,rrdtool1.4.7

在rrd目錄下沒有檔案産生,試過調試,可是不行

接着想換版本,cacti換成cacti-0.8.7g,rrdtool1.4.5,在http://ip/cacti選擇php和rrdtool路徑時候要注意,上面error這個錯誤很有可能是我選擇路徑的時候選擇錯了,接着安裝插件

cat cacti/include/config.php

/* load up old style plugins here */

$plugins = array();

#$plugins[] = 'thold';

/*

   Edit this to point to the default URL of your Cacti install

   ex: if your cacti install as at http://serverip/cacti/ this

   would be set to /cacti/

*/

$url_path = "/cacti/";

最後chmod 777 cacti/rrd -R,chmod 777 cacti/log -R,不過注意scripts,poller.php,cmd.php這幾個的權限,有問題的話,最好手動執行一下,終于出圖了

調試指令 /usr/local/php/bin/php -q /var/www/html/cacti/poller.php --force --debug

<a href="http://blog.51cto.com/attachment/201301/175031892.jpg" target="_blank"></a>

本文轉自 liqius 51CTO部落格,原文連結:http://blog.51cto.com/szgb17/1111061,如需轉載請自行聯系原作者