Cacti's graph images can't be viewed

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

Moderators: Developers, Moderators

power_on
Posts: 12
Joined: Wed Sep 14, 2005 8:43 am

Cacti's graph images can't be viewed

Post by power_on »

Hi,
I'm running Cacti Version 0.8.6c in linux Fedora and it's database located in another server running Linux fedora too.

Now, Cacti's graphs image can't be view but the log file is not giving any error.

Can you please help.
Attachments
Graph view
Graph view
cacti.JPG (75 KiB) Viewed 7891 times
power_on
Posts: 12
Joined: Wed Sep 14, 2005 8:43 am

Post by power_on »

Any help !!!!
cacti76
Posts: 8
Joined: Fri Jun 30, 2006 4:04 am

Post by cacti76 »

Is RDDTOOL installed ? (Configuration / Setting / paths)
What is the path of Cacti's graphs image you should be see ?
power_on
Posts: 12
Joined: Wed Sep 14, 2005 8:43 am

Post by power_on »

Thank you for your reply.

RDDTOOL is installed and located in /usr/local/cpanel/3rdparty/bin/rrdtool
RRDtool Ver. 1.0.48

I don't know what it's Configuration / Setting !!!

Here is the graph link

http://cacti.optiservers.com/graph_view ... leaf_id=10

and path
/home/vhosts/cacti/public_html/graph_view.php

Please advise.
cacti76
Posts: 8
Joined: Fri Jun 30, 2006 4:04 am

Post by cacti76 »

look here...
Attachments
paths.jpg
paths.jpg (101.18 KiB) Viewed 7861 times
power_on
Posts: 12
Joined: Wed Sep 14, 2005 8:43 am

Post by power_on »

Thanks again for your help.

I'm wondering coz it was working before with the same path.
-----------------
root@plasma [/]# /usr/local/cpanel/3rdparty/bin/rrdtool
RRDtool 1.0.48 Copyright 1997-2004 by Tobias Oetiker <tobi@oetiker.ch>

Usage: rrdtool [options] command command_options

Valid commands: create, update, graph, dump, restore,
last, info, fetch, tune, resize, xport

RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)

For more information read the RRD manpages
----------------
and the .rrd is updating too.

Any advise ?
cacti76
Posts: 8
Joined: Fri Jun 30, 2006 4:04 am

Post by cacti76 »

what do you see in cacti's logs ?
power_on
Posts: 12
Joined: Wed Sep 14, 2005 8:43 am

Post by power_on »

I reinstalled rrdtool in path :
/usr/local/rrdtool-1.2.13/bin/rrdtool

and here is the outpot of : php poller.php

Code: Select all

root@plasma [/home/vhosts/cacti/public_html]# php poller.php
.07/04/2006 05:51:42 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /home/vhosts/cacti/public_html/cmd.php 0 9]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
07/04/2006 05:51:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_25.rrd --template traffic_in:traffic_out 1152024702:2108974256:3972048631
07/04/2006 05:51:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_28.rrd --template traffic_in:traffic_out 1152024702:2008675691:1681642418
07/04/2006 05:51:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_34.rrd --template traffic_in:traffic_out 1152024702:108479366:607552794
07/04/2006 05:51:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_traffic_in_47.rrd --template traffic_in:traffic_out 1152024702:35706205:882196375
07/04/2006 05:51:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_traffic_in_48.rrd --template traffic_in:traffic_out 1152024702:3750014189:1439694452
07/04/2006 05:51:44 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool create /home/vhosts/cacti/public_html/rra/optiservers_traffic_in_59.rrd   --step 300   DS:traffic_in:COUNTER:600:0:100000000  DS:traffic_out:COUNTER:600:0:100000000  DS:traffic_in:COUNTER:600:0:100000000  DS:traffic_out:COUNTER:600:0:100000000  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
OK u:0.00 s:0.00 r:2.12
OK u:0.00 s:0.00 r:2.13
OK u:0.00 s:0.00 r:2.13
OK u:0.00 s:0.00 r:2.14
OK u:0.00 s:0.00 r:2.14
ERROR: Duplicate DS name: traffic_in
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_24.rrd --template traffic_out:traffic_in 1152024702:130046051:1693941434
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_33.rrd --template traffic_in:traffic_out 1152024702:2941123541:3358354245
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_26.rrd --template traffic_out:traffic_in 1152024702:64:64
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_27.rrd --template traffic_out:traffic_in 1152024702:1002772187:417123120
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_32.rrd --template traffic_in:traffic_out 1152024702:327890498:295225196
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_29.rrd --template traffic_out:traffic_in 1152024702:4111686408:3738063413
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_30.rrd --template traffic_out:traffic_in 1152024702:413383024:1784918102
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_31.rrd --template traffic_out:traffic_in 1152024702:2576316857:1677819380
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_35.rrd --template traffic_out:traffic_in 1152024702:1828978469:478938835
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_36.rrd --template traffic_out:traffic_in 1152024702:64:64
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_37.rrd --template traffic_out:traffic_in 1152024702:3034752977:2732514040
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_38.rrd --template traffic_out:traffic_in 1152024702:133858896:450446752
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_39.rrd --template traffic_out:traffic_in 1152024702:2120356293:1780836948
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_traffic_in_41.rrd --template traffic_out:traffic_in 1152024702:506111112:3414028910
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_traffic_in_43.rrd --template traffic_out:traffic_in 1152024702:882196375:35706205
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_traffic_in_44.rrd --template traffic_out:traffic_in 1152024702:1439694452:3750305635
OK u:0.00 s:0.00 r:3.15
OK u:0.00 s:0.00 r:3.15
OK u:0.00 s:0.00 r:3.15
OK u:0.00 s:0.00 r:3.15
OK u:0.00 s:0.00 r:3.15
OK u:0.00 s:0.00 r:3.15
OK u:0.00 s:0.00 r:3.15
OK u:0.00 s:0.00 r:3.15
OK u:0.00 s:0.00 r:3.15
OK u:0.00 s:0.00 r:3.15
OK u:0.00 s:0.00 r:3.15
OK u:0.00 s:0.00 r:3.15
OK u:0.00 s:0.00 r:3.15
OK u:0.00 s:0.00 r:3.15
OK u:0.00 s:0.00 r:3.15
OK u:0.00 s:0.00 r:3.15
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool create /home/vhosts/cacti/public_html/rra/optiservers_traffic_in_59.rrd   --step 300   DS:traffic_in:COUNTER:600:0:100000000  DS:traffic_out:COUNTER:600:0:100000000  DS:traffic_in:COUNTER:600:0:100000000  DS:traffic_out:COUNTER:600:0:100000000  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
ERROR: Duplicate DS name: traffic_in
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_traffic_in_59.rrd --template traffic_in:traffic_out N:1559643313:2640656259
ERROR: opening '/home/vhosts/cacti/public_html/rra/optiservers_traffic_in_59.rrd': No such file or directory
07/04/2006 05:51:45 PM - SYSTEM STATS: Time: 3.2761 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
and here is a copy of tail cacti.log

Code: Select all

root@plasma [/home/vhosts/cacti/public_html/log]# tail cacti.log
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_36.rrd --template traffic_out:traffic_in 1152024702:64:64
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_37.rrd --template traffic_out:traffic_in 1152024702:3034752977:2732514040
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_38.rrd --template traffic_out:traffic_in 1152024702:133858896:450446752
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_gateway_traffic_in_39.rrd --template traffic_out:traffic_in 1152024702:2120356293:1780836948
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_traffic_in_41.rrd --template traffic_out:traffic_in 1152024702:506111112:3414028910
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_traffic_in_43.rrd --template traffic_out:traffic_in 1152024702:882196375:35706205
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_traffic_in_44.rrd --template traffic_out:traffic_in 1152024702:1439694452:3750305635
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool create /home/vhosts/cacti/public_html/rra/optiservers_traffic_in_59.rrd   --step 300   DS:traffic_in:COUNTER:600:0:100000000  DS:traffic_out:COUNTER:600:0:100000000  DS:traffic_in:COUNTER:600:0:100000000  DS:traffic_out:COUNTER:600:0:100000000  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
07/04/2006 05:51:45 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.13/bin/rrdtool update /home/vhosts/cacti/public_html/rra/optiservers_traffic_in_59.rrd --template traffic_in:traffic_out N:1559643313:2640656259
07/04/2006 05:51:45 PM - SYSTEM STATS: Time: 3.2761 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
Any advise ?
cacti76
Posts: 8
Joined: Fri Jun 30, 2006 4:04 am

Post by cacti76 »

do you set the appropriate permissions on cacti's directories for graph/log generation. You should execute these commands from inside cacti's directory to change the permissions.

shell> chown -R cactiuser rra/
and
shell> chmod 777 rra/
power_on
Posts: 12
Joined: Wed Sep 14, 2005 8:43 am

Post by power_on »

Yes :(
All permissions were set.

I'm so sorry for bothering you.

Any advise :(
power_on
Posts: 12
Joined: Wed Sep 14, 2005 8:43 am

Post by power_on »

Anyone can help !!
power_on
Posts: 12
Joined: Wed Sep 14, 2005 8:43 am

Post by power_on »

Please help :(
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

SELinux enabled? If so, check out the below link for more information:

http://forums.cacti.net/viewtopic.php?t=7759

Safe mode enabled in php.ini?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
power_on
Posts: 12
Joined: Wed Sep 14, 2005 8:43 am

Post by power_on »

SELinux in not enabled and Safe mode is disabled

I found this in apache error log file

No log handling enabled - turning on stderr logging
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
read_config_store open failure on /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf


Please Advise.
cacti76
Posts: 8
Joined: Fri Jun 30, 2006 4:04 am

Post by cacti76 »

check net-snmp path... and if net-snmp is installed ?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests