Results 1 to 9 of 9

Thread: [SOLVED] persistent LDAP errors while installing ZCS Open Source

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    6
    Rep Power
    7

    Default [SOLVED] persistent LDAP errors while installing ZCS Open Source

    OK, I'm trying to install ZCS on a Red Hat Enterprise box that's also running as a web server right now. I figured it'd be okay if we just set the http for zcs to port 8080, right?
    So I go through the install and it asks the infamous "do you want to change the domain?" quesiton, which is yes - the server is at teamfranken.com and shows up as sf5d187.a2hosting.com - which I know is a local DNS thing. so I change it to teamfranken.com.
    the rest of the config goes fine, until i get this:
    Operations logged to /tmp/zmsetup.01001900-000011009344.log
    Setting local config values...done.
    Setting up CA...done.
    Deploying CA to /opt/zimbra/conf/ca ...done.
    Creating SSL certificate...done.
    Installing mailboxd SSL certificates...done.
    Initializing ldap...failed. (2304)


    ERROR



    Configuration failed

    Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
    complete the configuration.
    Now, when I look into the log file, I see two spots that fail:
    Fri Aug 15 10:56:40 2008 *** Running as root user: /opt/zimbra/bin/zmcertmgr createca
    ** Creating directory /opt/zimbra/ssl/zimbra
    ** Creating directory /opt/zimbra/ssl/zimbra/ca
    ** Creating directory /opt/zimbra/ssl/zimbra/server
    ** Creating directory /opt/zimbra/ssl/zimbra/commercial
    ** Creating directory /opt/zimbra/mailboxd/webapps/zimbraAdmin/tmp
    ** Creating /opt/zimbra/ssl/zimbra/ca/zmssl.cnf...done
    ** Retrieving CA private key from ldap...failed.
    ** Retrieving CA cert from ldap...failed.
    ** Creating CA private key /opt/zimbra/ssl/zimbra/ca/ca.key...done.
    ** Creating CA cert /opt/zimbra/ssl/zimbra/ca/ca.pem...done.
    Fri Aug 15 10:56:44 2008 done.
    BUT - in the /opt/zimbra/conf/ca directory, ca.key exists!

    I'll be the first to admit, I'm a DNS newbie. so here's the hostfile:
    127.0.0.1 localhost.localdomain localhost
    69.39.86.187 sf5d187.a2hosting.com sf5d187
    I *think* that's right, but I just kind of left it unchanged.
    how do I fix the error and get ZCS up and running?

    Thanks SO MUCH for the help!
    -Louie

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

    Default

    ignore the two errors in the setup log - that's actually a good thing on a first install and triggers the cert gen.

    the reason your ldap is failing is because of dns - more specifically it is trying to start and bind to a nonexistent IP.

    do 'ifconfig -a' and look at the ip address you're using. it probably starts with 192.168.x.x or 10.x.x.x. if this is the case, search the wiki/forums for split-dns. it's the most common form of error with setting up zimbra.

  3. #3
    Join Date
    Aug 2008
    Posts
    6
    Rep Power
    7

    Question

    Okay, after running ifconfig, it looks like the address in the host file is indeed the local address... eth0 is bound as 69.39.86.187, and eth1 is "broadcast multicast"
    so, it looks like it's not a split DNS issue... so is this something in the hostfile, do you think?

  4. #4
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    Quote Originally Posted by schmoo2x View Post
    Okay, after running ifconfig, it looks like the address in the host file is indeed the local address... eth0 is bound as 69.39.86.187, and eth1 is "broadcast multicast"
    so, it looks like it's not a split DNS issue... so is this something in the hostfile, do you think?
    You'll need an entry in your hosts file for the hostname Zimbra is trying to use (teamfranken.com?).

  5. #5
    Join Date
    Aug 2008
    Posts
    6
    Rep Power
    7

    Unhappy OK, new host file.

    here's the new host file:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    69.39.86.187 sf5d187.a2hosting.com sf5d187
    69.39.86.187 zimbra.teamfranken.com zimbra
    and when asked to change the dns entry or whatever, I told it "zimbra.teamfranken.com."
    ...oddly enough, when poking through the configuration, it is still showing up everywhere as sf5d187.a2hosting.com - is this normal? does it need that name for something, or can we call the localhost by the teamfranken name?

    At any rate, after going through all of this, restarting the network service, logging out, back in, uninstalling zimbra and then re-installing it, i get the same result. Sadly, changing the hosts file didn't do it.

  6. #6
    Join Date
    Aug 2008
    Posts
    6
    Rep Power
    7

    Default

    Okay, I've re-run the installation after modifying the hosts file and some other things... this is what I'm getting in the logfile:
    Code:
    Mon Aug 18 13:27:41 2008 *** 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 991.
    Mon Aug 18 13:27:53 2008 failed. (2304)
    and line 30 of SSL.pm looks like:
    Code:
    BEGIN{
        eval { use Scalar::Util 'dualvar'; dualvar(0,'') };
        die "You need the XS Version of Scalar::Util for dualvar() support" 
    	if $@;
    }
    So it looks like it's a problem with Scalar::Util... Does anyone think that that's the ONLY issue? this DNS stuff is killing my brain...
    Last edited by schmoo2x; 08-18-2008 at 11:34 AM. Reason: changed files

  7. #7
    Join Date
    Aug 2008
    Posts
    6
    Rep Power
    7

    Default

    Here's what I've done:
    Code:
    cpan
    >update cpan
    >reload cpan
    >install XS
    >force install Scalar::Util
    >exit
    ./install.sh --platform-override
    Of course, confirming that i want to uninstall and then re-install... but the log file still gives this same Line 30 error. i'm not sure, but I have a feeling that Scalar::Util isn't re-building itself with the XS extensions... Anyone know any way to test this?
    Last edited by schmoo2x; 08-18-2008 at 04:38 PM.

  8. #8
    Join Date
    Aug 2008
    Posts
    6
    Rep Power
    7

    Default

    Seems we had a CentOS Box, and not an RHEL box. my mistake.
    Solution found in the forums:
    SOLVED CentOS is NOT Supported(page 4)
    thanks for your help, guys!

  9. #9
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    Haha now you're going to start this debate all over again. CentOS isn't exactly supported, but it should work. Really, it's just Red Hat without support, although obviously there have been a couple of inconsistencies. Check out the last page of that thread you mentioned.. They were able to make it work. We're running a pretty good mix, but use CentOS quite a bit and haven't had any compatibility issues. Are you on CentOS 4 or 5?

Similar Threads

  1. [Installation] Zimbra Desktop - Ubuntu 8.04 Hardy
    By kaltera in forum Installation Help
    Replies: 1
    Last Post: 06-18-2008, 05:43 AM
  2. Upgrade: 4.5.5 -> 4.5.6 failed, LDAP/slapd issues
    By Daimyo in forum Installation
    Replies: 7
    Last Post: 08-04-2007, 10:23 PM
  3. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 07:45 AM
  4. Installing Zimbra Open Source on VPS server
    By ozace in forum Installation
    Replies: 14
    Last Post: 07-17-2006, 06:56 PM
  5. Installing Zimbra using OSX LDAP
    By camiriddle in forum Installation
    Replies: 2
    Last Post: 07-13-2006, 07:17 PM

Posting Permissions

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