Results 1 to 9 of 9

Thread: Unable to determine enabled services from LDAP

  1. #1
    ezone is offline Junior Member
    Join Date
    Feb 2013
    Location
    france
    Posts
    5
    Rep Power
    2

    Default Unable to determine enabled services from LDAP

    Hi,
    Everything seemed to be ready for the switch. Old server called webmail.domain.fr (7.0.2), new one mail.domain.fr (8.0.2). This one supposed to become webmail.domain.fr. On this last one thx ZxBackup everything was up to date (user data, domain, GAL). I did install commercial certificate too for webmail... domain name.
    What I did so far:
    "Old" webmail unplugged, then zmsetservername....on new one as described in zimbra wiki, hosts...DNS record update on AD (A & MX), reboot.
    Ping new "webmail.domain.fr" OK, however ldap error message about ldap services and also logswatch doesn't find webmail.domain.fr.
    At this time I did have to plug back "old" webmail and new one went local.

    I did also:
    zmlocalconfig -e zimbra_server_hostname=zimbra.company.com
    zmlocalconfig -e ldap_master_url=ldap://zimbra.company.com:389
    zmlocalconfig -e ldap_url=ldap://zimbra.company.com
    zmlocalconfig -e snmp_trap_host=zimbra.company.com
    zmlocalconfig -e av_notify_user=admin@company.com
    zmlocalconfig -e smtp_destination=admin@company.com
    zmlocalconfig -e smtp_source=admin@company.com


    manually updated new hostname in:
    amavisd.conf
    swatchrc

    Other things from here:

    1. As root - # mv /opt/zimbra/mailboxd/etc/keystore /root/keystore.old
    2. As root - # /opt/zimbra/bin/zmcertmgr deploycrt self
    3. As root - /opt/zimbra/libexec/zmfixperms --verbose --extended
    4. Login as the zimbra and restart all of zimbra


    Still problem about LDAP & Logswatch
    Any idea would be appreciated!

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

    Quote Originally Posted by ezone View Post
    Everything seemed to be ready for the switch. Old server called webmail.domain.fr (7.0.2), new one mail.domain.fr (8.0.2). This one supposed to become webmail.domain.fr. On this last one thx ZxBackup everything was up to date (user data, domain, GAL). I did install commercial certificate too for webmail... domain name.
    What I did so far:
    "Old" webmail unplugged, then zmsetservername....on new one as described in zimbra wiki, hosts...DNS record update on AD (A & MX), reboot.
    I'll start with the usual comment, this is usually caused by DNS A & MX records missing or incorrect and/or the hosts & resolv.conf files being incorrect. You should start by going to the Split DNS wiki article and post the output of all the commands in the 'Verify...' section of that article. Also you need to tell us if you moved from a 32bit to 64bit server and your version and release of Zimbra by posting the output of the following command (and also update your forum profile with that information):

    Code:
    zmcontrol -v
    Did you follow any wiki or forum threads on how to move you ZCS install to a new server and if so, which one was it?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    ezone is offline Junior Member
    Join Date
    Feb 2013
    Location
    france
    Posts
    5
    Rep Power
    2

    Default

    Thanks Bill for your reply,
    source: Zimbra 7.2.0 2669 Rhel5_64 FOSS edition
    destination: Zimbra 8.0.2 5569 Ubuntu 12.64 NETWORK edition
    64bit > 64bit
    After having installed Zimbra by the official guide I followed by Zextras migration Tool here with install guide
    I did uninstall ZxMigration tool and installed backup tool from source according to wiki zextras backup: incremental....

    To carry on with Split DNS wiki article and post the output I will do as soon as I can unplug the "old" one and move back from local with the "new" one. Is there anything else to look for while in local?
    BR
    ezone

  4. #4
    ezone is offline Junior Member
    Join Date
    Feb 2013
    Location
    france
    Posts
    5
    Rep Power
    2

    Default

    Hi ,

    these are the results of my checkup on DNS config of the new mail server with error: "unable to determine enabled services from ldap"
    This server worked well before name change.

    dig yourdomain.com mx

    ; <<>> DiG 9.8.1-P1 <<>> domain.fr mx
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8302
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;domain.fr. IN MX

    ;; AUTHORITY SECTION:
    domain.fr. 3600 IN SOA argon.domain.fr. administrateur.domain.fr. 78002 900 600 86400 900

    ;; Query time: 1 msec
    ;; SERVER: 192.168.0.202#53(192.168.0.202)
    ;; WHEN: Fri Feb 22 07:30:12 2013
    ;; MSG SIZE rcvd: 82



    dig yourdomain.com any


    ; <<>> DiG 9.8.1-P1 <<>> domain.fr any
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50490
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 2

    ;; QUESTION SECTION:
    ;domain.fr. IN ANY

    ;; ANSWER SECTION:
    domain.fr. 600 IN A 192.168.0.202
    domain.fr. 600 IN A 192.168.1.202
    domain.fr. 600 IN A 192.168.0.153
    domain.fr. 600 IN A 169.254.209.157
    domain.fr. 3600 IN NS argon.domain.fr.
    domain.fr. 3600 IN NS radon.domain.fr.
    domain.fr. 3600 IN SOA argon.domain.fr. administrateur.domain.fr. 78002 900 600 86400 3600
    domain.fr. 0 IN TYPE65281 \# 24 00000000000000020000038400000002C0A800CAC0A801CA

    ;; ADDITIONAL SECTION:
    argon.domain.fr. 3600 IN A 192.168.0.202
    radon.domain.fr. 3600 IN A 192.168.1.202

    ;; Query time: 0 msec
    ;; SERVER: 192.168.0.202#53(192.168.0.202)
    ;; WHEN: Fri Feb 22 07:32:26 2013
    ;; MSG SIZE rcvd: 248


    host $(hostname)

    webmail.domain.fr has address 192.168.0.16
    webmail.domain.fr mail is handled by 10 webmail.domain.fr.

    BR
    ezone

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

    You missed the output from the hosts & resolv.conf files (they are important) but from the output above you appear to have no MX or A records for your ZCS server hence the error.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    ezone is offline Junior Member
    Join Date
    Feb 2013
    Location
    france
    Posts
    5
    Rep Power
    2

    Default

    Hi,
    Gave another try early this morning hooked it up in the domain.
    I donno what I am doing wrong about MX and A records still not showing up. I did configure the DNS server for A and MX records for the right IP @.
    here is the output of my
    hosts

    127.0.0.1 localhost.localdomain localhost
    192.168.0.16 webmail.domain.fr webmail
    # 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

    resolv.conf

    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 192.168.0.202
    nameserver 192.168.1.202
    search domain.fr

    BR
    ezone

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

    Default

    Did you forget to increment the serial number in DNS ? You may wish to check that the serial numbers match between your primary and secondary as-well.

  8. #8
    ezone is offline Junior Member
    Join Date
    Feb 2013
    Location
    france
    Posts
    5
    Rep Power
    2

    Default

    How come that the
    "dig yourdomain.com mx" and
    "dig yourdomain.com any" with the
    "Hosts" and "resolv.conf" are the same on both, old and new server. The old is still on and working fine.
    Secondly, the DNS records has been deleted at switch and new one has been setup with new IP. In this case should we still consider DNS serial issues?
    Is it really a DNS problem am I heading?
    BR
    ezone

  9. #9
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

    Quote Originally Posted by ezone View Post
    Is it really a DNS problem am I heading?
    Yes, it is because your DNS server is not returning any A or MX records - that's nothing to do with Zimbra it's the response your DNS gives when queried for those records.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Unable to determine enabled services from ldap.
    By bill77se in forum Administrators
    Replies: 1
    Last Post: 04-04-2012, 02:52 PM
  2. Unable to determine enabled services from ldap
    By rakesraja in forum Administrators
    Replies: 24
    Last Post: 12-19-2011, 01:07 AM
  3. Unable to determine enabled services from ldap.
    By bill77se in forum Installation
    Replies: 1
    Last Post: 12-08-2011, 03:23 AM
  4. Unable to determine enabled services from ldap
    By abhiz in forum Installation
    Replies: 1
    Last Post: 06-10-2011, 11:10 PM
  5. Replies: 1
    Last Post: 04-16-2010, 04:26 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •