Results 1 to 5 of 5

Thread: LDAP 256 Error on install

  1. #1
    Join Date
    Apr 2006
    Rep Power

    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: localhost mail

    When I dig or nslookup I am returned the local address (

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

    I cannot telnet to port 389 either...

    telnet 389 (of course, I'm using the real FQDN)
    telnet: connect to address 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/ Permission denied
    ERROR - failed to start slapd

    FAILED (256)


    Any ideas?
    Last edited by plan9; 01-02-2007 at 11:16 AM.

  2. #2
    Join Date
    Oct 2005
    Thatcher, AZ
    Rep Power


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

    Kill any left over processes.

    >su root
    >cd /opt/zimbra/libexec

  3. #3
    Join Date
    Apr 2006
    Rep Power


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

    I've completely removed zimbra (./ -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.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Vannes, France
    Rep Power


    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:       localhost.localdomain   localhost
    (the rest of the info in your hosts file is correct) and in your example above you've got 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.


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Apr 2006
    Rep Power


    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.

Similar Threads

  1. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 10:12 AM
  2. Multi Server Installation
    By rsharpe in forum Installation
    Replies: 6
    Last Post: 07-11-2007, 09:53 PM
  3. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 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