Results 1 to 5 of 5

Thread: LDAP 256 Error on install

  1. #1
    plan9 is offline Loyal Member
    Join Date
    Apr 2006
    Posts
    76
    Rep Power
    9

    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 12:16 PM.

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

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

    Kill any left over processes.

    >su root
    >cd /opt/zimbra/libexec
    >./zmfixperms

  3. #3
    plan9 is offline Loyal Member
    Join Date
    Apr 2006
    Posts
    76
    Rep Power
    9

    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.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,444
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    plan9 is offline Loyal Member
    Join Date
    Apr 2006
    Posts
    76
    Rep Power
    9

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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, 03:39 PM
  5. Replies: 4
    Last Post: 11-15-2006, 12:16 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
  •