Installed RRDTool version does not match the return ^^

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

Moderators: Developers, Moderators

brochet
Posts: 6
Joined: Fri May 09, 2008 3:31 am

Installed RRDTool version does not match the return ^^

Post by brochet »

Hello, sorry to be back so soon, I've exactly the same problem than exposed in the following topic :
http://forums.cacti.net/about27028.html

but now the cacti version is 0.8.7b
the rrdtool version is RRDtool 1.2.23
it is a fresh install, and the symptoms are

first, that no graph are displayed (not empty, just a blank page)

secondly that the technical support said :
RRDTool Version
ERROR: Installed RRDTool version does not match configured version.
Please visit the
Configuration Settings and select the correct RRDTool Utility Version.

I 've set in the setting : RRDTool version 1.2.X
the directory .../cacti/rra is full of .rrd files
gd is working, i've made some succesful test with it

I use yum install to install all the lib and tool needed, maybe a path problem ?

merci d'avance :wink:
IUT Vélizy
DUT réseau et télécom 2eme année
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please verify, that no two version of rrdtool are causing problems. Compare the /path/to/rrdtool within cacti to your installation path of rrdtool
Reinhard
vpnnav
Posts: 16
Joined: Thu May 15, 2008 6:23 pm

Post by vpnnav »

hi !
I also have a same problem :(
I installed Cacti 0.8.7b on Fedora 6, when i try to create graph for my localhost the graph does not appears.

I try to find out the problem.

ERROR: Installed RRDTool version does not match configured version.
Please visit the Configuration Settings and select the correct RRDTool Utility Version.-- After that i change config to appropriate version of RRDTOOL : RRD 1.2.23 However the problem is not change !

Please let me know !how i deal with it
Thanks in advance
kanada
Cacti User
Posts: 137
Joined: Sun Aug 28, 2005 12:51 pm

Post by kanada »

vpnnav wrote:hi !
I also have a same problem :(
I installed Cacti 0.8.7b on Fedora 6, when i try to create graph for my localhost the graph does not appears.

I try to find out the problem.

ERROR: Installed RRDTool version does not match configured version.
Please visit the Configuration Settings and select the correct RRDTool Utility Version.-- After that i change config to appropriate version of RRDTOOL : RRD 1.2.23 However the problem is not change !

Please let me know !how i deal with it
Thanks in advance
Please rebuild a rrdtool package/source and check the rrdtool path like gandalf said.
I see cacti-tech page sometimes have problems to detect and compare this parms.

Alex.
brochet
Posts: 6
Joined: Fri May 09, 2008 3:31 am

Post by brochet »

oki so first :
[bob]#yum remove rrdtool
then

[bob]#find rrdtool
find: rrdtool: Aucun fichier ou répertoire de ce type

[bob]#find rrdtool.bin
find: rrdtool.bin: Aucun fichier ou répertoire de ce type

so there is no another rrdtool installed on this host

so going to reinstall rrdtool
[bob]#yum install rrdtool
[.....]
Installed: rrdtool.i386 0:1.2.23-6.fc6
Complete!

oki so trying to find the new rrdtool binary path :

[bob]#whereis rrdtool
rrdtool: /usr/bin/rrdtool /usr/share/rrdtool /usr/share/man/man1/rrdtool.1.gz

so putting the path /usr/bin/rrdtool into the configuration of cacti into the box :
RRDTool Binary Path

=> save
=> [OK: FILE FOUND]

going back to the System Utilities -> Technical Support

having again the same error : RRDTool Version
ERROR: Installed RRDTool version does not match configured version.
Please visit the
Configuration Settings and select the correct RRDTool Utility Version.


:-?
IUT Vélizy
DUT réseau et télécom 2eme année
vpnnav
Posts: 16
Joined: Thu May 15, 2008 6:23 pm

Post by vpnnav »

brochet wrote:oki so first :
[bob]#yum remove rrdtool
then

[bob]#find rrdtool
find: rrdtool: Aucun fichier ou répertoire de ce type

[bob]#find rrdtool.bin
find: rrdtool.bin: Aucun fichier ou répertoire de ce type

so there is no another rrdtool installed on this host

so going to reinstall rrdtool
[bob]#yum install rrdtool
[.....]
Installed: rrdtool.i386 0:1.2.23-6.fc6
Complete!

oki so trying to find the new rrdtool binary path :

[bob]#whereis rrdtool
rrdtool: /usr/bin/rrdtool /usr/share/rrdtool /usr/share/man/man1/rrdtool.1.gz

so putting the path /usr/bin/rrdtool into the configuration of cacti into the box :
RRDTool Binary Path

=> save
=> [OK: FILE FOUND]

going back to the System Utilities -> Technical Support

having again the same error : RRDTool Version
ERROR: Installed RRDTool version does not match configured version.
Please visit the
Configuration Settings and select the correct RRDTool Utility Version.


:-?
HI brochet
i have same problem with you :( I want to ask you .Do you create any graph of traffic such as localhost's or host in lan ?
kanada
Cacti User
Posts: 137
Joined: Sun Aug 28, 2005 12:51 pm

Post by kanada »

brochet wrote:oki so first :
[bob]#yum remove rrdtool
then

[bob]#find rrdtool
find: rrdtool: Aucun fichier ou répertoire de ce type

[bob]#find rrdtool.bin
find: rrdtool.bin: Aucun fichier ou répertoire de ce type

so there is no another rrdtool installed on this host

so going to reinstall rrdtool
[bob]#yum install rrdtool
[.....]
Installed: rrdtool.i386 0:1.2.23-6.fc6
Complete!

oki so trying to find the new rrdtool binary path :

[bob]#whereis rrdtool
rrdtool: /usr/bin/rrdtool /usr/share/rrdtool /usr/share/man/man1/rrdtool.1.gz

so putting the path /usr/bin/rrdtool into the configuration of cacti into the box :
RRDTool Binary Path

=> save
=> [OK: FILE FOUND]

going back to the System Utilities -> Technical Support

having again the same error : RRDTool Version
ERROR: Installed RRDTool version does not match configured version.
Please visit the
Configuration Settings and select the correct RRDTool Utility Version.


:-?
Ok, one more thing..
What you have in Settings -> RRDTool Utility Version ?

Alex.
vpnnav
Posts: 16
Joined: Thu May 15, 2008 6:23 pm

Post by vpnnav »

kanada wrote:
brochet wrote:oki so first :
[bob]#yum remove rrdtool
then

[bob]#find rrdtool
find: rrdtool: Aucun fichier ou répertoire de ce type

[bob]#find rrdtool.bin
find: rrdtool.bin: Aucun fichier ou répertoire de ce type

so there is no another rrdtool installed on this host

so going to reinstall rrdtool
[bob]#yum install rrdtool
[.....]
Installed: rrdtool.i386 0:1.2.23-6.fc6
Complete!

oki so trying to find the new rrdtool binary path :

[bob]#whereis rrdtool
rrdtool: /usr/bin/rrdtool /usr/share/rrdtool /usr/share/man/man1/rrdtool.1.gz

so putting the path /usr/bin/rrdtool into the configuration of cacti into the box :
RRDTool Binary Path

=> save
=> [OK: FILE FOUND]

going back to the System Utilities -> Technical Support

having again the same error : RRDTool Version
ERROR: Installed RRDTool version does not match configured version.
Please visit the
Configuration Settings and select the correct RRDTool Utility Version.


:-?
Ok, one more thing..
What you have in Settings -> RRDTool Utility Version ?

Alex.
I have RRDTOOL 1.2.x
kanada
Cacti User
Posts: 137
Joined: Sun Aug 28, 2005 12:51 pm

Post by kanada »

Well, can you paste ma a resoult of command rrdtool executed in console?

Alex.
brochet
Posts: 6
Joined: Fri May 09, 2008 3:31 am

Post by brochet »

vpnnav wrote: Do you create any graph of traffic such as localhost's or host in lan ?
I'm trying to see the bandwith's load of the local interface


the rrdtool version is 1.2.23
and the command rrdtool gives :

[bob]# rrdtool
RRDtool 1.2.23 Copyright 1997-2007 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Jul 10 2007 21:51:31

Usage: rrdtool [options] command command_options

Valid commands: create, update, updatev, graph, dump, restore,
last, lastupdate, first, 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
IUT Vélizy
DUT réseau et télécom 2eme année
vpnnav
Posts: 16
Joined: Thu May 15, 2008 6:23 pm

Post by vpnnav »

Hi brochet!
I have just fix this problem by disable SElinux .
Please try it hope you get same result as me :D
http://forums.cacti.net/viewtopic.php?t=7759
brochet
Posts: 6
Joined: Fri May 09, 2008 3:31 am

Post by brochet »

Yeah perfect thanks a lot :D

the graph are now printed
IUT Vélizy
DUT réseau et télécom 2eme année
harmless
Posts: 4
Joined: Fri Jun 26, 2015 1:03 am

Re: Installed RRDTool version does not match the return ^^

Post by harmless »

My patch

Code: Select all

utilities.php
249c249,251
<                         if (preg_match("/^RRDtool 1\.4/", $out_array[0])) {
---
>                       if (preg_match("/^RRDtool 1\.5/", $out_array[0])) {
>                                 $rrdtool_version = "rrd-1.5.x";
>                         }else if (preg_match("/^RRDtool 1\.4/", $out_array[0])) {
User avatar
micke2k
Cacti User
Posts: 261
Joined: Wed Feb 03, 2016 3:38 pm

Re: Installed RRDTool version does not match the return ^^

Post by micke2k »

harmless wrote:My patch

Code: Select all

utilities.php
249c249,251
<                         if (preg_match("/^RRDtool 1\.4/", $out_array[0])) {
---
>                       if (preg_match("/^RRDtool 1\.5/", $out_array[0])) {
>                                 $rrdtool_version = "rrd-1.5.x";
>                         }else if (preg_match("/^RRDtool 1\.4/", $out_array[0])) {
This is fixed in version 1.0, but thanks for submitting to users running older versions!
sachin19
Posts: 24
Joined: Mon Dec 25, 2017 4:46 am

Re: Installed RRDTool version does not match the return ^^

Post by sachin19 »

Hello All,

I am facing the same issue on Ubuntu 16.04
here are the details:
Cacti Version 0.8.8f
Cacti OS unix
SNMP Version NET-SNMP version: 5.7.3
RRDTool Version ERROR: Installed RRDTool version does not match configured version.
Please visit the Configuration Settings and select the correct RRDTool Utility Version.
Hosts 4
Graphs 73
Data Sources Script/Command: 6
SNMP: 3
SNMP Query: 62
Script Query - Script Server: 2
Total: 73
Poller Information

Installed RRD Tool version 1.2X
Due to this some of times graphs were not creating and need to do frequent refresh verbose query.

Pl. suggest how can i solve this issue.

Sachin
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests