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 02-15-2011, 10:53 PM
Intermediate Member
 
Posts: 15
Unhappy [SOLVED] PLEASE HELP: Cache is out of date or doesn't exist.

I've been fighting this issue for three days now and have spent most of it on google trying to solve this issue. This appears to be a common problem but all of the solutions I've found have not worked for me.
Our zimbra server has been running flawlessly for almost 2yrs now and recently I rebooted it and now it will not restart.

The error message I get is:
zimbra@zimbrasrvr:~/log$ zmcontrol start
Host zimbrasrvr.domain.com
Unable to determine enabled services from ldap.
Unable to determine enabled services. Cache is out of date or doesn't exist.

We're running a splitDNS setup and nothing has changed on DNS ether.

My version is.
Release 6.0.4_GA_2038.UBUNTU8 UBUNTU8 FOSS edition.

I have 30 upset users right now so any help is appreciated!
Reply With Quote
  #2 (permalink)  
Old 02-16-2011, 10:22 PM
Intermediate Member
 
Posts: 15
Default

Im running out of ideas. I spent most of today trying to get this to start but with no luck. I'm certain my DNS and host files are accurate and like I stated before, nothing has changed other than a reboot.
ldap starts when I do a zmcontrol start but that is all. Then I get the dreaded Unable to determine enabled services from ldap.
Unable to determine enabled services. Cache is out of date or doesn't exist.
message.

Does anyone have any suggestions out there?
Reply With Quote
  #3 (permalink)  
Old 02-16-2011, 10:58 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by slg57 View Post
Im running out of ideas. I spent most of today trying to get this to start but with no luck. I'm certain my DNS and host files are accurate and like I stated before, nothing has changed other than a reboot.
You need to give details about the steps you've taken to try and resolve the problem so we don't go over the same ground. You also need to give some evidence that your DNS & hosts file are correct - got to the Split DNS wiki article and run all the commands in the 'Verify..' section and post the output.Nothing changed other than a reboot - why did you reboot the server? Have you rebooted it previously without problems? Did you do any operating system upgrade? Is SElinux and the firewall disabled on this server?

Quote:
Originally Posted by slg57 View Post
ldap starts when I do a zmcontrol start but that is all. Then I get the dreaded Unable to determine enabled services from ldap.
Unable to determine enabled services. Cache is out of date or doesn't exist.
message.
This is usually caused by the hosts file and/or DNS problems. You should also post any other errors that you see in the log files when you start Zimbra, in addition post the output of the following:
Code:
zmcontrol status
__________________
Regards


Bill
Reply With Quote
  #4 (permalink)  
Old 02-17-2011, 09:57 AM
Partner (VAR/HSP)
 
Posts: 425
Default

Might also be a certificate issue. Hve you checked the certificate?
Reply With Quote
  #5 (permalink)  
Old 02-17-2011, 04:39 PM
Intermediate Member
 
Posts: 15
Default

Thanks for your responses. Sorry that I'm just getting back to this. Was out most of the day.

Here is some config info that may help solve my problem:

Quote:
zimbra@zimbrasrvr:~$ hostname
zimbrasrvr.vm.slgordon.com
Quote:
zimbra@zimbrasrvr:~$ zmlocalconfig ldap_url
ldap_url = ldap://zimbrasrvr.vm.slgordon.com:389
zimbra@zimbrasrvr:~$ zmlocalconfig ldap_master_url
ldap_master_url = ldap://zimbrasrvr.vm.slgordon.com:389
Quote:
root@zimbrasrvr:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.28 zimbrasrvr.vm.slgordon.com zimbrasrvr
Quote:
root@zimbrasrvr:~# cat /etc/resolv.conf
search vm.slgordon.com
nameserver 127.0.0.1
Quote:
root@zimbrasrvr:/etc# cat host.conf
# The "order" line is only used by old versions of the C library.
order hosts,bind
multi on
Quote:
root@zimbrasrvr:~# uname -a
Linux zimbrasrvr.vm.slgordon.com 2.6.24-26-server #1 SMP Tue Dec 1 19:19:20 UTC 2009 i686 GNU/Linux
Quote:
root@zimbrasrvr:/etc# dig slgordon.com mx

; <<>> DiG 9.4.2-P2.1 <<>> slgordon.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30259
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;slgordon.com. IN MX

;; AUTHORITY SECTION:
slgordon.com. 38400 IN SOA zimbrasrvr.vm.slgordon.com. dnsadmin.slgordon.com. 1267040574 10800 3600 604800 38400

;; Query time: 3 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Feb 17 17:10:10 2011
;; MSG SIZE rcvd: 89
Quote:
root@zimbrasrvr:~# dig zimbrasrvr.vm.slgordon.com

; <<>> DiG 9.4.2-P2.1 <<>> zimbrasrvr.vm.slgordon.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25142
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;zimbrasrvr.vm.slgordon.com. IN A

;; ANSWER SECTION:
zimbrasrvr.vm.slgordon.com. 38400 IN A 192.168.1.28

;; AUTHORITY SECTION:
vm.slgordon.com. 38400 IN NS zimbrasrvr.vm.slgordon.com.

;; Query time: 6 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Feb 17 16:37:41 2011
;; MSG SIZE rcvd: 74
Quote:
root@zimbrasrvr:~# dig mx zimbrasrvr

; <<>> DiG 9.4.2-P2.1 <<>> mx zimbrasrvr
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 65269
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;zimbrasrvr. IN MX

;; AUTHORITY SECTION:
. 10800 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2011021701 1800 900 604800 86400

;; Query time: 83 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Feb 17 16:38:13 2011
;; MSG SIZE rcvd: 103

What I've tried so far is:

Quote:
zimbra@zimbrasrvr:~$ zmcontrol status
Unable to determine enabled services from ldap.
Unable to determine enabled services. Cache is out of date or doesn't exist.
Quote:
zimbra@zimbrasrvr:~$ ldap status
slapd running pid: 11636
zimbra@zimbrasrvr:~$
zimbra@zimbrasrvr:~$ ldap stop
Killing slapd with pid 11636 done.
zimbra@zimbrasrvr:~$ zmcontrol start
Host zimbrasrvr.vm.slgordon.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.
Quote:
root@zimbrasrvr:/opt# chown -R zimbra.zimbra zimbra
root@zimbrasrvr:/opt# /opt/zimbra/libexec/zmfixperms -verbose
Quote:
zimbra@zimbrasrvr:~$ zmproxyctl status
zmnginxctl is not running
Quote:

su - zimbra
$ ldap stop
$ exit
# mv /opt/zimbra/openldap-data /opt/zimbra/openldap-data-0704-crash
# mkdir /opt/zimbra/openldap-data
# cp /opt/zimbra/openldap-data-0704-crash/DB_CONFIG /opt/zimbra/openldap-data/DB_CONFIG
# chown -R zimbra:zimbra /opt/zimbra/openldap-data
# su - zimbra
$ ~/openldap/sbin/slapadd -w -q -f ~/conf/slapd.conf -l /opt/zimbra/backup/ldap/incr-20070704.080005.554/ldap.bak
$ ~/openldap/sbin/slapindex -f ~/conf/slapd.conf
$ ldap start
Quote:
root@zimbrasrvr:/opt/zimbra/bin# ./zmcertmgr createcrt -new -days 365 Validation days: 365
Validation days: 365
** Creating /opt/zimbra/conf/zmssl.cnf...done
** Backup /opt/zimbra/ssl/zimbra to /opt/zimbra/ssl/zimbra.20110217173431
** Generating a server csr for download self -new -keysize 1024
** Creating /opt/zimbra/conf/zmssl.cnf...done
** Backup /opt/zimbra/ssl/zimbra to /opt/zimbra/ssl/zimbra.20110217173431
** Creating server cert request /opt/zimbra/ssl/zimbra/server/server.csr...done.
** Saving server config key zimbraSSLPrivateKey...failed.
** Signing cert request /opt/zimbra/ssl/zimbra/server/server.csr...done.
root@zimbrasrvr:/opt/zimbra/bin# su - zimbra
zimbra@zimbrasrvr:~$ zmcontrol start
Host zimbrasrvr.vm.slgordon.com
Unable to determine enabled services from ldap.
Unable to determine enabled services. Cache is out of date or doesn't exist.
Also,
Since this is on a VM I've taken a snapshot and tried restoring a backup from the past 3 days but I continue to get the same error.

Lastly,
I've also tried to upgared to 6.10 but the uprade fails right after it restarts mysql.

I'm willing to try anything at this point. This is my private email server for my family but I also run 2 other domains on it for small businesses that I work with.
Reply With Quote
  #6 (permalink)  
Old 02-18-2011, 06:32 AM
Intermediate Member
 
Posts: 15
Default

Just tried to restore a LDAP backup but no luck.

Quote:
rm -rf /opt/zimbra/data/ldap/hdb/db/* /opt/zimbra/data/ldap/hdb/logs/* (As root)
/opt/zimbra/openldap/sbin/slapadd -F /opt/zimbra/data/ldap/config -qcv -l /zimbra_dump/ldap.bak
rm -rf /opt/zimbra/redolog/*
opt/zimbra/libexec/zmfixperms -verbose -extended
I'm starting to get desperate. My clients call me about 4x a day now.
Reply With Quote
  #7 (permalink)  
Old 02-20-2011, 07:27 PM
Intermediate Member
 
Posts: 15
Default

After countless hours of troubleshooting I decided to just build a brand new zimbra installation. Once I had it up and running I moved all my data from one system to the other. I used this guide to help since I also upgraded to 64bit in the process.
Network Edition: Moving from 32-bit to 64-bit Server - Zimbra :: Wiki
Reply With Quote
  #8 (permalink)  
Old 02-20-2011, 11:03 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

According to the information you posted above, there are no valid DNS records for the server. The domain name you're using (actually a sub-domain) for the server should be "vm.slgordon.com" and not "zimbrasrvr.vm.slgordon.com" or "slgordon.com" that you have used for the dig command - you've actually used the FQDN for the dig command. Go to the Split DNS article and read-up on what's required for the DNS and hosts file configuration.
__________________
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.