Problems (no graphics) in Fedora Core 3 (using RPM)

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

Moderators: Developers, Moderators

Post Reply
nataklug
Posts: 7
Joined: Sat Oct 15, 2005 10:40 am

Problems (no graphics) in Fedora Core 3 (using RPM)

Post by nataklug »

Hello all,

I am very new to this forum and I used search to look for an answer to my question. I have installed Cacti from a RPM in a box running Fedora Core 3.

I make every single tasks (mysql, installing other packeges) and configured.

The problem is my graphics do not show up. I tryed to configure a new interface and make graphics to it but only appear a broken image. I tryed to run poller.php by hand and this message apears:

Code: Select all

[root@ns2 ~]# php /var/www/html/cacti/poller.php
No log handling enabled - turning on stderr logging
Cannot find module (NONE): At line 1 in (none)
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.02
OK u:0.00 s:0.00 r:1.03
OK u:0.00 s:0.00 r:1.03
OK u:0.00 s:0.00 r:1.03
OK u:0.00 s:0.00 r:1.03
OK u:0.00 s:0.00 r:1.03
OK u:0.00 s:0.00 r:1.03
OK u:0.00 s:0.00 r:1.03
OK u:0.01 s:0.00 r:1.04
OK u:0.01 s:0.00 r:1.04
OK u:0.01 s:0.01 r:1.04
Content-type: text/html
X-Powered-By: PHP/4.3.11

10/15/2005 12:33:33 PM - SYSTEM STATS: Time:1.0783 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:16 RRDsProcessed:14
[root@ns2 ~]# No log handling enabled - turning on stderr logging
Cannot find module (NONE): At line 0 in (none)
No log handling enabled - turning on stderr logging
Cannot find module (NONE): At line 0 in (none)
Does anyone can help me with this question?

Att,

Nataniel Klug
nataklug
Posts: 7
Joined: Sat Oct 15, 2005 10:40 am

Post by nataklug »

I set poll log to debug level and get this:

Code: Select all

