[SOLVED] Initializing ldap...failed

Zimbra Collaboration 8.8 Beta
Locked
Pierre C.
Posts: 6
Joined: Fri Jun 23, 2017 6:05 am

[SOLVED] Initializing ldap...failed

Post by Pierre C. »

Hello Everybody (sorry for my bad English),

I have an issue when I want to install the new Zimbra 8.8.0 BETA (1712) :
  • Platform : Fresh new Ubuntu 16.04.2 install (64 bits).
  • Zimbra Package : zcs-NETWORK-8.8.0_BETA1_1712.UBUNTU16_64.20170615062344.tgz
It seems that is related to LDAP :

Code: Select all

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes]
Save config in file: [/opt/zimbra/config.10937]
Saving config in /opt/zimbra/config.10937...done.
The system will be modified - continue? [No] Yes
Operations logged to /tmp/zmsetup.20170623-000818.log
Setting local config values...done.
Initializing core config...Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL zimbra-store certificate...done.
Creating new zimbra-ldap SSL certificate...done.
Creating new zimbra-mta SSL certificate...done.
Creating new zimbra-proxy SSL certificate...done.
Installing mailboxd SSL certificates...done.
Installing MTA SSL certificates...done.
Installing LDAP SSL certificate...done.
Installing Proxy SSL certificate...done.
Initializing ldap...failed. (28928)


ERROR



Configuration failed

Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
complete the configuration.

Errors have been logged to /tmp/zmsetup.20170623-000818.log

/tmp/zmsetup.20170623-000818.log :

Code: Select all

Fri Jun 23 00:12:08 2017 checking isEnabled zimbra-ldap
Fri Jun 23 00:12:08 2017 zimbra-ldap is enabled
Fri Jun 23 00:12:08 2017 Initializing ldap...
Fri Jun 23 00:12:08 2017 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
No route to host at /opt/zimbra/libexec/zmldapinit line 138.
Fri Jun 23 00:12:50 2017 failed. (28928)
Fri Jun 23 00:12:50 2017

ERROR

Fri Jun 23 00:12:50 2017

Configuration failed

Fri Jun 23 00:12:50 2017 Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
Fri Jun 23 00:12:50 2017 complete the configuration.
Fri Jun 23 00:12:50 2017
Maybe it's not related with beta and I've missed something.

For your information I use OS repos.

Regards.

Pierre C.
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2799
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.7 Network Edition
Contact:

Re: Initializing ldap...failed

Post by L. Mark Stone »

"No route to host at /opt/zimbra/libexec/zmldapinit line 138."

Check your /etc/hosts and /etc/resolv.conf file and make sure your Zimbra server's FQDN is reachable both via an /etc/hosts lookup as well as via a DNS lookup.

Hope that helps,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
Pierre C.
Posts: 6
Joined: Fri Jun 23, 2017 6:05 am

Re: Initializing ldap...failed

Post by Pierre C. »

Hello L. Mark Stone,

You are right. It's just a ridiculous syntax error in my /etc/hosts.

So finally nothing to do with beta.

Sorry for that useless post.

Thank You again.
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2799
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.7 Network Edition
Contact:

Re: Initializing ldap...failed

Post by L. Mark Stone »

Pierre C. wrote:Hello L. Mark Stone,

You are right. It's just a ridiculous syntax error in my /etc/hosts.

So finally nothing to do with beta.

Sorry for that useless post.

Thank You again.
You're welcome and not a useless post at all!

It's a good reminder for all that even when doing a sandbox/test deployment host resolution is just as critical as in a production environment.

All the best,
Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
Locked