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

Thread: Unable to determine enabled services from ldap, domain change, new cert

  1. #1
    dr_java is offline Junior Member
    Join Date
    Jan 2012
    Posts
    9
    Rep Power
    3

    Default Unable to determine enabled services from ldap, domain change, new cert

    Thanks for looking.

    I have a Zimbra single-server system that was working, but the box was relocated into a new network & domain, and after config changes I cannot start it. I would greatly appreciate any kind of assistance.

    Code:
    Host zimbra.a.b.com
            Starting ldap...Done.
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.
    I have correct permissions on /opt/zimbra directory tree, via chown and zmfixperms.

    zmcertmgr viewdeployedcrt and verifycrt self seem OK - I created a new cert and ca after configuring the new domain.

    host `hostname`
    zimbra.a.b.com has address 192.168.44.41

    dig a.b.com mx yields:
    Code:
    ; <<>> DiG 9.2.4 <<>> a.b.com mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10433
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;a.b.com.                  IN      MX
    
    ;; ANSWER SECTION:
    a.b.com.           2592000 IN      MX      10 zimbra.a.b.com.
    
    ;; AUTHORITY SECTION:
    a.b.com.           2592000 IN      NS      zimbra.a.b.com.
    
    ;; ADDITIONAL SECTION:
    zimbra.a.b.com.    2592000 IN      A       192.168.44.41
    
    ;; Query time: 1 msec
    ;; SERVER: 192.168.44.41#53(192.168.44.41)
    ;; WHEN: Thu Jan 12 23:14:26 2012
    ;; MSG SIZE  rcvd: 83
    dig a.b.com any yields:
    Code:
    ; <<>> DiG 9.2.4 <<>> a.b.com any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34770
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;a.b.com.                  IN      ANY
    
    ;; ANSWER SECTION:
    a.b.com.           2592000 IN      SOA     a.b.com. hostmaster.a.b.com. 10118 43200 3600 3600000 2592000
    a.b.com.           2592000 IN      NS      zimbra.a.b.com.
    a.b.com.           2592000 IN      MX      10 zimbra.a.b.com.
    
    ;; ADDITIONAL SECTION:
    zimbra.a.b.com.    2592000 IN      A       192.168.44.41
    
    ;; Query time: 2 msec
    ;; SERVER: 192.168.44.41#53(192.168.44.41)
    ;; WHEN: Thu Jan 12 23:18:27 2012
    ;; MSG SIZE  rcvd: 130
    /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    192.168.44.41 zimbra.a.b.com zimbra

    /etc/resolv.conf
    nameserver 127.0.0.1

    /etc/named.conf
    Code:
    options {
            directory "/var/named";
            dump-file "/var/named/data/cache_dump.db";
            statistics-file "/var/named/data/named_stats.txt";
            forwarders {4.2.2.1;};
    };
    include "/etc/rndc.key";
    zone "a.b.com" {
            type master;
            file "db.a.b.com";
    };
    /var/named/db.a.b.com
    Code:
    @       IN      SOA     a.b.com. hostmaster.a.b.com. (
                                   10118      ; Serial
                                   43200      ; Refresh
                                   3600       ; Retry
                                   3600000    ; Expire
                                   2592000 )  ; Minimum
    ;       Define the nameservers and the mail servers
                   IN      NS      zimbra.a.b.com.
                   IN      MX      10 zimbra.a.b.com.
    zimbra         IN      A       192.168.44.41
    The system was previously running with hostname "zimbra.x.com". Prior to being aware to the guidance at this site, and in the admin manual, I replaced the hostname with "zimbra.a.b.com" in the following files:
    amavisd.conf
    ldap-scm.cf, -transport.cf, -vad.cf, -vam.cf, -vmd.cf, -vmm.cf
    log4j.properties
    swatchrc
    zmssl.cnf

    I used zmlocalconfig to change:
    Code:
    av_notify_domain=zimbra.a.b.com
    ldap_host=zimbra.a.b.com
    ldap_master_url=ldap://zimbra.a.b.com:389
    ldap_url=ldap://zimbra.a.b.com:389
    snmp_trap_host=zimbra.a.b.com
    zimbra_server_hostname=zimbra.a.b.com
    av_notify_user, smtp_destination, and smtp_source were not changed.

    At this point, I read the admin manual and ran zmsetservername - zimbra.a.b.com.

    I will respond quickly if additional information is needed. Thank you.
    Last edited by dr_java; 01-14-2012 at 07:52 AM.

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

    Default

    Quote Originally Posted by dr_java View Post
    I have a Zimbra single-server system that was working, but the box was relocated into a new network & domain, and after config changes I cannot start it.
    Is there any reason you didn't use the correct command to rename the server?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    dr_java is offline Junior Member
    Join Date
    Jan 2012
    Posts
    9
    Rep Power
    3

    Default

    Bill:

    I appreciate your response on this.

    My original post was incomplete. I have updated it.

    I actually used zmsetservername, but AFTER other edits/changes had been performed. This was due to ignorance. The info in my OP reflects behaviour after using zmsetservername.

    Would greatly appreciate any other ideas.

  4. #4
    dr_java is offline Junior Member
    Join Date
    Jan 2012
    Posts
    9
    Rep Power
    3

    Default

    Did a reply make the original post inaccessible?

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

    Default

    Quote Originally Posted by dr_java View Post
    Would greatly appreciate any other ideas.
    Did you follow all the troubleshooting steps in that article to confirm that there are no stray references to your old server name or old IP address (which I'm assuming you've also changed)?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    Quote Originally Posted by dr_java View Post
    Did a reply make the original post inaccessible?
    Yes, it did.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    dr_java is offline Junior Member
    Join Date
    Jan 2012
    Posts
    9
    Rep Power
    3

    Default

    Bill:

    Appreciate your prompt replies this morning.

    After looking closer at the article, I see that the example value for ldap_url excludes the port, so I have deleted that. ldap_url=ldap://zimbra.a.b.com

    zmprov was giving me an error (connection refused), so I determined that setting zimbra_zmprov_default_to_ldap=true would allow me to connect.

    zimprov shows the following potential problems, as I am trying to move from server name zimbra.x.com to zimbra.a.b.com:
    Code:
    zimbraConvertdURL: http://zimbra.x.com:7047/convert
    zimbraLogHostname: zimbra.x.com
      <item name="IssuedToEmail" value="john.doe@x.com"/>
    zimbraNotebookAccount: wiki@zimbra.x.com
    zimbraSpamIsNotSpamAccount: ham.tnxf3ga13@zimbra.x.com
    zimbraSpamIsSpamAccount: spam.bjwpggd8@zimbra.x.com
    zimbraVersionCheckNotificationEmail: k2it@x.com
    Unclear to me:
    - which email addresses should be changed, and which should not. In general, I am not changing email addresses.
    - How to change the things listed above - I'm not finding info on zimbraConvertd, etc., but am looking.

  8. #8
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    Quote Originally Posted by dr_java View Post
    - which email addresses should be changed, and which should not. In general, I am not changing email addresses.
    Why are you not changing email addresses? Are you not changing the domain name as well as the hostname?

    Quote Originally Posted by dr_java View Post
    - How to change the things listed above - I'm not finding info on zimbraConvertd, etc., but am looking.
    The converd entry refers to a Network Edition feature, do you actually use NE?

    You can change the zimbraLogHostname (it does need to be changed) via the command in the "If errors - additional things to check" section of the zmsetservername wiki article.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    dr_java is offline Junior Member
    Join Date
    Jan 2012
    Posts
    9
    Rep Power
    3

    Default

    change the zimbraLogHostname
    Completed using zmprov mcf

    Why are you not changing email addresses? Are you not changing the domain name as well as the hostname?
    The server is being relocated to a different environment, in which hostname and networking/dns differs. However, no changes will be made to people's email address. In other words, although the zimbra server will run on host zimbra.a.b.com (instead of x.com), email addresses @x.com will remain the same. Maybe I am incorrectly heading down the trail for replacing all references to the original x.com domain?

  10. #10
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    Quote Originally Posted by dr_java View Post
    Maybe I am incorrectly heading down the trail for replacing all references to the original x.com domain?
    As you're not changing the domain name then you leave any references to the original domain name in the entries that require them e.g. the wiki & spam account names, the deliviery address for notification emails etc. For any references to configuration and hostnames then they need the ne FQDN entries.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

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. Unable to determine enabled services from ldap
    By abhiz in forum Installation
    Replies: 1
    Last Post: 06-10-2011, 11:10 PM
  2. Unable to determine enabled services from ldap
    By gandhi.sanmugam in forum Installation
    Replies: 1
    Last Post: 01-31-2011, 12:16 AM
  3. Unable to determine enabled services from ldap.
    By ykaho in forum Administrators
    Replies: 16
    Last Post: 11-08-2010, 07:24 AM
  4. Problem Install Zimbra ver 5.0.4_GA_2101.F7
    By maman in forum Installation
    Replies: 5
    Last Post: 04-14-2008, 12:50 PM
  5. [SOLVED] Install Problem in Ubuntu 6.06 Server
    By xtimox in forum Installation
    Replies: 16
    Last Post: 03-27-2008, 09:36 AM

Posting Permissions

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