[root@ns2 log]# cat cacti.log
10/15/2005 02:43:14 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cacti/cmd.php 0 6]
10/15/2005 02:43:15 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
10/15/2005 02:43:15 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /var/www/html/cacti
10/15/2005 02:43:15 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /var/www/html/cacti
10/15/2005 02:43:15 PM - PHPSVR: Poller[0] DEBUG: FILENM: /var/www/html/cacti/script_server.php
10/15/2005 02:43:15 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[4] SNMP: Host responded to SNMP
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[4] RECACHE: Processing 1 items in the auto reindex cache for '172.20.0.161'.
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[4] DS[27] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl  get available /dev/hda1, output: 15042296
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[4] DS[28] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl  get used /dev/hda2, output: 8348900
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[4] DS[28] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl  get available /dev/hda2, output: 10788164
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[4] DS[27] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl  get used /dev/hda1, output: 1873420
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[4] DS[26] CMD: perl /var/www/html/cacti/scripts/loadavg_multi.pl, output: 1min:0.34 5min:0.20 10min:0.15
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[4] DS[25] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:, output: 465112
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[4] DS[24] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:, output: 13268
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[5] SNMP: Host responded to SNMP
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[5] RECACHE: Processing 2 items in the auto reindex cache for '172.20.0.11'.
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[5] DS[22] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl  get available /dev/hda1, output: 15042292
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[5] DS[22] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl  get used /dev/hda1, output: 1873420
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[5] DS[23] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl  get available /dev/hda2, output: 10788164
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[5] DS[18] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:, output: 13268
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[5] DS[23] CMD: perl /var/www/html/cacti/scripts/query_unix_partitions.pl  get used /dev/hda2, output: 8348900
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[5] DS[19] CMD: perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:, output: 465112
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[5] DS[20] CMD: perl /var/www/html/cacti/scripts/loadavg_multi.pl, output: 1min:0.34 5min:0.20 10min:0.15
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[5] DS[21] SNMP: v1: 172.20.0.11, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 1584753668
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[5] DS[21] SNMP: v1: 172.20.0.11, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 1647049258
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[6] SNMP: Host responded to SNMP
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[6] RECACHE: Processing 2 items in the auto reindex cache for '172.20.0.6'.
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[6] DS[17] WARNING: Result from SNMP not valid.  Partial Result:
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Host[6] DS[17] SNMP: v1: 172.20.0.6, dsname: snmp_oid, oid: , output: U
10/15/2005 02:43:15 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
10/15/2005 02:43:15 PM - CMDPHP: Poller[0] Time: 0.7802 s, Theads: N/A, Hosts: 3
10/15/2005 02:43:15 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.34' [map 1min->load_1min]
10/15/2005 02:43:15 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.20' [map 5min->load_5min]
10/15/2005 02:43:15 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.15' [map 10min->load_15min]
10/15/2005 02:43:15 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.34' [map 1min->load_1min]
10/15/2005 02:43:15 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.20' [map 5min->load_5min]
10/15/2005 02:43:15 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.15' [map 10min->load_15min]
10/15/2005 02:43:15 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/ns1_cnett_com_br_hdd_free_27.rrd --template hdd_free:hdd_used 1129398194:15042296:1873420
10/15/2005 02:43:15 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/ns1_cnett_com_br_hdd_free_28.rrd --template hdd_used:hdd_free 1129398194:8348900:10788164
10/15/2005 02:43:15 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/ns1_cnett_com_br_load_1min_26.rrd --template load_1min:load_5min:load_15min 1129398194:0.34:0.20:0.15
10/15/2005 02:43:15 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/ns1_cnett_com_br_mem_swap_25.rrd --template mem_swap 1129398194:465112
10/15/2005 02:43:15 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/ns1_cnett_com_br_mem_buffers_24.rrd --template mem_buffers 1129398194:13268
10/15/2005 02:43:15 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/ema_cnett_com_br_hdd_free_22.rrd --template hdd_free:hdd_used 1129398194:15042292:1873420
10/15/2005 02:43:15 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/ema_cnett_com_br_hdd_free_23.rrd --template hdd_free:hdd_used 1129398194:10788164:8348900
10/15/2005 02:43:15 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/ema_cnett_com_br_mem_buffers_18.rrd --template mem_buffers 1129398194:13268
10/15/2005 02:43:15 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/ema_cnett_com_br_mem_swap_19.rrd --template mem_swap 1129398194:465112
10/15/2005 02:43:15 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/ema_cnett_com_br_load_1min_20.rrd --template load_1min:load_5min:load_15min 1129398194:0.34:0.20:0.15
10/15/2005 02:43:15 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/ema_cnett_com_br_traffic_in_21.rrd --template traffic_out:traffic_in 1129398194:1584753668:1647049258
10/15/2005 02:43:15 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/ap1000_r01_e_r02_snmp_oid_17.rrd --template snmp_oid 1129398194:U
10/15/2005 02:43:15 PM - SYSTEM STATS: Time:1.0838 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:17 RRDsProcessed:12
10/15/2005 02:43:15 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cacti/poller_commands.php]
10/15/2005 02:43:15 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cacti/poller_export.php]
[root@ns2 log]#
Att,

Nataniel Klug
nataklug
Posts: 7
Joined: Sat Oct 15, 2005 10:40 am

Post by nataklug »

Now I tryed "graphic debug" and returns this:
ERROR: height > 32 is not possible with --only-graph option
I could not find any info about...

Att,

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

Post by rony »

Confirm that you rrdtool version and the rrdtool setting in cacti match.
[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]
nataklug
Posts: 7
Joined: Sat Oct 15, 2005 10:40 am

Post by nataklug »

rony wrote:Confirm that you rrdtool version and the rrdtool setting in cacti match.
rony,

I found that my RRDTools ins not 1.2.x so I could not use the Cacti. I am trying to compile the new version of RRDTool (i like to use .rpm, but the latest version for fedora core 3 is 1.0.3).

Att,

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

Post by rony »

Here is what I suggest....

Compile and install rrdtool from source. What version, well, that is up to you. Then the IMPORTANT PART, make sure that the version of RRDtool in your cacti settings is CORRECT. This is very important, as if it's not correct, you will get weird errors like you have posted before.
[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]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest