August 30, 2009

Snow Leopard and rrdtool architecture conflict

Data files created with rrdtool from macports on an Apple OS X 1.5 Leopard system are not compatible with the Snow Leopard OS X 10.6 macports rrdtool. Snow Leopard rrdtool complains of an architecture conflict. Prior to upgrading to Snow Leopard, the rrdtool files can be dumped to ascii xml files with the rrdtool dump command. The xml files can be used to restore the data files in the correct format after the Snow Leopard upgrade by using the rrdtool restore command.

Converting the files after the Snow Leopard upgrade is still easy if you have a Linux system with rrdtool. The Leopard rrdtool data files can be copied to a Linux system and dumped with rrdtool dump and the Linux generated xml files can be copied back to the Snow Leopard system to restore the data files to the Snow Leopard architecture.

It is thought that the issue is a 32 bit vs 64 bit one and therefore the Linux system used for the dump would have to also be 32 bit to match the original data files

No comments:

Post a Comment