Page 1 of 2 12 LastLast
Results 1 to 10 of 25

Thread: Good Old LDAP

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default Good Old LDAP

    Howdy,
    Well I did it.
    Right now, this second, I am stuck at the "Main Menu" with the following error:
    Checking ldap on localhost:389...FAILED
    Checking ldap on localhost:389...FAILED
    -----------------
    Then the menu.

    Any Ideas?

  2. #2
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default New install? Old install?

    The setup script thinks that ldap is configured, but it can't contact it - and it starts it before checking.

    So - was this a failed install you're trying to recover? If that's the case, delete the files in /opt/zimbra/openldap-data (but leave the directory) and re-run /opt/zimbra/libexec/zmsetup.pl

    If this is an upgrade, can you tell me what you did to get there?

  3. #3
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Hi,
    Well, Kind of both. (upgrade and fail); however, It failed the first time too.

    All I did was run the prep upgrade script. It went great. Then I ran the m2 script..and I got here. (I'm ssh'ed in), and I selected the text(the error), and hit crtl-c for copy (so I could paste it here....well...it stopped the script...so I ran it again. It found config.save and restored it.

    Now, if I delete that file, can I re-configure ldap from the "Main Menu"?

  4. #4
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default Also

    I can telnet on the machine and remotly to port 389 using 127.0.0.1, the actual ip, and the FQDN

    I'm wondering if this is related to the ldaps posting that you had.

  5. #5
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    I followed the instructions located at
    http://www.zimbra.com/forums/showthread.php?t=723
    with no luck. The installer still will not connect to port 389

  6. #6
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default ldap password

    Here's what probably happened - the ldap password was saved from the original install, but the subsequent failures have gotten it out of sync.

    zmlocalconfig -s | grep ldap - is ldap_password set to zimbra?

    If it it - look in /tmp, for several directories called saveconfig - they will have a file called config.save in them - find the one from your original install, with an ldap password OTHER than "zimbra".

    If you find that file, use zmlocalconfig to set the ldap password, mysql passwords, etc, and re-run zmsetup.

  7. #7
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Heh. I thinks you're right:
    [root@(domain here) ~]# su zimbra
    [zimbra@t(domain here) root]$ zmlocalconfig -s | grep ldap
    ldap_host = (domain here)
    ldap_is_master = true
    ldap_master_url = ldap://(domain here):389
    ldap_port = 389
    ldap_root_password = GAbVcK4hoy3fmz5BbDUqf9.Phu
    ldap_url = ldap://(domain here):389
    zimbra_ldap_password = ARAzswyj_8gC0ZD5GZGWrzE10MZ
    zimbra_ldap_userdn = uid=zimbra,cn=admins,cn=zimbra
    zimbra_services = ldap mailbox mta antivirus antispam snmp
    -------------------
    Now, I changed my config via that other post. Do I need to change it back??

  8. #8
    Join Date
    Oct 2005
    Posts
    96
    Rep Power
    10

    Default

    I'm running the gamut of all the problems during this upgrade, even after reading people upgraded with no problems. I'm having the same error.

    Checking ldap on localhost:389...FAILED

    my password was not set to zimbra, I'll keep trying but getting frustrated.

  9. #9
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    I know the feeling.
    I've tried resetting the pw, and it doesn't fix it. I think it is an issue with syncing though.

    I'm gonna try something. It if works (or not) I'll let you know.

    (I love testing)
    ------------------------
    update: Pretty sure I'm gonna loose it all if this doesn't work....
    Last edited by jholder; 11-18-2005 at 07:37 PM.

  10. #10
    Join Date
    Oct 2005
    Posts
    96
    Rep Power
    10

    Default

    Quote Originally Posted by wannabetenor
    I know the feeling.
    I've tried resetting the pw, and it doesn't fix it. I think it is an issue with syncing though.

    I'm gonna try something. It if works (or not) I'll let you know.

    (I love testing)
    ------------------------
    update: Pretty sure I'm gonna loose it all if this doesn't work....
    You're very very deranged.

Similar Threads

  1. LDAP Replication Experiences
    By technikolor in forum Administrators
    Replies: 4
    Last Post: 11-11-2008, 11:52 PM
  2. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  3. Mac OSX install: Java errors & LDAP CA error
    By jefbear in forum Installation
    Replies: 9
    Last Post: 12-16-2006, 02:39 PM
  4. Replies: 4
    Last Post: 11-15-2006, 11:16 AM
  5. Replies: 2
    Last Post: 05-24-2006, 10:01 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
  •