Results 1 to 6 of 6

Thread: ldap error 2304

  1. #1
    Join Date
    Jan 2008
    Posts
    3
    Rep Power
    7

    Default ldap error 2304

    The first time I installed Zimbra it installed and worked (no dns). Well I uninstalled it because I thought it would be easier to configure DNS then reinstall Zimbra, but now I'm getting ldap errors. I can't seem to find any info on 2304....

    I'm running RHEL 4 64bit, and Zimbra 5.0.1

    Initializing ldap...Running as zimbra user : /opt/zimbra/libexec/zmldapinit is only available with the XS version at /opt/Zimbra/Zimbramon/lib/IO/Socket/SSL.pm line 30
    Begin failed- compilation aborted at /opt/zimbar/zimbarmon/lib/IO/Socket/SSL.pm line 30.
    Compilation failed in require at /opt/zimbar/zimbarmon/lib/Net/LDAP.pm line 970. failed (2304)

    Error

    Configuration failed

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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 jump 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.
    You're setting the perl bits in the root environment similar to what is in the zimbra user's, is, as root, run these at the shell on RHEL4:
    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)

  3. #3
    Join Date
    Jan 2008
    Posts
    3
    Rep Power
    7

    Default

    using version v5.8.8 x86_64-linux-thread-multi

    I'm using RHEL4 64 bit, should I not be seeing this problem?

    tried exporting these env variables, then I reran zmsetup.pl, same error. I'll keep trying.

  4. #4
    Join Date
    Jan 2008
    Posts
    3
    Rep Power
    7

    Default

    Thanks for the welcome, forgot to mention it.

    I've been using this forum the last 2 days trying to come up with different things to try. I'm guessing since Zimbra was the first thing I installed after building the machine, everything went fine. I then added some other apps (bugzilla, zentrack, mediaWiki), which must have altered the state of the machine.

    I'll probably continue to work on it another day or 2, worst case is a rebuild with Zimbra as the first app installed.

    Thanks for the quick response too.

  5. #5
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    this has been discussed endlessly on the forums (hint: search for centos XS). looks like you're running an upgraded and unsupported version of perl.

    for some unknown reason the forum strips out XS as search term...
    link: http://www.zimbra.com/forums/install...pported-5.html
    Last edited by dijichi2; 01-24-2008 at 12:31 PM.

  6. #6
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

Similar Threads

  1. LDAP Replication Experiences
    By technikolor in forum Administrators
    Replies: 4
    Last Post: 11-11-2008, 11:52 PM
  2. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  3. External LDAP Problem
    By facerw in forum Installation
    Replies: 7
    Last Post: 05-08-2007, 04:29 AM
  4. Mac OSX install: Java errors & LDAP CA error
    By jefbear in forum Installation
    Replies: 9
    Last Post: 12-16-2006, 02:39 PM
  5. Replies: 4
    Last Post: 11-15-2006, 11:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •