Results 1 to 6 of 6

Thread: Problem instalation zimbra Failed to start slapd

  1. #1
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    5

    Default Problem instalation zimbra Failed to start slapd

    Help, I have the problem in the instalation de the zimbra, the error is:

    zimbra@mail:~$ ldap start

    Failed to start slapd. Attempting debug start to determine error.
    daemon: bind(7) failed errno=98 (Address already in use)
    slap_open_listener: failed on ldap://mail:389

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

    Default

    This is actually in the wrong forum, I'll move it.

    Quote Originally Posted by carias78 View Post
    Help, I have the problem in the instalation de the zimbra, the error is:

    zimbra@mail:~$ ldap start

    Failed to start slapd. Attempting debug start to determine error.
    daemon: bind(7) failed errno=98 (Address already in use)
    slap_open_listener: failed on ldap://mail:389
    It's probably the same reason that usually applies to this problem, you don't have valid A & MX records and/or a valid /etc/hosts file.

    Post the output of the following commands (run on the Zimbra server):

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain.com any
    dig yourdomain.com mx
    host `hostname`  <- use that exact command with backticks not single quotes
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    5

    Default

    Quote Originally Posted by carias78 View Post
    Help, I have the problem in the instalation de the zimbra, the error is:

    zimbra@mail:~$ ldap start

    Failed to start slapd. Attempting debug start to determine error.
    daemon: bind(7) failed errno=98 (Address already in use)
    slap_open_listener: failed on ldap://mail:389


    hi, output of the following commands

    root@mail:~# cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    172.19.143.2 mail.banpro2.com.ve mail


    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    root@mail:~#
    root@mail:~#
    root@mail:~# cat /etc/resolv.conf
    ### BEGIN INFO
    #
    # Modified_by: NetworkManager
    # Process: /usr/bin/NetworkManager
    # Process_id: 4928
    #
    ### END INFO

    nameserver 172.19.143.2
    #search mail.banpro2.com.ve

    #nameserver 200.35.65.3
    #nameserver 200.35.65.4
    root@mail:~#
    root@mail:~#
    root@mail:~# dig banpro2.com.ve any

    ; <<>> DiG 9.4.2-P2.1 <<>> banpro2.com.ve any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43101
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;banpro2.com.ve. IN ANY

    ;; ANSWER SECTION:
    banpro2.com.ve. 604800 IN SOA banpro2.com.ve. root.banpro2.com.ve. 1 604800 86400 2419200 604800
    banpro2.com.ve. 604800 IN NS banpro2.com.ve.
    banpro2.com.ve. 604800 IN A 172.19.143.2
    banpro2.com.ve. 604800 IN MX 0 banpro2.com.ve.

    ;; ADDITIONAL SECTION:
    banpro2.com.ve. 604800 IN A 172.19.143.2

    ;; Query time: 43 msec
    ;; SERVER: 172.19.143.2#53(172.19.143.2)
    ;; WHEN: Thu Mar 18 10:21:43 2010
    ;; MSG SIZE rcvd: 135

    root@mail:~#
    root@mail:~#
    root@mail:~# dig banpro2.com.ve mx

    ; <<>> DiG 9.4.2-P2.1 <<>> banpro2.com.ve mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29948
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;banpro2.com.ve. IN MX

    ;; ANSWER SECTION:
    banpro2.com.ve. 604800 IN MX 0 banpro2.com.ve.

    ;; AUTHORITY SECTION:
    banpro2.com.ve. 604800 IN NS banpro2.com.ve.

    ;; ADDITIONAL SECTION:
    banpro2.com.ve. 604800 IN A 172.19.143.2

    ;; Query time: 0 msec
    ;; SERVER: 172.19.143.2#53(172.19.143.2)
    ;; WHEN: Thu Mar 18 10:21:57 2010
    ;; MSG SIZE rcvd: 78

    root@mail:~#
    root@mail:~#


    root@mail:~# host mail.banpro2.com.ve
    mail.banpro2.com.ve is an alias for banpro2.com.ve.
    banpro2.com.ve has address 172.19.143.2
    banpro2.com.ve mail is handled by 0 banpro2.com.ve.
    root@mail:~#

  4. #4
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    The error messages clearly states that LDAP was unable to start because something else is already using the LDAP port (389). Determine what that is and disable it.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  5. #5
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    5

    Default

    Quote Originally Posted by quanah View Post
    The error messages clearly states that LDAP was unable to start because something else is already using the LDAP port (389). Determine what that is and disable it.
    this is the por open:

    root@mail:~# netstat -plut
    Conexiones activas de Internet (solo servidores)
    Protocolo Recv-Q Send-Q Dirección Local Dirección Externa Estado PID/Program name
    tcp 0 0 *:ldap *:* ESCUCHAR 5016/slapd
    tcp 0 0 mail.banpro2.com:domain *:* ESCUCHAR 4953/named
    tcp 0 0 localhost.locald:domain *:* ESCUCHAR 4953/named
    tcp 0 0 localhost.localdoma:ipp *:* ESCUCHAR 5058/cupsd
    tcp 0 0 localhost.localdoma:953 *:* ESCUCHAR 4953/named
    tcp6 0 0 [::]:ldap [::]:* ESCUCHAR 5016/slapd
    tcp6 0 0 [::]:domain [::]:* ESCUCHAR 4953/named
    tcp6 0 0 [::]:ssh [::]:* ESCUCHAR 4979/sshd
    tcp6 0 0 ip6-localhost:953 [::]:* ESCUCHAR 4953/named
    udp 0 0 *:domain *:* 4953/named
    udp 0 0 mail.banpro2.com:domain *:* 4953/named
    udp 0 0 localhost.locald:domain *:* 4953/named
    udp 0 0 *:47711 *:* 5000/avahi-daemon:
    udp 0 0 *:mdns *:* 5000/avahi-daemon:
    udp6 0 0 [::]:34459 [::]:* 4953/named
    udp6 0 0 [::]:domain [::]:* 4953/named
    root@mail:~#

  6. #6
    Join Date
    Apr 2011
    Posts
    117
    Rep Power
    4

    Default

    just as a note if someone else is having this issue, my solution is to check stop zimbra services with zmcontrol stop and then look for any running zimbra services (amavisd, clamd, memcached etc.) with netstat -tulnp | grep LISTEN, kill it with killall

Similar Threads

  1. Upgrade to ZCS 5.10
    By blozancic in forum Installation
    Replies: 0
    Last Post: 10-21-2008, 09:03 AM
  2. SLES10: Problem upgrading from Zimbra NE 5.0 to NE 5.0.1
    By trapanator in forum Installation
    Replies: 11
    Last Post: 02-27-2008, 01:51 PM
  3. svn version still won't start
    By kinaole in forum Developers
    Replies: 0
    Last Post: 10-04-2006, 07:47 AM
  4. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 PM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 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
  •