Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-09-2010, 10:45 AM
New Member
 
Posts: 3
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
Reply With Quote
  #2 (permalink)  
Old 03-18-2010, 08:20 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
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
Reply With Quote
  #3 (permalink)  
Old 03-18-2010, 08:56 AM
New Member
 
Posts: 3
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:~#
Reply With Quote
  #4 (permalink)  
Old 03-18-2010, 11:05 AM
Zimbra Employee
 
Posts: 572
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
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #5 (permalink)  
Old 03-18-2010, 11:28 AM
New Member
 
Posts: 3
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:~#
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.