I recently updated all my cluster nodes to PUIAS 6. The head node is
still at PUIAS 5. Now I'm having issues with ganglia. I've already done
a lot of debugging, and suspect it's a version mismatch problem. I
figured easiest way to correct this was to take the SRPM for ganglia
from PUIAS 6 and try to rebuild it on PUIAS 5.7. When I try to do that,
however, I get an error:
# rpmbuild --rebuild ganglia-3.1.7-2.puias6.src.rpm
Installing ganglia-3.1.7-2.puias6.src.rpm
warning: InstallSourcePackage: Header V3 RSA/SHA256 signature: NOKEY,
key ID 41a40948
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
error: unpacking of archive failed on file
/usr/src/redhat/SOURCES/diskusage-pcre.patch;4ebc00bf: cpio: MD5 sum
mismatch
error: ganglia-3.1.7-2.puias6.src.rpm cannot be installed
I was expecting errors during the compile, but at this stage. Any
suggestions?
--
Prentice Bisbal
Linux Software Support Specialist/System Administrator
School of Natural Sciences
Institute for Advanced Study
Princeton, NJ
rpm versions are different, install the src rpm on a 6 machine, copy the
spec and sources to a 5 machine and rebuild from there.
I suspect this won't work for ganglia but that is the appropriate first
step anyway...
--T.
Prentice Bisbal
Linux Software Support Specialist/System Administrator
School of Natural Sciences
Institute for Advanced Study
Princeton, NJ
The version of rpm changed yes, the compression setting changed. You may use rpms from 5 on 6 but not 6 on 5.
This was a change made by redhat. Also the compression algorithm used will change again as fedora is using yet another compression in fedora 15.
It worked just fine for Ganglia. There were a couple of dependencies I
had to deal with, but nothing to cry about. The new version is
installed, and it looks like my ganglia problem is fixed.
--
Prentice