Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-29-2008, 06:40 AM
Starter Member
 
Posts: 1
Unhappy Initializing ldap Error.

Hello,

Here are my deployment environment details:

OS: CENTOS Version 4.4
Zimbra: zcs-5.0.2_GA_1975.RHEL4.20080130212006.tgz

I did YUM UPGRADE to update all the libs.

Followed the installation Guide: disbaled sendmail, postfix, firewall.

During Installation all the process executes well but when it comes to "APPLY" applying the configuring throughs the following Error:
/////////// ****************** \\\\\\\\\\\\\\\

zimbra-ldap is enabled
Initializing ldap...
*** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
is only avaliable with the XS version at /opt/zimbra/zimbramon/lib/IO/Socket/SSL.pm line 30
BEGIN failed--compilation aborted at /opt/zimbra/zimbramon/lib/IO/Socket/SSL.pm line 30.
Compilation failed in require at /opt/zimbra/zimbramon/lib/Net/LDAP.pm line 970.
failed. (2304)


ERROR



Configuration failed

Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
complete the configuration.
/////////// ****************** \\\\\\\\\\\\\\\




After going through different postings What I DID is:

cpan -i Scalar::Util

then executed install.sh got the same Error Again.


What is the solution to this Error.

Please Help.

Regards,
Sajid
Reply With Quote
  #2 (permalink)  
Old 03-29-2008, 10:25 AM
Moderator
 
Posts: 6,237
Default

Welcome to the forums,
5.0.x GA ships an XS compiled version of Scalar::Util in its perl modules for RHEL4. So before that as root, read the ~zimbra/.bashrc, and set the PERLLIB and PERL5LIB environment variables to match what the zimbra user does, and then try installing.
Quote:
export PERLLIB=/opt/zimbra/zimbramon/lib:/opt/zimbra/zimbramon/lib/i386-linux-thread-multi
export PERLLIB
PERL5LIB=$PERLLIB
export PERL5LIB
This should tell perl to use the Zimbra perl libraries before using the system perl libraries.

The root of the problem is that RedHat, for whatever reason, decided to build Scalar::Util without XS support on 32-bit RHEL4. RHEL4 64-bit, RHEL5, and RHEL5 64-bit did not have this issue. But in order to have consistency though, for 5.0.1+ we shipped Scalar::Util for all of those, so that our perl builds are identical regardless of platform.

Just curious - what's your perl version show as? (perl -v)
You could also see jdell's post on downgrading perl.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.