Results 1 to 8 of 8

Thread: [SOLVED] PLEASE HELP: Cache is out of date or doesn't exist.

  1. #1
    slg57 is offline Intermediate Member
    Join Date
    Feb 2010
    Posts
    15
    Rep Power
    5

    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!

  2. #2
    slg57 is offline Intermediate Member
    Join Date
    Feb 2010
    Posts
    15
    Rep Power
    5

    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?

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

    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


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    iway is offline Partner (VAR/HSP)
    Join Date
    May 2008
    Posts
    432
    Rep Power
    7

    Default

    Might also be a certificate issue. Hve you checked the certificate?

  5. #5
    slg57 is offline Intermediate Member
    Join Date
    Feb 2010
    Posts
    15
    Rep Power
    5

    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:

    zimbra@zimbrasrvr:~$ hostname
    zimbrasrvr.vm.slgordon.com
    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
    root@zimbrasrvr:~# cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    192.168.1.28 zimbrasrvr.vm.slgordon.com zimbrasrvr
    root@zimbrasrvr:~# cat /etc/resolv.conf
    search vm.slgordon.com
    nameserver 127.0.0.1
    root@zimbrasrvr:/etc# cat host.conf
    # The "order" line is only used by old versions of the C library.
    order hosts,bind
    multi on
    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
    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
    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
    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:

    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.
    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.
    root@zimbrasrvr:/opt# chown -R zimbra.zimbra zimbra
    root@zimbrasrvr:/opt# /opt/zimbra/libexec/zmfixperms -verbose
    zimbra@zimbrasrvr:~$ zmproxyctl status
    zmnginxctl is not running

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

  6. #6
    slg57 is offline Intermediate Member
    Join Date
    Feb 2010
    Posts
    15
    Rep Power
    5

    Default

    Just tried to restore a LDAP backup but no luck.

    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.

  7. #7
    slg57 is offline Intermediate Member
    Join Date
    Feb 2010
    Posts
    15
    Rep Power
    5

    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

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

    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


    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. message cache problem
    By mikiso in forum Administrators
    Replies: 0
    Last Post: 10-20-2010, 09:48 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. Cache is out of date or doesnt exist?
    By yoom@hostwebase.com in forum Installation
    Replies: 0
    Last Post: 01-24-2008, 11:09 AM
  4. can't you help me
    By iwan siahaan in forum Administrators
    Replies: 6
    Last Post: 12-17-2007, 06:53 PM
  5. Cache is out of date or doesn´t exist
    By honigbluete in forum Installation
    Replies: 5
    Last Post: 11-13-2007, 06:04 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
  •