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

Thread: [SOLVED] Unable to determine enabled services from ldap

  1. #1
    sadiq007 is offline Special Member
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    Question [SOLVED] Unable to determine enabled services from ldap

    [zimbra@mail ~]$ zmcontrol start
    Host mail.mydomain.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.
    [zimbra@mail ~]$


    zimbra.log output
    Mar 11 13:16:04 mail sendmail[21154]: p2B7k3ds021154: to=zimbra, ctladdr=zimbra (501/501), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30363, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Last edited by sadiq007; 03-11-2011 at 01:23 AM. Reason: adding zimbra.log

  2. #2
    gvillari is offline Trained Alumni
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    160
    Rep Power
    5

    Default

    Quote Originally Posted by sadiq007 View Post
    [zimbra@mail ~]$ zmcontrol start
    Host mail.mydomain.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.
    [zimbra@mail ~]$


    zimbra.log output
    Mar 11 13:16:04 mail sendmail[21154]: p2B7k3ds021154: to=zimbra, ctladdr=zimbra (501/501), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30363, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Hi,

    in the forums this issue was handled many times.

    If you're behind a NAT router or firewall, you need a valid DNS MX and A records, and also a correct /etc/hosts file.

    You can follow the istruction of this article:

    Split DNS - Zimbra :: Wiki.

    At the end, in 'Verify...' section, you can check the correctness of your configuration, by running the commands.

    Regards

  3. #3
    sadiq007 is offline Special Member
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    Default

    Dear i am not behind firewall, My MX and A entries all or ok.
    and i got this problem suddenly on working mail server

  4. #4
    gvillari is offline Trained Alumni
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    160
    Rep Power
    5

    Default

    Quote Originally Posted by sadiq007 View Post
    Dear i am not behind firewall, My MX and A entries all or ok.
    and i got this problem suddenly on working mail server
    Let's start step by step.

    1) Permissions on the Zimbra files/directories, shutdown Zimbra and run the following (as root):

    Code:
    chown -R zimbra:zimbra /opt/zimbra
    /opt/zimbra/libexec/zmfixperms -verbose
    restart Zimbra and see if that fixes it.

    2) If the problem persists, do the following:

    Code:
    cat /etc/hosts 
    host `hostname` 
    dig yourdomain.com mx
    dig yourdomain.com any
    and post the output.

  5. #5
    sadiq007 is offline Special Member
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    Default

    Same problem even after
    zmcontrol stop
    chown -R zimbra:zimbra /opt/zimbra
    /opt/zimbra/libexec/zmfixperms -verbose

    output

    cat /etc/hosts[/B]
    127.0.0.1 localhost.localdomain localhost
    192.168.1.1 mail.mydomain.com mail mydomain.com
    ::1 localhost6.localdomain6 localhost6

    cat /etc/resolve.conf
    search mydomain.com
    nameserver 192.168.1.1
    nameserver 8.8.8.8
    nameserver 4.2.2.2

    dig mydomain.com MX

    ; <<>> DiG 9.3.4-P1 <<>> mydomain.com MX
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60506
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

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

    ;; ANSWER SECTION:
    mydomain.com. 86400 IN MX 10 mail.mydomain.com.

    ;; AUTHORITY SECTION:
    mydomain.com. 86400 IN NS mail.mydomain.com.

    ;; ADDITIONAL SECTION:
    mail.mydomain.com. 86400 IN A 192.168.1.1

    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.1#53(192.168.1.1)
    ;; WHEN: Fri Mar 11 14:32:28 2011
    ;; MSG SIZE rcvd: 83

    dig mydomain.com any

    ; <<>> DiG 9.3.4-P1 <<>> mydomain.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28123
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;mydomain.com. IN ANY

    ;; ANSWER SECTION:
    mydomain.com. 86400 IN SOA mail.mydomain.com. root.mail.mydomain.com. 2 28800 7200 604800 86400
    mydomain.com. 86400 IN NS mail.mydomain.com.
    mydomain.com. 86400 IN MX 10 mail.mydomain.com.

    ;; ADDITIONAL SECTION:
    mail.mydomain.com. 86400 IN A 192.168.1.1

    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.1#53(192.168.1.1)
    ;; WHEN: Fri Mar 11 14:32:32 2011
    ;; MSG SIZE rcvd: 124

    host 'mail.mydomain.com'
    mail.mydomain.com has address 192.168.1.1
    [root@mail named]#

  6. #6
    gvillari is offline Trained Alumni
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    160
    Rep Power
    5

    Default

    Quote Originally Posted by sadiq007 View Post
    cat /etc/hosts[/B]
    127.0.0.1 localhost.localdomain localhost
    192.168.1.1 mail.mydomain.com mail mydomain.com
    ::1 localhost6.localdomain6 localhost6
    The /etc/hosts file isn't correct.

    You have to change it from this:

    Code:
    127.0.0.1       localhost.localdomain localhost
    192.168.1.1 mail.mydomain.com mail mydomain.com
    ::1             localhost6.localdomain6 localhost6
    to be like this one:
    Code:
    127.0.0.1       localhost.localdomain localhost
    192.168.1.1    mail.mydomain.com   mail
    After making that change, reboot the server and see what happens.

    Regards

  7. #7
    sadiq007 is offline Special Member
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    Default

    dear same error even after changes in /etc/hosts
    like this
    127.0.0.1 localhost.localdomain localhost
    192.168.1.1 mail.mydomain.com mail

  8. #8
    sadiq007 is offline Special Member
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    Default

    any other solution please?

  9. #9
    gvillari is offline Trained Alumni
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    160
    Rep Power
    5

    Default

    Quote Originally Posted by sadiq007 View Post
    any other solution please?
    Can you put the output of this command:

    Code:
    zmcontrol status

  10. #10
    sadiq007 is offline Special Member
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    Default

    Well the output of zmcontrol status is
    Host mail.mydomain.com
    antispam Running
    antivirus Running
    imapproxy Running
    ldap Running
    logger Running
    mailbox Running
    memcached Running
    mta Running
    snmp Running
    spell Running
    stats Running

    surprised ??..

    Yeh it was like that and the problem is sloved BY ME after this practice.


    1. Begin by generating a new Certificate Authority (CA).

    zmcertmgr createca -new

    2. Then generate a certificate signed by the CA that expires in 365 days.

    zmcertmgr createcrt -new -days 786

    3. Next deploy the certificate.

    zmcertmgr deploycrt self

    4. Next deploy the CA.

    zmcertmgr deployca

    5. To finish, verify the certificate was deployed to all the services.

    zmcertmgr viewdeployedcrt

    ( and the reson of this problem is that my certificate was expired after one year)

    Well thanks for great response..keep it UP.
    Last edited by sadiq007; 03-11-2011 at 06:38 AM. Reason: chenge domain name to fake

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. [SOLVED] Unable to determine enabled services from ldap.
    By farrukhndm in forum Administrators
    Replies: 15
    Last Post: 02-11-2013, 12:19 AM
  2. Replies: 8
    Last Post: 12-29-2010, 12:50 AM
  3. Replies: 11
    Last Post: 12-04-2010, 01:38 PM
  4. Unable to determine enabled services from ldap.
    By ykaho in forum Administrators
    Replies: 16
    Last Post: 11-08-2010, 07:24 AM
  5. LDAP Cannot bind on migration to new server
    By neekster in forum Migration
    Replies: 23
    Last Post: 03-09-2009, 02:08 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
  •