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 01-12-2012, 09:53 PM
Junior Member
 
Posts: 7
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 06:52 AM..
Reply With Quote
  #2 (permalink)  
Old 01-14-2012, 03:06 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
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
Reply With Quote
  #3 (permalink)  
Old 01-14-2012, 06:59 AM
Junior Member
 
Posts: 7
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.
Reply With Quote
  #4 (permalink)  
Old 01-14-2012, 07:10 AM
Junior Member
 
Posts: 7
Default

Did a reply make the original post inaccessible?
Reply With Quote
  #5 (permalink)  
Old 01-14-2012, 08:03 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
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
Reply With Quote
  #6 (permalink)  
Old 01-14-2012, 08:03 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

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


Bill
Reply With Quote
  #7 (permalink)  
Old 01-14-2012, 09:21 AM
Junior Member
 
Posts: 7
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.
Reply With Quote
  #8 (permalink)  
Old 01-14-2012, 10:57 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
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
Reply With Quote
  #9 (permalink)  
Old 01-14-2012, 02:54 PM
Junior Member
 
Posts: 7
Default

Quote:
change the zimbraLogHostname
Completed using zmprov mcf

Quote:
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?
Reply With Quote
  #10 (permalink)  
Old 01-14-2012, 11:04 PM
Zimbra Consultant & Moderator
 
Posts: 20,314
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
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.