Also having trouble with RRD files

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Guest

Also having trouble with RRD files

Post by Guest »

I get this error when running cmd.php:

<br />
<b>Warning</b>: Unable to jump to row 0 on MySQL result index 6 in <b>/home/httpd/html/cacti/cmd.php</b> on line <b>139</b><br />
<br />
<b>Warning</b>: Unable to jump to row 0 on MySQL result index 6 in <b>/home/httpd/html/cacti/cmd.php</b> on line <b>147</b><br />
<br />
<b>Warning</b>: mysql_num_rows(): supplied argument is not a valid MySQL result resource in <b>/home/httpd/html/cacti/cmd.php</b> on line <b>150</b><br />
<br />
<b>Warning</b>: Unable to jump to row 0 on MySQL result index 6 in <b>/home/httpd/html/cacti/cmd.php</b> on line <b>157</b><br />


I have double checked the "Associated RRA's" in the Data Source configuration, everything is checked. The RRD file is sitting there where it's supposed to be, but I get this error on that page:

CANNOT FIND DATA SOURCE: /home/httpd/html/cacti/rra/smtp_conns.rrd

/usr/local/rrdtool/bin/rrdtool create \
/home/httpd/html/cacti/rra/smtp_conns.rrd \
--step 300 \
DS:total:ABSOLUTE:600:0:1000 \
DS:rbldeny:ABSOLUTE:600:0:1000 \
DS:dnsdeny:ABSOLUTE:600:0:1000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \

Any help would be appreciated!

-Steve
Guest

Nevermind! I fixed it.

Post by Guest »

It was a permissions problem on the RRA directory. Oops!

-Steve
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests