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

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-30-2008, 07:07 PM
Junior Member
 
Posts: 8
Default mail server died, ldap issue? bind?

So, my clean install of zimbra was working well. till today, it died. looks like it's ldap.

tried to install 5.0.4 but that won't work.

tried this: [SOLVED] Expired Cert in 5.0GA can cause mail Delivery failure but when i entered the password for ldapmodify i got no response of any sort. so i tried anyway with the commands and ctl-d did nothing. had to ctl-c out.

so, what am i missing here?

from zimbra.log:
daemon: bind(7) failed errno=99 (Cannot assign requested address)
Mar 30 21:09:52 server1 slapd[19300]: slapd stopped.
Mar 30 21:09:52 server1 slapd[19300]: connections_destroy: nothing to destroy.

among other errors. but that seems to be, apparently, the problem. according to what i've read. but i can't find a working answer.

help?
Reply With Quote
  #2 (permalink)  
Old 03-30-2008, 07:48 PM
Moderator
 
Posts: 6,237
Default

post your /etc/hosts file
Reply With Quote
  #3 (permalink)  
Old 03-30-2008, 08:00 PM
Junior Member
 
Posts: 8
Default

127.0.0.1 localhost.localdomain localhost
64.xxx.xxx.16 server1.mywebsite.net server1
64.xxx.xxx.16 mail.mywebsite.com mail

Last edited by violentpurr; 03-31-2008 at 02:52 PM..
Reply With Quote
  #4 (permalink)  
Old 03-31-2008, 09:12 AM
Junior Member
 
Posts: 8
Default

I recall a thread about /etc/hosts being the issue. but as far as I can tell, mine is correct? unless I'm missing something. It at least worked for quite a long time with this as the hosts file...
Reply With Quote
  #5 (permalink)  
Old 03-31-2008, 02:51 PM
Junior Member
 
Posts: 8
Default

Ok, I seem to have fixed the problem by adding the main site to my hosts record. then I did an upgrade from 5.0.2 to .0.4 and all seems to be working.

So, is it "fixed" ? or will this happen again?
Reply With Quote
  #6 (permalink)  
Old 03-31-2008, 07:30 PM
Moderator
 
Posts: 6,237
Default

99's tend to be hostname/hosts file/DNS/or another LDAP instance running
Reply With Quote
  #7 (permalink)  
Old 10-19-2008, 11:36 PM
New Member
 
Posts: 4
Default

I have the same error however I dont have another instance of ldap running..

Dig shows:


; <<>> DiG 9.3.4-P1.1 <<>> mail.company.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63229
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.company.com. IN A

;; ANSWER SECTION:
mail.company.com. 3201 IN A 208.xx.xxx.61

;; Query time: 2 msec
;; SERVER: 208.69.120.23#53(208.69.120.23)
;; WHEN: Mon Oct 20 02:33:54 2008
;; MSG SIZE rcvd: 50


cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
202.xx.xxx.61 mail.company.com mail


cat /etc/resolv.conf
search dtw.nexcess.net
nameserver 208.69.120.23

and the error is:

zimbra@mail:~$ zmcontrol start
Host mail.gurutoo.com
Starting ldap...Done.
FAILED
Failed to start slapd. Attempting debug start to determine error.
daemon: bind(7) failed errno=99 (Cannot assign requested address)
slap_open_listener: failed on ldap://mail.company.com:389

netstat -a shows:

zimbra@mail:~$ netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp6 0 0 *:ftp *:* LISTEN
tcp6 0 0 *:ssh *:* LISTEN
tcp6 0 0 ::ffff:208.69.124.6:ssh 119-224-0-1.callp:58901 ESTABLISHED
tcp6 0 272 ::ffff:208.69.124.6:ssh 119-224-0-1.callp:42846 ESTABLISHED
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 3 [ ] DGRAM 3347 /dev/log
unix 2 [ ACC ] STREAM LISTENING 3478 /var/run/proftpd/proftpd.sock
unix 2 [ ] DGRAM 2318 @/org/kernel/udev/udevd
unix 2 [ ] DGRAM 3362


any ideas?
Reply With Quote
  #8 (permalink)  
Old 10-19-2008, 11:42 PM
Moderator
 
Posts: 7,928
Default

Code:
su - zimbra
zmcontrol -v
host `hostname` <- note backticks and not double quotes
__________________
Reply With Quote
  #9 (permalink)  
Old 10-20-2008, 02:54 AM
New Member
 
Posts: 4
Default

Code:
mail:~# su - zimbra
zimbra@mail:~$ zmcontrol -v


Release 5.0.10_GA_2638.DEBIAN4.0 DEBIAN4.0

zimbra@mail:~$ host `hostname`
mail.company.com has address 208.xx.xxx.61
zimbra@mail:~$
Note, its a VPS running on Xen, if that makes any difference.

Last edited by geoffg; 10-20-2008 at 02:59 AM..
Reply With Quote
  #10 (permalink)  
Old 10-20-2008, 01:00 PM
New Member
 
Posts: 4
Default

bump... please
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.