I have installed cacti on windows 7 unable to view graphs

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

Moderators: Developers, Moderators

Post Reply
girimicro
Posts: 9
Joined: Mon Aug 26, 2013 5:18 am

I have installed cacti on windows 7 unable to view graphs

Post by girimicro »

Getting the below error while viewing the graph.


RRDTool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="IDC - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/xampp/htdocs/cacti/rra/idc_5min_cpu_9.rrd":5min_cpu:AVERAGE \
AREA:a#FF0000FF:"CPU Usage" \
GPRINT:a:LAST:"Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MAX:"Maximum\:%8.0lf\n"
RRDTool Says:
ERROR: opening 'C:/xampp/htdocs/cacti/rra/idc_5min_cpu_9.rrd': No such file or directory
Attachments
error.jpg
error.jpg (164.38 KiB) Viewed 2675 times
error screen.jpg
error screen.jpg (247.33 KiB) Viewed 2675 times
girimicro
Posts: 9
Joined: Mon Aug 26, 2013 5:18 am

Re: I have installed cacti on windows 7 unable to view graph

Post by girimicro »

Operating System: win 7 32 bit os
Webserver:
Cacti: cacti-0.8.7e
Spine:
PHP:
RRDTool (Cygwin or Win32 build): rrdtool-1.2.15-cygwin-1.5.20
Net-SNMP: net-snmp-5.4.2.1-ssl-1.win32
Cygwin (cygwin1.dll version):
Plugin Architecture:
Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9
MySQL client version: 5.0.51a
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: I have installed cacti on windows 7 unable to view graph

Post by BSOD2600 »

1) after following the steps in http://forums.cacti.net/viewtopic.php?f=3&t=11747 what did you find the problem to be?
2) cacti 0.8.7e is several years behind 0.8.8b is the latest. You might consider upgrading.
VineyPapie
Posts: 1
Joined: Fri Aug 23, 2013 1:45 am

Re: I have installed cacti on windows 7 unable to view graph

Post by VineyPapie »

edit your php.ini file and set the datetime zone in there. It's currently not set, hence these error messages.
girimicro
Posts: 9
Joined: Mon Aug 26, 2013 5:18 am

Re: I have installed cacti on windows 7 unable to view graph

Post by girimicro »

how do i upgrade, I need to upgrade xampp also I am using Xampp-win32-1.7.1
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: I have installed cacti on windows 7 unable to view graph

Post by BSOD2600 »

girimicro wrote:how do i upgrade, I need to upgrade xampp also I am using Xampp-win32-1.7.1
http://docs.cacti.net/manual:088:1_inst ... ding_cacti

XAMPP is not recommended. Since you didnt follow the installation guide, now you need to follow it to ensure all the various settings for apache, php, mysql are configured to Cacti requirements.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest