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

Thread: [SOLVED] problem with LDAP

  1. #1
    Join Date
    Apr 2008
    Posts
    17
    Rep Power
    7

    Default [SOLVED] problem with LDAP

    after install zimbra on Fedroa core 7
    Code:
    [zimbra@Zimsrv ~]$ zmcontrol start
    Host zimsrv.shsys.net
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.
    my hosts file
    Code:
    127.0.0.1 localhost.localdomain localhost
    shsys.net 84.110.212.34
    84.110.212.34  shsys.net
    pls help me
    Last edited by Shahar; 04-01-2008 at 06:28 AM.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Your hosts file is incorrect, check the documentation. You'll also need valid DNS A & MX records pointing at your server, do you have them?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Apr 2008
    Posts
    17
    Rep Power
    7

    Default

    Code:
    zimsrv.shsys.net.       259200  IN      MX      1 mx.shsys.net.
    
    shsys.net.              259200  IN      MX      1 mx.shsys.net.
    shsys.net.              259200  IN      MX      5 mx.shsys.net.
    shsys.net.              259200  IN      MX      10 mx.shsys.net.
    
    mx.shsys.net.           259200  IN      A       84.110.212.34


    EDIT
    my new hosts file
    Code:
    127.0.0.1 localhost.localdomain localhost
    zimsrv.shsys.net 84.110.212.34
    84.110.212.34  FQDN  zimsrv.shsys.net
    i got same error now..
    what wrong?
    Last edited by Shahar; 04-01-2008 at 06:28 AM.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by Shahar View Post
    zimsrv.shsys.net. 259200 IN MX 1 mx.shsys.net.

    shsys.net. 259200 IN MX 1 mx.shsys.net.
    shsys.net. 259200 IN MX 5 mx.shsys.net.
    shsys.net. 259200 IN MX 10 mx.shsys.net.

    mx.shsys.net. 259200 IN A 84.110.212.34

    its ok?
    No, not according to your first post. This zimsrv.shsys.net seems to be the FQDN of your server.

    You can check the set-up by running the following command (on the zimbra server & after you've fixed the hosts file):

    Code:
    Host `hostname`  <-- use backticks not single quotes
    dig shsys.net mx
    dig shsys.net any
    and post the results.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Apr 2008
    Posts
    17
    Rep Power
    7

    Default

    its my hosts file
    Code:
    127.0.0.1 localhost.localdomain localhost
    zimsrv.shsys.net 84.110.212.34
    84.110.212.34  FQDN  zimsrv.shsys.net
    its ok?

    Code:
    [zimbra@Zimsrv ~]$ host `hostname`
    Zimsrv.shsys.net has address 84.110.212.34
    Zimsrv.shsys.net mail is handled by 1 mx.shsys.net.
    Last edited by Shahar; 04-01-2008 at 06:27 AM.

  6. #6
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    Default

    "FQDN" should not appear as-is in the hosts file ; FQDN means Fully Qualified Domain Name.

    It's the full host name (as "server.domain.tld") vs the short name ("server" only).

    So you hosts file should be:
    Code:
    127.0.0.1 localhost.localdomain localhost
    84.110.212.34 zimsrv.shsys.net zimsrv

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Your hosts file is still wrong, it should contain the folowing:

    Code:
    127.0.0.1 localhost.localdomain localhost
    84.110.212.34  zimsrv.shsys.net  zimsrv
    FQDN means the fully Qualified Domain Name of your server, you don't put FQDN in the hosts file.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    Join Date
    Apr 2008
    Posts
    17
    Rep Power
    7

    Default

    ok i fix my hosts file
    and i got same error
    Code:
    Host zimsrv.shsys.net
            Starting ldap...Done.
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.

  9. #9
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by Shahar View Post
    ok i fix my hosts file
    and i got same error
    What about the earlier request for the information I asked you to post?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    Join Date
    Apr 2008
    Posts
    17
    Rep Power
    7

    Default

    oh sorry
    Code:
     
    Zimsrv.shsys.net has address 84.110.212.34
    Zimsrv.shsys.net mail is handled by 1 mx.shsys.net.
    
    [zimbra@Zimsrv ~]$ dig shsys.net MX
    
    ; <<>> DiG 9.4.2 <<>> shsys.net MX
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13069
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 3
    
    ;; QUESTION SECTION:
    ;shsys.net.                     IN      MX
    
    ;; ANSWER SECTION:
    shsys.net.              259200  IN      MX      5 mx.shsys.net.
    shsys.net.              259200  IN      MX      10 mx.shsys.net.
    shsys.net.              259200  IN      MX      1 mx.shsys.net.
    
    ;; AUTHORITY SECTION:
    shsys.net.              259200  IN      NS      ns1.shsys.net.
    shsys.net.              259200  IN      NS      ns2.shsys.net.
    
    ;; ADDITIONAL SECTION:
    mx.shsys.net.           259200  IN      A       84.110.212.34
    ns1.shsys.net.          259200  IN      A       84.94.231.180
    ns2.shsys.net.          259200  IN      A       84.94.231.181
    
    ;; Query time: 16 msec
    ;; SERVER: 84.94.231.180#53(84.94.231.180)
    ;; WHEN: Sun Jun  1 09:54:12 2008
    ;; MSG SIZE  rcvd: 162
    
    [zimbra@Zimsrv ~]$ dig shsys.net ANY
    
    ; <<>> DiG 9.4.2 <<>> shsys.net ANY
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46969
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 3
    
    ;; QUESTION SECTION:
    ;shsys.net.                     IN      ANY
    
    ;; ANSWER SECTION:
    shsys.net.              259200  IN      A       84.110.212.34
    shsys.net.              259200  IN      SOA     shsys.net. hostmaster.shsys.net. 20061019 28800 7200 2419200 86400
    shsys.net.              259200  IN      NS      ns2.shsys.net.
    shsys.net.              259200  IN      NS      ns1.shsys.net.
    shsys.net.              259200  IN      MX      1 mx.shsys.net.
    shsys.net.              259200  IN      MX      5 mx.shsys.net.
    shsys.net.              259200  IN      MX      10 mx.shsys.net.
    shsys.net.              259200  IN      TXT     "Shsys Main DNS Server"
    
    ;; ADDITIONAL SECTION:
    ns1.shsys.net.          259200  IN      A       84.94.231.180
    ns2.shsys.net.          259200  IN      A       84.94.231.181
    mx.shsys.net.           259200  IN      A       84.110.212.34
    
    ;; Query time: 18 msec
    ;; SERVER: 84.94.231.180#53(84.94.231.180)
    ;; WHEN: Sun Jun  1 09:54:23 2008
    ;; MSG SIZE  rcvd: 259

Similar Threads

  1. About external LDAP problem, urgent!
    By bylong in forum Administrators
    Replies: 5
    Last Post: 08-24-2007, 08:10 PM
  2. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 11:12 AM
  3. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 07:45 AM
  4. External LDAP Problem
    By facerw in forum Installation
    Replies: 7
    Last Post: 05-08-2007, 05:29 AM
  5. ldap pasword problem
    By jasonwillis in forum Installation
    Replies: 15
    Last Post: 03-15-2006, 08:56 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
  •