Results 1 to 10 of 11

Thread: Another installation ldap problem

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Posts
    7
    Rep Power
    9

    Default Another installation ldap problem

    Hello

    I'm trying to install Zimbra on a fedora core 3 server and always get the same error : system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
    during the installation.
    I've already checked other threads and ./install.sh -u then kill all ldap running process but installation still fails.
    I've got a windows 2000 server running with active directory and "of course" DNS services.
    I have tried install zimbra after creating a new "ldap service record" on my DNS (w2K)... but it always failed.

    it seems to me that, for a reason i don't know, ldap resolution doesn't succeed.
    Is it coming from hostname or localhost.localdomain settings ?
    or from dns resolution settings ?
    Thank you for your help....

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

    Default ldap install errors

    When you're installing ldap, the hostname you set up for your server (first item in the config menu) must be resolveable via DNS.

    You also have to have port 389 open in your firewall.

    Try this:

    after a failed installation, run /opt/zimbra/libexec/zmldapinit (as the zimbra user).

    What happens?

    Does ldap start? (ps auxww | grep slapd)

    If it doesn't start - why not?

  3. #3
    Join Date
    Dec 2005
    Posts
    7
    Rep Power
    9

    Default

    Thank you for your answer.

    I have created a new dns record for my zimbra server and hostname is resolveable via dns from every computer on the network but when I do a ping "zimbra hostname" from the fedora server it resolve on 127.0.0.1.

    I don't have any firewall on the LAN and didn't set any firewall with fedora installation.
    I'm going to try what you suggest and let you know asap the results.

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

    Default

    Hi

    Have you made sure that your DNS is setup as per these instructions That will make sure your server is set-up correctly and can be seen by zimbra.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Nov 2005
    Posts
    518
    Rep Power
    10

    Default ping doesn't use dns

    it's been mentioned here before that ping uses /etc/hosts. try running this:

    $ dig a [zimbra hostname] # or
    $ host [zimbra hostname]

    those must return the local IP address of the machine. if you're planning to connect via localhost (i.e. 127.0.0.1), then zimbra must consider its hostname to be "localhost"

    hmm.
    hostname is resolveable via dns from every computer on the network but when I do a ping "zimbra hostname" from the fedora server it resolve on 127.0.0.1.
    what's in /etc/resolv.conf and /etc/hosts?

  6. #6
    Join Date
    Dec 2005
    Posts
    7
    Rep Power
    9

    Default

    here is the result of running /opt/zimbra/libexec/zmldapinit
    /opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libb
    ind.so.3: cannot open shared object file: No such file or directory
    /opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libb
    ind.so.3: cannot open shared object file: No such file or directory
    db_recover: Finding last valid log LSN: file: 1 offset 28
    /opt/zimbra/openldap/libexec/slapd: error while loading shared libraries: libbin
    d.so.3: cannot open shared object file: No such file or directory
    Started slapd: pid
    /opt/zimbra/openldap/bin/ldapmodify: error while loading shared libraries: libbi
    nd.so.3: cannot open shared object file: No such file or directory
    /opt/zimbra/openldap/bin/ldapmodify: error while loading shared libraries: libbi
    nd.so.3: cannot open shared object file: No such file or directory
    ls: /opt/zimbra/lib/conf/*ldif: Aucun fichier ou répertoire de ce type
    [zimbra@zimbra ~]$ /opt/zimbra/openldap/sbin/slappasswd: error while loading sha
    red libraries: libbind.so.3: cannot open shared object file: No such file or dir
    ectory
    -bash: /opt/zimbra/openldap/sbin/slappasswd:: Aucun fichier ou répertoire de ce type

    and host [zimbra hostname] give me this : Host [zimbra hostname] not found: 3(NXDOMAIN)

    and dig a [zimbra.mydomain.local]

    ; <<>> DiG 9.2.4 <<>> a [zimbra.mydomain.local]
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 54891
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;[zimbra.mydomain.local]. IN A

    ;; AUTHORITY SECTION:
    . 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2005122101 1800 900 604800 86400

    ;; Query time: 249 msec
    ;; SERVER: 192.168.10.122#53(192.168.10.122)
    ;; WHEN: Thu Dec 22 03:49:51 2005
    ;; MSG SIZE rcvd: 114


    Any ideas ?

  7. #7
    Join Date
    Dec 2005
    Posts
    7
    Rep Power
    9

    Default

    here the /etc/resolv.conf :

    search mydomain.local
    nameserver 192.168.10.122
    ~


    and the /etc/hosts :
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    192.168.10.90 zimbra.mydomain.local zimbra

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

    Default missing libbind

    install libbind and re-install zimbra.

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

    Default ldap

    what does zmldapinit return when you run it?
    does slapd start? Why not?

    Firewall running?
    SELinux enabled?

  10. #10
    Join Date
    Dec 2005
    Posts
    7
    Rep Power
    9

    Smile finally succeed

    Thank you for your help... I install libdind.so and re-install zimbra, everything works great now.

    a big 'Merci'

Similar Threads

  1. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  2. External LDAP Problem
    By facerw in forum Installation
    Replies: 7
    Last Post: 05-08-2007, 04:29 AM
  3. problem with ldap installation
    By nemo12 in forum Installation
    Replies: 10
    Last Post: 03-19-2007, 05:40 PM
  4. Installation Problem - Possibly LDAP
    By geroshea in forum Installation
    Replies: 5
    Last Post: 03-16-2007, 04:47 AM
  5. Installation problem
    By sywong70 in forum Installation
    Replies: 5
    Last Post: 11-07-2005, 08:01 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
  •