problem with rrdtool 1.2.11
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 68
- Joined: Thu Aug 04, 2005 8:34 am
problem with rrdtool 1.2.11
i got a problem getting rrdtool 1.2.11 to run with my cacti and cactid (all patches installed, all other sw version as of monday this week).
rrdtool was downloaded from cacti-site today.
when i go from 1.2.10 to 1.2.11, no rra's are generated by poller.php.
going back to 1.2.10 immediately gets me the rra's without any other change to the system.
so i checked the debug output of poller.php...
all looked fine, both versions get exactly the same output.
so i extracted the rrdtool-call out of the log and tried it manually on the rrdtool 1.2.11... and it worked immediately without any error.
also graph generation works with the new version (much faster).
any idea on that one?
anything else to look at?
rrdtool was downloaded from cacti-site today.
when i go from 1.2.10 to 1.2.11, no rra's are generated by poller.php.
going back to 1.2.10 immediately gets me the rra's without any other change to the system.
so i checked the debug output of poller.php...
all looked fine, both versions get exactly the same output.
so i extracted the rrdtool-call out of the log and tried it manually on the rrdtool 1.2.11... and it worked immediately without any error.
also graph generation works with the new version (much faster).
any idea on that one?
anything else to look at?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Did the call include the "-" sign right after it's inception?
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Cacti User
- Posts: 68
- Joined: Thu Aug 04, 2005 8:34 am
here is the call in the logfile:
RRD-creation working with rrdtool 1.2.10:
RRD-creation not working with rrdtool 1.2.11:
was that helpful?
i hope so. as you see the calls are identical, as said the strange thing is that if i copy+paste the above calls to the cmd-prompt in windows it works.
RRD-creation working with rrdtool 1.2.10:
Code: Select all
08/10/2005 02:40:17 PM - POLLER: Poller[0] CACTI2RRD: E:\rrdtool\rrdtool.exe create E:\cacti/rra/xxxx_traffic_out_164.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:57600 RRA:AVERAGE:0.5:6:38400 RRA:MIN:0.5:1:57600 RRA:MIN:0.5:6:38400 RRA:MAX:0.5:1:57600 RRA:MAX:0.5:6:38400 RRA:LAST:0.5:1:57600 RRA:LAST:0.5:6:38400
08/10/2005 02:40:17 PM - POLLER: Poller[0] CACTI2RRD: E:\rrdtool\rrdtool.exe update E:\cacti\rra\xxxx_traffic_out_164.rrd --template traffic_in:traffic_out N:171868692379:89500842600
Code: Select all
08/10/2005 02:43:22 PM - POLLER: Poller[0] CACTI2RRD: E:\rrdtool\rrdtool.exe create E:\cacti/rra/xxxx_traffic_out_164.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:57600 RRA:AVERAGE:0.5:6:38400 RRA:MIN:0.5:1:57600 RRA:MIN:0.5:6:38400 RRA:MAX:0.5:1:57600 RRA:MAX:0.5:6:38400 RRA:LAST:0.5:1:57600 RRA:LAST:0.5:6:38400
08/10/2005 02:43:23 PM - POLLER: Poller[0] CACTI2RRD: E:\rrdtool\rrdtool.exe update E:\cacti\rra\xxxx_traffic_out_164.rrd --template traffic_in:traffic_out N:171877662690:89508346457
i hope so. as you see the calls are identical, as said the strange thing is that if i copy+paste the above calls to the cmd-prompt in windows it works.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
If you could run both from the command line and post the output, I would greatly appreciate it.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Cacti User
- Posts: 68
- Joined: Thu Aug 04, 2005 8:34 am
that is easy. the output is.... none... in both cases *sigh*.
i am now trying to run poller.php with php.exe and create some output.
and.... voila!!! (strangely you only see this when running poller.php with php.exe poller.php >somefile.txt, not on screen!).
obviously the wrong cygwin.dll is packed with rrdtool.exe in the download?
second strange thing is: why is it working when used from command-prompt?!?
i will now try a reboot to see if it corrects my problem (i knew it had something to do with windows *g*)
EDIT:
i found something else after the reboot didnt work.
cactid comes with a cygwin1.dll. and there was the version conflict.
after exchanging the cygwin1.dll of cactid with the one delivered with rrdtool.exe i had no error message. let me wait a few hours to see whether data is collected.....
i am now trying to run poller.php with php.exe and create some output.
and.... voila!!! (strangely you only see this when running poller.php with php.exe poller.php >somefile.txt, not on screen!).
Code: Select all
E:\cactid\cactid.exe (6104): *** system shared memory version mismatch detected
- 0x75BE0084/0x75BE0081.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
second strange thing is: why is it working when used from command-prompt?!?
i will now try a reboot to see if it corrects my problem (i knew it had something to do with windows *g*)
EDIT:
i found something else after the reboot didnt work.
cactid comes with a cygwin1.dll. and there was the version conflict.
after exchanging the cygwin1.dll of cactid with the one delivered with rrdtool.exe i had no error message. let me wait a few hours to see whether data is collected.....
-
- Cacti User
- Posts: 68
- Joined: Thu Aug 04, 2005 8:34 am
it worked!
exchanging the cygwin dll of cactid with the one delivered with rrdtool 1.2.11 was definitely the solution.
and as always, the solution could have been clear from the beginning *g*
cactid uses cygwin and calls rrdtool.
as windows does not seperate the memory clearly between running applications, rrdtool then tries to call cygwin in a different version than in which it is in memory.
exchanging the cygwin dll of cactid with the one delivered with rrdtool 1.2.11 was definitely the solution.
and as always, the solution could have been clear from the beginning *g*
cactid uses cygwin and calls rrdtool.
as windows does not seperate the memory clearly between running applications, rrdtool then tries to call cygwin in a different version than in which it is in memory.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
disorganizer,
You don't have it 100% correct as Cactid does not call rrdtool. But thats Ok. Glad you found the problem.
TheWitness
You don't have it 100% correct as Cactid does not call rrdtool. But thats Ok. Glad you found the problem.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 3 guests