Obscure MySQL Warnings upon running of cmd.php

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
positive
Posts: 17
Joined: Mon Mar 18, 2002 7:00 pm

Post by positive »

Hey all,
Whenever I run the cmd.php i get the following "warning"'s.
<br>
<b>Warning</b>: Unable to jump to row 0 on MySQL result index 313 in <b>/usr/local/www/cacti.positivenetworks.net/cmd.php</b> on line <b>107</b><br>
<br>
<b>Warning</b>: Supplied argument is not a valid MySQL result resource in <b>/usr/local/www/cacti.positivenetworks.net/cmd.php</b> on line <b>110</b><br>
<br>
<b>Warning</b>: Unable to jump to row 0 on MySQL result index 313 in <b>/usr/local/www/cacti.positivenetworks.net/cmd.php</b> on line <b>117</b><br>
<br>
<b>Warning</b>: Unable to jump to row 0 on MySQL result index 315 in <b>/usr/local/www/cacti.positivenetworks.net/include/rrd_functions.php</b> on line <b>135</b><br>

I have no idea what these mean, and when looking through the script, I still can't understand what could be causing this. Is this affecting my data? Is there something I can tweak. Please inform.

Positive
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Ok, these seem to be two separate problems, so I will treat them that way.

positive: Your errors are a result of my error checking gone wrong; go figure. What it is trying to say is that it cannot create the .rrd file until you assign at least one RRA to the data source.

To do this, go into 'Data Sources' and select each data source that you have created. Under 'Associated RRA's', make sure each item is selected and click 'Save'. See if that does the trick.

-Ian
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

buddhist_biker: How many times is this error printed to the screen; only once? If that is the case, I am guessing it has to do with the load average data source. Try deleting (or moving) all of the files in your 'rra/' directory, and try again. If that does not work; than I have something else you can try next.

-Ian
Kerry Hu

Post by Kerry Hu »

I had same problem until I deleted all the system related data sources. i guess the reason is i am running on a Sparc Solaris box and it doesn't take defult linux scripts.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests