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 12-30-2006, 01:08 PM
Active Member
 
Posts: 26
Default Can't get zimbra installed, stuck at initializing ldap

I recently discovered Zimbra and I immediately got interested in it. I first tested on a Debian 3.1 VMWare installation. This went fine and now I want to install it on my real server.

This server also runs Debian 3.1 (with all updates installed).
Unfortunately this gives me a little more problems.
I can't get it installed. I get stuck at 'Initializing ldap'. It takes forever and the cpu load from the installer is gone after a few seconds.

I tried several things, but I can't find the problem.

I attached the zmsetup log file.
Notice that I Ctrl-C out the installer, which causes the ldap_bind error.

Does someone sees the problem or have any idea?
Thanks in advance!

ps Using Zimbra 4.05 for debian
Attached Files
File Type: txt zmsetup.txt (5.3 KB, 153 views)
File Type: txt config.txt (1.0 KB, 150 views)

Last edited by superboer12; 01-03-2007 at 01:37 AM.. Reason: added config file
Reply With Quote
  #2 (permalink)  
Old 12-30-2006, 09:21 PM
Zimbra Employee
 
Posts: 604
Default

Hi,

I'm glad your trial went well and you are happy with Zimbra ZCS. A production email server is somewhat useless without proper DNS. Your problem with ldap binding is directly related to the DNS errors that the installer warned you about.

You're server must have a network interface configured that matches the server name, this needs to be resolvable either by DNS or the local /etc/hosts file. Add proper A, PTR and MX entries in DNS and an entry in /etc/hosts and you should be set.

BTW, this is covered in the Installation docs and numerous forum posts.
Reply With Quote
  #3 (permalink)  
Old 01-01-2007, 02:51 AM
Active Member
 
Posts: 26
Default

I indead saw the DNS errors. But I don't know exactly what goes wrong and maybe even more important how to fix it.

I have set the hostname in the zimbra setup to netserver.roma.dc
A 'nslookup netserver.roma.dc' command returns the IP of the mail servers LAN interface.
The domain name is set to myinternetdomainname. The MX record for this domain doesn't point to my internet IP, because my ISP is using smarthosting. So everything that is send to myinternetdomainname on port 25 will go to my mailserver, but not directly but through an ISP mailhost.
Reply With Quote
  #4 (permalink)  
Old 01-01-2007, 11:57 AM
Zimbra Employee
 
Posts: 604
Default

Are you positive about the nslookup results. According to the installer you have for interfaces configured,
Quote:
Interface: 10.0.0.1
Interface: 192.168.10.10
Interface: 127.0.0.1
Interface: 10.0.1.1
netserver.roma.dc must resolve to one of those ip's in order for ldap to properly start. If this is all set correctly take a look at the wiki guide for ldap.
http://wiki.zimbra.com/index.php?tit...artup_failures

Make sure you don't have any firewalls blocking port 389 and disable selinux if appropriate for you distro.
Reply With Quote
  #5 (permalink)  
Old 01-02-2007, 06:59 AM
Active Member
 
Posts: 26
Default

netserver.roma.dc resolves to 10.0.0.1, the LAN interface.

I managed to get Zimbra installed now. Flushing iptables and reapplying my firewall rules made it work.

Now I get another problem.
Zimbra is fully running on the server.
When I try to access the web client I get the login screen. After logging in I get stuck at 'Loading'.
When I flush iptables (so no more firewalling) I can login and I get the webclient after about 1 second of 'Loading'.
Same story for the web admin console.

I am accessing the server from the LAN (10.0.0.0/24). Nothing from the LAN is blocked by the firewall.
I don't experience this problem with any of the other services running on this server. (http, ftp, mysql, smb etc).

I attached the list of firewall rules active on the system.
Attached Files
File Type: txt iptables_list.txt (1.6 KB, 156 views)
Reply With Quote
  #6 (permalink)  
Old 01-02-2007, 09:40 PM
Former Zimbran
 
Posts: 5,606
Default

Try checking the error console:
also, check the /opt/zimbra/log/zimbra.log

Maybe there's something in the log
Reply With Quote
  #7 (permalink)  
Old 01-03-2007, 01:28 AM
Active Member
 
Posts: 26
Default

hmm today I can't get connected to the web interface at all
After entering the URL in the client loading takes a long time which is followed by a 'cannot load page' error. Telnet on the client can connect to the http port of zimbra, so the firewall isn't blocking this. (after connected nothing happens like with the browser)

I can connect to LDAP on my server using 'telnet netserver.roma.dc 389'.
If I connect with telnet on the server to the http port of zimbra it gives the same result as telnetting from the client.

When I look at the zimbra.log error message I guess something goes wrong with the database connection under my firewall rules ("com.zimbra.cs.service.ServiceException: system failure: getting database connection").

I attached a part of syslog and zimbra.log.
I also attached some information given by the commands 'lsof' and 'ps'.
I hope it's usefull.
Attached Files
File Type: txt zimbralog.txt (10.5 KB, 133 views)
File Type: txt lsof.txt (2.9 KB, 144 views)
File Type: txt psaux.txt (6.1 KB, 141 views)
File Type: txt syslog.txt (16.1 KB, 145 views)
Reply With Quote
  #8 (permalink)  
Old 01-03-2007, 02:35 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

The recommended configuration in the Zimbra Quick Start Guide is no firewall and no SElinux, they both cause problems. Does it work if you disable the firewall?
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 01-03-2007, 03:55 AM
Active Member
 
Posts: 26
Default

yep like mentioned in a previous post all problems disappear when disabling the firewall. But server needs the firewall. (also acts as gateway).
Reply With Quote
  #10 (permalink)  
Old 01-03-2007, 04:17 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Then you'll continue to have problems, a mail server shouldn't be installed on the gateway/firewall - it should be installed on a separate server inside the firewall.
__________________
Regards


Bill
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.