A runtime error has occurred.

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Rudolphus
Posts: 38
Joined: Fri Nov 18, 2005 5:41 pm

A runtime error has occurred.

Post by Rudolphus »

I have installed Cacti and all other programs i need:

Cacti 0.8.6
Caci-cactid 0.8.6
net-snmp-5.1.2-1.win32
php-5.0.5-Win32
mysql-4.1.15-win32
rrdtool-1.0.49-win32

And cacti works and the router with SNMP to.
But i can't see a graph.
There is a cross in the image and if i open a graphic i get this error:

A runtime error has occurred.
Line 165
error: 'undefined' is undefined
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You must use the Cygwin build of rrdtool. Win32 does not work.
Rudolphus
Posts: 38
Joined: Fri Nov 18, 2005 5:41 pm

Post by Rudolphus »

I'm running this under Windows 2000 with a Pentium III.
Are you sure this won't work?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Not with Cacti it won't.
Rudolphus
Posts: 38
Joined: Fri Nov 18, 2005 5:41 pm

Post by Rudolphus »

It doesn't work either. I used the newest:
rrdtool-cygwin-1.2.9
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Now what error are you getting?

I suggest you read the guide in my signature.
Rudolphus
Posts: 38
Joined: Fri Nov 18, 2005 5:41 pm

Post by Rudolphus »

A runtime error has occurred.
Line 165
error: 'undefined' is undefined
Rudolphus
Posts: 38
Joined: Fri Nov 18, 2005 5:41 pm

Post by Rudolphus »

That is the error.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Where are you getting that error exactly?
What version of cacti are you using? Have you installed the patches?
Rudolphus
Posts: 38
Joined: Fri Nov 18, 2005 5:41 pm

Post by Rudolphus »

That has not much to do with the problem i've got. Somehow the computer doesn't collect the information. I'm pinging to the router that sends SNMP messages to the computer. The computer doesn't collect the SNMP messages and doesn't create a RRD database. I used for the router templates that works.
But how can i fix it?
The full error is what i told and the cactiversion i used is posted at the top of this topic.

Cacti 0.8.6

The full error:

A Runtime Error has occurred
Do you wish to Debug?

Line: 165
Error: 'undefined' is undefined
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

The question is where are you getting that error.... when looking at the cacti website, doing something with cacti, a dos window, what?

As for data not being collected, find out why. Turn the polling level in cacti to debug (Settings | Polling level) for one cycle and paste the output of the actual log file (./cacti/log/cacti.log). If it contains WEBLOG entries, then don't bother posting since they just clutter up the log. Turn off WEBEVENTS logging and try again.
Rudolphus
Posts: 38
Joined: Fri Nov 18, 2005 5:41 pm

Post by Rudolphus »

When i start cacti (index.php) and login and i clicked on graph and then i saw crosses with text. The images seems to be gone. (like a site with images that did not excist anymore)
Then when i click on the text, (to see the graph) an error showed up what i told you.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Your problem is likely caused because you're using the Win32 version of rrdtool. You must use the Cygwin build.
Rudolphus
Posts: 38
Joined: Fri Nov 18, 2005 5:41 pm

Post by Rudolphus »

I use the cygwin build now. I tried both versions (normal and cygwin build).
I coppied the files to C:\rrdtool and i set the path in the settings of cacti under path.
Rudolphus
Posts: 38
Joined: Fri Nov 18, 2005 5:41 pm

Post by Rudolphus »

What could it be? I followed the instructions.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest