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 01-02-2007, 07:22 AM
Loyal Member
 
Posts: 76
Default LDAP 256 Error on install

I'm receiving the 256 LDAP error when trying to install ZCS 4.0.5 on a clean CentOS 4.4 box.


The hosts file has two entries:

127.0.0.1 localhost.localdomain.com localhost
192.168.2.1 mail.mydomain.com mail

When I dig or nslookup mail.mydomain.com I am returned the local address (192.168.2.1).

SELinux is not enabled and no firewall is running on the box.


I cannot telnet to port 389 either...

telnet mail.mydomain.com 389 (of course, I'm using the real FQDN)
Trying 192.168.2.1...
telnet: connect to address 192.168.2.1: Connection refused
telnet: Unable to connect to remote host: Connection refused

Here's what's in the setup log


Initializing ldap...
*** Running as zimbra user: /opt/zimbra/libexec/zmldapinit

/opt/zimbra/libexec/zmldapinit: line 60: /opt/zimbra/conf/slapd.conf.in: Permission denied
ERROR - failed to start slapd

FAILED (256)



ERROR


Any ideas?

Last edited by plan9; 01-02-2007 at 11:16 AM..
Reply With Quote
  #2 (permalink)  
Old 01-02-2007, 09:38 PM
Former Zimbran
 
Posts: 5,606
Default

Make sure all zimbra services are stoped:
ps auxx | grep zimbra

Kill any left over processes.

>su root
>cd /opt/zimbra/libexec
>./zmfixperms
Reply With Quote
  #3 (permalink)  
Old 01-03-2007, 04:59 AM
Loyal Member
 
Posts: 76
Default

No Zimbra processes were running and I executed the zmfixperms script, but I still cannot install ZCS.

I've completely removed zimbra (./install.sh -u, rm -R /opt/zimbra, even removed the log files) a couple of times, rebooting after each, without any luck.

I suppose my next plan of action is to format the computer and reinstall the OS unless anyone else has any ideas.
Reply With Quote
  #4 (permalink)  
Old 01-03-2007, 05:41 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

There should be no reason why you need to re-install, Zimbra is easy to install on CentOS 4 - I'm using and several forum members use it.

Anyway, you hosts file is incorrect and it should read as follows:
Code:
127.0.0.1       localhost.localdomain   localhost
(the rest of the info in your hosts file is correct) and in your example above you've got localdomain.com. If you can't telnet to a port after the installation of zimbra then you either have a firewall or selinx blocking it or the service isn't running. Make the change to your hosts file and go through the install again and we'll see if we can get you going. I'm also assuming that you have the correct A & MX DNS records set.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 01-03-2007, 06:05 AM
Loyal Member
 
Posts: 76
Default

How bone-headed of me. I knew that entry in the hosts file was wrong. I just couldn't see it though.

Thanks for pointing it out.
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.