Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: mail server died, ldap issue? bind?

  1. #1
    violentpurr is offline Junior Member
    Join Date
    Dec 2007
    Posts
    8
    Rep Power
    7

    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?

  2. #2
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

  3. #3
    violentpurr is offline Junior Member
    Join Date
    Dec 2007
    Posts
    8
    Rep Power
    7

    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.

  4. #4
    violentpurr is offline Junior Member
    Join Date
    Dec 2007
    Posts
    8
    Rep Power
    7

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

  5. #5
    violentpurr is offline Junior Member
    Join Date
    Dec 2007
    Posts
    8
    Rep Power
    7

    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?

  6. #6
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    99's tend to be hostname/hosts file/DNS/or another LDAP instance running

  7. #7
    geoffg is offline New Member
    Join Date
    Oct 2008
    Posts
    4
    Rep Power
    6

    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?

  8. #8
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Code:
    su - zimbra
    zmcontrol -v
    host `hostname` <- note backticks and not double quotes

  9. #9
    geoffg is offline New Member
    Join Date
    Oct 2008
    Posts
    4
    Rep Power
    6

    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.

  10. #10
    geoffg is offline New Member
    Join Date
    Oct 2008
    Posts
    4
    Rep Power
    6

    Default

    bump... please

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. initializing ldap...FAILED(256)ERROR
    By manjunath in forum Installation
    Replies: 39
    Last Post: 06-07-2013, 10:27 AM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. My Zimbra server down ... please help :)
    By frankb in forum Administrators
    Replies: 2
    Last Post: 12-12-2007, 11:29 AM
  4. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  5. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 10:34 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
  •