Results 1 to 4 of 4

Thread: Unable to determine enabled services from ldap. Cache is out of date or ... [AGAIN]

  1. #1
    twistedbrain is offline Member
    Join Date
    Feb 2010
    Posts
    11
    Rep Power
    5

    Default Unable to determine enabled services from ldap. Cache is out of date or ... [AGAIN]

    Sorry if the question has been answered many times, but I couldn't solve with the replies found.

    My server doesn't start any more.

    root@mail:~# su - zimbra -c 'zmcontrol start'
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.

    and zmcontrol status gives the same output.

    The server is Ubuntu LTS 10.04 64 bit under VMWare ESXi 4.1 and Zimbra is ZCS 7.1.4.
    It was running smoothly since years and also after the upgrade from 7.1 to 7.1.4 about 2 months ago.
    Saturday there was a power outage and due a problem to the UPS sw the ZCS VM didn't shout down cleanly and some day before an update to bind9 sw.

    I checked /etc/hosts, /etc/resolv.conf, DNS resolution with dig and regenerate certificates, but I can't come out from the trouble.

    Here you are the output of the commands:

    root@mail:~# cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    WWW.XXX.YYY.ZZZ. mail.qui.quo.qua.it mail
    AAA.BBB.CCC.DDD backup
    AAA.BBB.CCC.EEE ms2
    ZZZ.WWW.YYY.XXX webbo
    # The following lines are desirable for IPv6 capable hosts
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters

    root@mail:~# cat /etc/resolv.conf
    localhost 127.0.0.1

    root@mail:~# dig qui.quo.qua.it

    ; <<>> DiG 9.7.0-P1 <<>> qui.quo.qua.it
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28860
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;qui.quo.qua.it. IN A

    ;; ANSWER SECTION:
    qui.quo.qua.it. 38400 IN A WWW.XXX.YYY.ZZZ

    ;; AUTHORITY SECTION:
    qui.quo.qua.it. 38400 IN NS mail.qui.quo.qua.it.

    ;; ADDITIONAL SECTION:
    mail.qui.quo.qua.it. 38400 IN A WWW.XXX.YYY.ZZZ

    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Mon Jun 11 12:13:03 2012
    ;; MSG SIZE rcvd: 89

    root@mail:~# dig qui.quo.qua.it any

    ; <<>> DiG 9.7.0-P1 <<>> qui.quo.qua.it any
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33020
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;qui.quo.qua.it. IN ANY

    ;; ANSWER SECTION:
    qui.quo.qua.it. 38400 IN SOA mail.qui.quo.qua.it. root.mail.qui.quo.qua.it. 2011060500 10800 3600 604800 38400
    qui.quo.qua.it. 38400 IN NS mail.qui.quo.qua.it.
    qui.quo.qua.it. 38400 IN MX 10 mail.qui.quo.qua.it.
    qui.quo.qua.it. 38400 IN A WWW.XXX.YYY.ZZZ

    ;; ADDITIONAL SECTION:
    mail.qui.quo.qua.it. 38400 IN A WWW.XXX.YYY.ZZZ

    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Mon Jun 11 12:13:56 2012
    ;; MSG SIZE rcvd: 146

    root@mail:~# dig qui.quo.qua.it mx

    ; <<>> DiG 9.7.0-P1 <<>> qui.quo.qua.it mx
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30459
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;qui.quo.qua.it. IN MX

    ;; ANSWER SECTION:
    qui.quo.qua.it. 38400 IN MX 10 mail.qui.quo.qua.it.

    ;; AUTHORITY SECTION:
    qui.quo.qua.it. 38400 IN NS mail.qui.quo.qua.it.

    ;; ADDITIONAL SECTION:
    mail.qui.quo.qua.it. 38400 IN A WWW.XXX.YYY.ZZZ

    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Mon Jun 11 12:15:43 2012
    ;; MSG SIZE rcvd: 89

    Maybe I miss something obvious, but I can't see what.
    Thanks to replying people, regards to all,

    Andrea

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

    Default

    You need to investigate the log files when you restart Zimbra to see what errors it throws and also check for any corrupt LDAP database messages.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    twistedbrain is offline Member
    Join Date
    Feb 2010
    Posts
    11
    Rep Power
    5

    Default

    The only thing I could find has been:

    Jun 11 13:06:29 mail zimbramon[11427]: 11427:info: Starting services initiated by zmcontrol

    in /var/log/zimbra.log when I give the command

    # su - zimbra -c 'zmcontrol start'

    and nothing else, either in /var/log, either in /opt/zimbra/log where the most recent log files are of saturday, except zmlogprocess.state that contains a number that seems too long to be a pid.

    Are there some way to increase logging and/or debugging? Maybe I have to try to reinstall or to restore from a backup; if yes, what?

    Thank You and regards,

    Andrea

  4. #4
    twistedbrain is offline Member
    Join Date
    Feb 2010
    Posts
    11
    Rep Power
    5

    Default

    This is my Morphy's day.

    I've found filesystem errors on /opt/zimbra/data in the ldap subdir, but also after the corrections the problem didn't go away.
    So I went to the bank where we have LTO backups in the save and take the last full of 6/3.
    I put it in the device and when I opened the console of the sw to restore I could saw that a backup was already automatically started and overwrote my data on the LTO with old and useless data. It was at least six months that I couldn't get such software to backup automatically, it always failed and I had to format manually the tape and lauch by hand the backup job. So now I'm restoring to a temporary storage area from the LTO of 5/27. After that I'll try to restore /opt/zimbra/data/ldap but I was wandering if I could get more trouble because this morning I regenerate the server certificates and maybe due some inconsistencies between this data ldap dir of 5/27 and some other piece of my Zimbra.

    If somebody has some hints, or pray to get the job done and the system fixed I'll be more than happy to hear.

    Regards,

    Andrea

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 16
    Last Post: 03-30-2014, 02:20 AM
  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 rakesraja in forum Installation
    Replies: 19
    Last Post: 12-16-2011, 06:22 AM
  4. Unable to determine enabled services from ldap.
    By bill77se in forum Installation
    Replies: 1
    Last Post: 12-08-2011, 03:23 AM
  5. Replies: 1
    Last Post: 08-28-2010, 11:44 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
  •