| Welcome to the Zimbra :: Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | | 
05-11-2011, 11:54 PM
| | | [SOLVED] Initializing LDAP fails (28416) on installation on Ubuntu 10.04 Hi,
I'm desperately trying to install Zimbra 7.1 OSE on a Ubuntu 10.04 LTS server behind a NAT. The zmsetup-script fails on "Initializing LDAP (28416)". I had a different ldap error before which i sorted out by setting up a split-dns installation. The A and MX entries should now properly resolve the hostname to the private IP. However, I can't come across the error 28416.
When I try to start slapd manually by Quote: |
"/opt/zimbra/openldap/sbin/slapd -d -1 -u zimbra -f /opt/zimbra/openldap/etc/openldap/slapd.conf"
| it fails with error "Unknown database: bdb". I figured out that the bdb-backend libraries are missing. So I changed /opt/zimbra/openldap/etc/openldap/slapd.conf to Quote:
# Load dynamic backend modules:
modulepath /opt/zimbra/openldap-2.4.23.6z/sbin/openldap
# moduleload back_bdb.la
moduleload back_hdb.so
# moduleload back_ldap.so
...
################################################## #####################
# BDB database definitions
################################################## #####################
database hdb
| slapd now would start successfully, but the zmsetup.pl script still fails with the same error. I've already purge and reinstalled the packages several times.
Any ideas?
Thanks,
Mike | 
05-12-2011, 12:03 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | Quote:
Originally Posted by mikee Hi,
I'm desperately trying to install Zimbra 7.1 OSE on a Ubuntu 10.04 LTS server behind a NAT. The zmsetup-script fails on "Initializing LDAP (28416)". I had a different ldap error before which i sorted out by setting up a split-dns installation. The A and MX entries should now properly resolve the hostname to the private IP | Post the output from all the commands in the 'Verify...' section of the Split DNS article.
__________________
Regards
Bill
| 
05-12-2011, 03:10 AM
| | | Quote:
root@mail:~# dig redmouse.cc mx
; <<>> DiG 9.7.0-P1 <<>> redmouse.cc mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7493
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;redmouse.cc. IN MX
;; ANSWER SECTION:
redmouse.cc. 0 IN MX 5 mail.redmouse.cc.
;; ADDITIONAL SECTION:
mail.redmouse.cc. 0 IN A 192.168.2.6
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu May 12 12:09:06 2011
;; MSG SIZE rcvd: 77
| Quote:
root@mail:~# dig redmouse.cc any
; <<>> DiG 9.7.0-P1 <<>> redmouse.cc any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17477
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;redmouse.cc. IN ANY
;; ANSWER SECTION:
redmouse.cc. 0 IN MX 5 mail.redmouse.cc.
;; ADDITIONAL SECTION:
mail.redmouse.cc. 0 IN A 192.168.2.6
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu May 12 12:09:44 2011
;; MSG SIZE rcvd: 77 | Quote:
root@mail:~# host $(hostname)
mail.redmouse.cc has address 192.168.2.6
| Thanks,
Mike | 
05-12-2011, 04:45 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | You've missed the output from the /etc/hosts file.
__________________
Regards
Bill
| 
05-12-2011, 09:12 AM
| | | Quote:
Originally Posted by phoenix You've missed the output from the /etc/hosts file. | Quote:
root@mail:~# cat /etc/hosts
127.0.0.1 localhost
192.168.2.6 mail.redmouse.cc mail
xyjfe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
| Thanks for you quick replies! | 
05-12-2011, 10:34 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,317
| | Your hosts file is incorrect, go to the Split DNS article and check the correct format of the loopback entry - make that change and try starting Zimbra again.
__________________
Regards
Bill
| 
05-12-2011, 02:48 PM
| | | Thank you for your help, but still no success.
My /etc/hosts file looks like this now: Quote:
127.0.0.1 localhost.localdomain localhost
192.168.2.6 mail.redmouse.cc mail
| Still: Quote:
*** 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.9507] /root/zimbra.conf
Saving config in /root/zimbra.conf...done.
The system will be modified - continue? [No] y
Operations logged to /tmp/zmsetup.05122011-234228.log
Setting local config values...done.
Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Creating SSL certificate...done.
Installing mailboxd SSL certificates...done.
Initializing ldap...failed. (28416)
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.05122011-234228.log
| Did I miss something?
Br,
Mike | 
05-12-2011, 03:13 PM
| | | Ok, I'm one step further...I setuid to /usr/sudo as claimed in the install.log. Now I get error 5632 bad hostname.... | 
05-13-2011, 03:27 PM
| | Zimbra Employee | |
Posts: 580
| | I'll just note that ZCS doesn't use slapd.conf, so modifying it will have no affect on ZCS installs.
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
| 
05-16-2011, 05:09 AM
| | | Thank you all, gents, for your quick assistance. I finally found the solution(s): The error 28416 appears to be related to a non-standard sudo configuation, whatever caused this as the server installation was pretty fresh. The subsequent error 5632 occured probably to a wrongly stored hostname before the split-dns was set correctly in the configuration file I tried to reuse. After a complete de- and reinstall i finally worked. So I mark this thread as solved.
Thanks again!
Mike | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |