[QUOTE=AndyWas;200900]Looks like the same problem occurs on Fedora 14 now... I got ZCS 6 installed recently on Fedora 13 x86_64 using package zcs-6.0.8_GA_2661.F11_64.20100820041438. I have just upgraded to FC14, and when I try tostart ZCS services I get this Perl-related message:-
Code:
[zimbra@localhost ~]$ zmcontrol start
Assertion ((svtype)((_svi)->sv_flags & 0xff)) >= SVt_PV failed: file "UUID.c", line 368 at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Logger.pm line 37.
Compilation failed in require at /opt/zimbra/bin/zmcontrol line 27.
BEGIN failed--compilation aborted at /opt/zimbra/bin/zmcontrol line 27.
If I run the install script again, after finding the previous installation and prerequisites, I get another Perl error:-
Code:
Assertion ((svtype)((_svi)->sv_flags & 0xff)) >= SVt_PV failed: file "UUID.c", line 368 at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Logger.pm line 37.
Compilation failed in require at bin/zmdbintegrityreport line 19.
BEGIN failed--compilation aborted at bin/zmdbintegrityreport line 19.
I worked around this by downloading and compiling a newer version of Data::UUID (version 1.217):
1) Download the new package from this this page:
Data::UUID - search.cpan.org (Data-UUID-1.217.tar.gz)
2) untar/ungzip the package/cd to the directory
3) Compile the module
perl Makefile.PL
make
make test
4) make backups of the old UUID files
mv /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/auto/Data/UUID/UUID.bs /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/auto/Data/UUID/UUID.bs.old
mv /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/Data/UUID.pm /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/Data/UUID.pm.old
mv /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/auto/Data/UUID/UUID.so /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/auto/Data/UUID/UUID.so.old
5) make a shared object out of the UUID.o file:
gcc UUID.o -shared -o UUID.so
6) copy your new file versions into place:
cp ~/dev/Data-UUID-1.217/UUID.bs /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/auto/Data/UUID/UUID.bs
cp ~/dev/Data-UUID-1.217/UUID.pm /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/Data/UUID.pm
cp ~/dev/Data-UUID-1.217/UUID.so /opt/zimbra/zimbramon/lib/i386-linux-thread-multi/auto/Data/UUID/UUID.so
7) Restart Zimbra and watch as the scripts that depend on the UUID perl dependency now run without error.