Can you be clear on how exactly you get the error?  How are you creating your 
RRD file?  How are you accessing it?  And so on.

One possibility is that you are accessing via both the rrdtool binary, and the 
RRDs Perl library, and they have been compiled separately.  For example, you 
may have compiled your rrdtool binary using 64bit, but there is an existing 
librrd that is 32bit, and you do not realise you are still using it.

If you create an RRD file using the rrdtool binary, then update/dump it using 
the same binary, I would expect it to work; similarly if you are using the same 
RRDs each time.

Check your system's installed packages - do you have any RRDTool packages 
installed?  If so, remove them.  Check your library directories for other 
rrdtool installs and libraries from previous installs.  Remove all RRDs and 
associated files (check under the auto/RRDs path as well)

Then run a new compile and install from source, when you are sure it is the 
only thing present, and make sure to compile 64bit if you can.

When I have seen similar issues before, it has always been due to parts of old 
libraries hanging about when they shouldnt.

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.ship...@auckland.ac.nz
Ph: +64 9 373 7599 ext 86487


________________________________________
From: rrd-users [rrd-users-bounces+s.shipway=auckland.ac...@lists.oetiker.ch] 
on behalf of Jon McGugan [j...@mcgugan.co.uk]
Sent: Saturday, 13 February 2016 12:43 a.m.
To: rrd-users@lists.oetiker.ch
Subject: [rrd-users] RRD was created on anther architecture - new install

I have searched the lists but all I can find is people trying to move to a new 
architecture. I am
trying to install and run from scratch.
Platform is Ubuntu 14.04 AMD
The problem occurs when I try to run snm
I have installed the rrdtool package and get the error
I have downloaded the rrdtool source, compiled and installed and still the get 
the error.
I suspect it is something to do with the RRDs.pm file which isn't rebuilt when 
I compile the
source. But I am new to this so it is just a guess. without the RRDs.pm snm 
says RRDs isn't
installed.
Help appreciated.

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to