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 08-15-2008, 11:06 AM
Junior Member
 
Posts: 6
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:
Quote:
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:
Quote:
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:
Quote:
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
Reply With Quote
  #2 (permalink)  
Old 08-15-2008, 12:49 PM
OpenSource Builder & Moderator
 
Posts: 1,166
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.
Reply With Quote
  #3 (permalink)  
Old 08-15-2008, 01:27 PM
Junior Member
 
Posts: 6
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?
Reply With Quote
  #4 (permalink)  
Old 08-15-2008, 01:38 PM
y@w y@w is offline
Moderator
 
Posts: 658
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?).
__________________
What a n00b!
Reply With Quote
  #5 (permalink)  
Old 08-15-2008, 03:00 PM
Junior Member
 
Posts: 6
Unhappy OK, new host file.

here's the new host file:
Quote:
# 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.
Reply With Quote
  #6 (permalink)  
Old 08-18-2008, 08:10 AM
Junior Member
 
Posts: 6
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 10:34 AM.. Reason: changed files
Reply With Quote
  #7 (permalink)  
Old 08-18-2008, 03:36 PM
Junior Member
 
Posts: 6
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 03:38 PM..
Reply With Quote
  #8 (permalink)  
Old 08-19-2008, 12:29 PM
Junior Member
 
Posts: 6
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!
Reply With Quote
  #9 (permalink)  
Old 08-19-2008, 12:48 PM
y@w y@w is offline
Moderator
 
Posts: 658
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?
__________________
What a n00b!
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.