Weird MySQL messages when run by hand

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

Moderators: Developers, Moderators

Post Reply
chemichon
Posts: 14
Joined: Wed Mar 20, 2002 7:00 pm
Contact:

Post by chemichon »

Hi,

When I run cmd.php by hand, it sends me back some weird messages:
X-Powered-By: PHP/4.1.2
Content-type: text/html

<br>
<b>Warning</b>: Unable to jump to row 0 on MySQL result index 77 in <b>/home/httpd/cacti/cmd.php</b> on line <b>138</b><br>
<br>
<b>Warning</b>: Unable to jump to row 0 on MySQL result index 77 in <b>/home/httpd/cacti/cmd.php</b> on line <b>146</b><br>
<br>
<b>Warning</b>: Supplied argument is not a valid MySQL result resource in <b>/home/httpd/cacti/cmd.php</b> on line <b>149</b><br>
<br>
<b>Warning</b>: Unable to jump to row 0 on MySQL result index 77 in <b>/home/httpd/cacti/cmd.php</b> on line <b>156</b><br>
ERROR: Not enough arguments
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.

What should I do concerning this?

Well, Iam sure that those messages come eveytime, but cron redirects it to /dev/null :smile:
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Not sure if this would fix it, but try replacing your current 'cmd.php' with the following file:

http://www.raxnet.net/downloads/patches ... md.php.txt

-Ian
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest