new installation ldap failure

Ask questions about your setup or get help installing ZCS server (ZD section below).
Post Reply
TexasServer
Posts: 1
Joined: Tue Feb 19, 2019 1:11 pm

new installation ldap failure

Post by TexasServer »

Hello all. I'm new to Zimbra but not entirely new to Linux (however i am no expert). I have been running Citadel on ubuntu 14.10 for a while and want to go for Zimbra instead. I followed several different write-ups on various sites to install and set up zimbra 8.8 on a VM running Ubuntu 16.04. All seems fine and good until the installation attempts to initialize ldap. It stops there and ends with a failure and installation termination.

Referring to the LOG file, the failure is as follows:
-------------------------------
Mon Feb 18 20:55:20 2019 Web application zimlet is enabled.
Mon Feb 18 20:55:20 2019 checking isEnabled zimbra-ldap
Mon Feb 18 20:55:20 2019 zimbra-ldap is enabled
Mon Feb 18 20:55:20 2019 Initializing ldap...
Mon Feb 18 20:55:20 2019 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
Connection refused at /opt/zimbra/libexec/zmldapinit line 138.
Mon Feb 18 20:56:01 2019 failed. (28416)
Mon Feb 18 20:56:01 2019

ERROR

Mon Feb 18 20:56:01 2019

Configuration failed

Mon Feb 18 20:56:01 2019 Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
Mon Feb 18 20:56:01 2019 complete the configuration.
Mon Feb 18 20:56:01 2019
Errors have been logged to /tmp/zmsetup.20190218-205401.log
-----------------------------------

that specific line that the error references (138) is:

my $ldap = Net::LDAP->new("$ldap_master_url") or die "$@";:


not sure what the issue is here. I did skip the BIND DNS setup and installation lined out in most instructions, but i didnt think that would cause this kind of issue.

I looked around online and found some folks suggesting commenting out "requiretty" in the sudoers. I tried that but it didnt help (plus that wasn't the error i got).

any help would be appreciated. Thank you!

also, this is on a fresh ubuntu install on a new VM.
sydney
Posts: 1
Joined: Fri Feb 07, 2020 8:19 pm

Re: new installation ldap failure

Post by sydney »

I'm using 8.8.15 on ubuntu LTS server and getting this error.

Fri Feb 7 20:00:02 2020 Initializing ldap...
Fri Feb 7 20:00:02 2020 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
Connection refused at /opt/zimbra/libexec/zmldapinit line 138.
Fri Feb 7 20:00:43 2020 failed. (28416)

How can I resolve it?
sr57
Posts: 32
Joined: Tue Feb 18, 2020 8:16 am
ZCS/ZD Version: zmcontrol -v Release 8.8.15.GA.4179

Re: new installation ldap failure

Post by sr57 »

Hi,
I got the same error installing OSE 8.8.12 version on a new lxc container on Ubuntu 16.04.6
Did you find a solution?
Anybody has an idea?
sr57
Posts: 32
Joined: Tue Feb 18, 2020 8:16 am
ZCS/ZD Version: zmcontrol -v Release 8.8.15.GA.4179

Re: new installation ldap failure

Post by sr57 »

Enter Y and your domain name after the DNS error, I do not understand why zimbra install script propose the FQDN, it should propose directly your domain name but it does not!
Post Reply