Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

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

  1. #11
    maumar is offline Elite Member
    Join Date
    Mar 2007
    Location
    Small village in the center of Italy
    Posts
    339
    Rep Power
    8

    Default

    I have a CentOS 5.8 w/ 7.2.0 and i migrated to CentOS 6 7.2.0, zimbra opensource
    I got this error and the cause was that pointed by Bill aka Phoenix
    Code:
    t your DNS A & MX records are non-existent or incorrect and/or you have an invalid /etc/hosts file
    i started new zimbra without changing it's ip

  2. #12
    vi_rod is offline Starter Member
    Join Date
    Nov 2012
    Posts
    3
    Rep Power
    2

    Default

    Hi,
    I am installing zimbra 7.2 64 bit on Fedora 11 please help me understand this -

    Code:
     zmcontrol status
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.
    same error zmcontrol start as well... I understand its something with DNS and firewall, but im not able to get through -


    However this is my vi /etc/hosts entries -
    Code:
     127.0.0.1   localhost.localdomain   localhost.localdomain   localhost4  localhost4.localdomain4 localhost   jc_library_app
    ::1 localhost.localdomain   localhost.localdomain   localhost6  localhost6.localdomain6 localhost   jc_library_app
    192.168.2.9 jc_library_app.in  mail
    and i got this while su zimbra
    Code:
     trying to create local folder /opt/zimbra/.kde: Permission denied
    trying to create local folder /opt/zimbra/.kde: Permission denied
    but it did log me into the user.

    and even before that while doing setup -
    Code:
    [root@jc_library_app libexec]# ./zmsetup.pl        
    Operations logged to /tmp/zmsetup.11262012-200908.log
    Installing LDAP configuration database...done.       
    Setting defaults...No results returned for A lookup of localhost.localdomain
    Checked nameservers:                                                        
            8.8.8.8                                                             
            4.2.2.2                                                             
    
    
    DNS ERROR resolving localhost.localdomain
    It is suggested that the hostname be resolveable via DNS
    Change hostname [Yes] n                                 
    
    
    DNS ERROR resolving MX for localhost.localdomain
    It is suggested that the domain name have an MX record configured in DNS
    Change domain name? [Yes] n                                             
    done.                                                                   
    Checking for port conflicts                                             
    
    
    Note
    
    The previous configuration appears to have failed to complete
    
    Attempt to complete configuration now? [yes] yes
    Save configuration data to a file? [Yes] yes    
    Save config in file: [/opt/zimbra/config.15111] yes
    Saving config in yes...done.                       
    The system will be modified - continue? [No] yes   
    Operations logged to /tmp/zmsetup.11262012-200908.log
    Initializing ldap...done.                            
    Setting replication password...done.                 
    Setting Postfix password...done.                     
    Setting amavis password...done.                      
    Setting nginx password...done.                       
    Creating server entry for localhost.localdomain...done.
    Saving CA in ldap ...done.                             
    Saving SSL Certificate in ldap ...done.                
    Setting spell check URL...done.                        
    Setting service ports on localhost.localdomain...done. 
    Adding localhost.localdomain to zimbraMailHostPool in default COS...done.
    Installing webclient skins...                                            
            sand...done.                                                     
            bones...done.                                                    
            waves...done.                                                    
            lake...done.                                                     
            hotrod...done.                                                   
            sky...done.                                                      
            beach...done.                                                    
            oasis...done.                                                    
            lemongrass...done.                                               
            pebble...done.                                                   
            smoke...done.                                                    
            bare...done.                                                     
            tree...done.                                                     
            lavender...done.                                                 
            twilight...done.                                                 
            steel...done.                                                    
            carbon...done.                                                   
    Finished installing webclient skins.                                     
    Setting zimbraFeatureTasksEnabled=TRUE...done.                           
    Setting zimbraFeatureBriefcasesEnabled=TRUE...done.                      
    Setting MTA auth host...done.                                            
    Setting TimeZone Preference...done.                                      
    Initializing mta config...done.                                          
    Setting services on localhost.localdomain...done.                        
    Creating domain localhost.localdomain...done.                            
    Setting default domain name...done.                                      
    Creating domain localhost.localdomain...already exists.                  
    Creating admin account admin@localhost.localdomain...done.               
    Creating root alias...done.                                              
    Creating postmaster alias...done.                                        
    Creating user spam.8asmkpop@localhost.localdomain...done.                
    Creating user ham.izanvwpz@localhost.localdomain...done.                 
    Creating user virus-quarantine.lhoxjvfxt@localhost.localdomain...done.   
    Setting spam training and Anti-virus quarantine accounts...done.         
    Initializing store sql database...done.                                  
    Setting zimbraSmtpHostname for localhost.localdomain...done.             
    Configuring SNMP...done.                                                 
    Checking for default IM conference room...not present.                   
    Initializing default IM conference room...done.                          
    Setting up syslog.conf...done.                                           
    
    You have the option of notifying Zimbra of your installation.
    This helps us to track the uptake of the Zimbra Collaboration Suite.
    The only information that will be transmitted is:                   
            The VERSION of zcs installed (7.2.1_GA_2790_F11_64)         
            The ADMIN EMAIL ADDRESS created (admin@localhost.localdomain)
    
    Notify Zimbra of your installation? [Yes] n
    Notification skipped                       
    Starting servers...Unable to determine enabled services from ldap.
    done.                                                             
    Installing common zimlets...                                      
            com_zimbra_email...done.                                  
            com_zimbra_webex...done.                                  
            com_zimbra_date...done.                                   
            com_zimbra_url...done.                                    
            com_zimbra_adminversioncheck...done.                      
            com_zimbra_bulkprovision...done.                          
            com_zimbra_attachmail...done.                             
            com_zimbra_phone...done.                                  
            com_zimbra_cert_manager...done.                           
            com_zimbra_social...done.                                 
            com_zimbra_srchhighlighter...done.                        
            com_zimbra_linkedin...done.                               
            com_zimbra_dnd...done.                                    
            com_zimbra_attachcontacts...done.                         
    Finished installing common zimlets.                               
    Restarting mailboxd...done.                                       
    Setting up zimbra crontab...done.                                 
    
    
    Moving /tmp/zmsetup.11262012-200908.log to /opt/zimbra/log
    
    
    Configuration complete - press return to exit
    even though i had changed localhost.localdomain in the config files

  3. #13
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by vi_rod View Post
    I am installing zimbra 7.2 64 bit on Fedora 11 please help me understand this -

    Code:
     zmcontrol status
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.
    Have you looked at any of the threads and wiki article that covers this topic? If you have then tell us what you've tried.

    same error zmcontrol start as well... I understand its something with DNS and firewall, but im not able to get through -


    Quote Originally Posted by vi_rod View Post
    However this is my7 vi /etc/hosts entries -
    Code:
     127.0.0.1   localhost.localdomain   localhost.localdomain   localhost4  localhost4.localdomain4 localhost   jc_library_app
    ::1 localhost.localdomain   localhost.localdomain   localhost6  localhost6.localdomain6 localhost   jc_library_app
    192.168.2.9 jc_library_app.in  mail
    That's not correct and the wiki article on this Split DNS tells you what the correct format is.

    Quote Originally Posted by vi_rod View Post
    and i got this while su zimbra
    That command is incorrect (it should be this (not the hyphen "-" it's necessary):
    Code:
    su - zimbra

    Quote Originally Posted by vi_rod View Post
    and even before that while doing setup -
    [code][root@jc_library_app libexec]# ./zmsetup.pl
    Operations logged to /tmp/zmsetup.11262012-200908.log
    Installing LDAP configuration database...done.
    Setting defaults...No results returned for A lookup of localhost.localdomain
    Checked nameservers:
    8.8.8.8
    4.2.2.2


    DNS ERROR resolving localhost.localdomain
    It is suggested that the hostname be resolveable via DNS
    Change hostname [Yes] n


    DNS ERROR resolving MX for localhost.localdomain
    It is suggested that the domain name have an MX record configured in DNS
    Change domain name? [Yes] n
    done.
    You need valid DNS A & MX records and a domain name (not localhost).

    Quote Originally Posted by vi_rod View Post
    The previous configuration appears to have failed to complete
    That's hardly surprising.

    BTW. Why have you added this to a thread that's marked a 'Solved' when you appear not to have taken any notice of the information in this thred (nor any other information in the forums)?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #14
    vi_rod is offline Starter Member
    Join Date
    Nov 2012
    Posts
    3
    Rep Power
    2

    Default

    Quote Originally Posted by phoenix View Post
    Have you looked at any of the threads and wiki article that covers this topic? If you have then tell us what you've tried.

    same error zmcontrol start as well... I understand its something with DNS and firewall, but im not able to get through -


    That's not correct and the wiki article on this Split DNS tells you what the correct format is.
    Yes, I did go through a few threads about this error and hence i did not create a new thread. 2. I'm new to the terms - "LDAP" , configuring bind etc. so,it is a lil difficult to understand everything at once. 3. I tried editing named.conf but whatever is present in my system is a lot concise n different from what is shown in the SPLITDNS article. (im using bind 8.0 and fc11 couldnt upgrade to later versions)

    That command is incorrect (it should be this (not the hyphen "-" it's necessary):
    Code:
    su - zimbra
    Quote Originally Posted by phoenix View Post
    You need valid DNS A & MX records and a domain name (not localhost).

    That's hardly surprising.

    BTW. Why have you added this to a thread that's marked a 'Solved' when you appear not to have taken any notice of the information in this thred (nor any other information in the forums)?
    I want to change the localhost to a proper domain (i.e jc_library_app.in ) and it shows config file is saved at : /opt/zimbra/config.9322 but when i vi the file .. nothing shows up. could it be that the installation is corrupted?

    and I did not mark this thread as solved, it was already solved when i came across this page. I just clicked on "post quick reply"

  5. #15
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by vi_rod View Post
    Yes, I did go through a few threads about this error and hence i did not create a new thread.
    Wll you should have created a new thread, adding to a 'Solved' thread means it likely to get missed.

    Quote Originally Posted by vi_rod View Post
    2. I'm new to the terms - "LDAP" , configuring bind etc. so,it is a lil difficult to understand everything at once. 3. I tried editing named.conf but whatever is present in my system is a lot concise n different from what is shown in the SPLITDNS article. (im using bind 8.0 and fc11 couldnt upgrade to later versions)
    The Split DNS article is only a guideline as each Linux distribution puts the BIND files in whatever location they feel is appropriate to them. Try using webmin to manage your server and DNS.

    Quote Originally Posted by vi_rod View Post
    I want to change the localhost to a proper domain (i.e jc_library_app.in ) and it shows config file is saved at : /opt/zimbra/config.9322 but when i vi the file .. nothing shows up. could it be that the installation is corrupted?
    No the installation isn't corrupted it's becase you do not have valid A & MX DNS records - you need them before you install Zimbra. I'd suggest you uninstall Zimbra (using "./install.sh -u" - that will remove all the files and the /opt/zimbra directory structure) then read the SPlit DNS article again for details of what you need in your DNS records plus the /etc/hosts file plus the resolv.conf. You can confirm the configuration by running all the commands in the 'Verify...' section of that article to make sure everything is correct. When you've satisfied yourself that all is OK reinstall ZCS.

    Quote Originally Posted by vi_rod View Post
    and I did not mark this thread as solved,......
    Nobody said it was you that marked it as solved.

    I'd also suggest you choose a more suitable Linux distribution for you mail server, a (old) bleeding edge consumer distribution is not a suitable platform for a stable mail server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #16
    vivek.pal is offline New Member
    Join Date
    Nov 2012
    Posts
    3
    Rep Power
    2

    Arrow zimbra ssl

    [QUOTE=farrukhndm;211166]Thanks for reply ,but i solve this query by following the instructions in given link

    Code:
    http://www.zimbra.com/forums/administrators/45833-solved-zimbra-certificates-have-expired-i-m-having-difficulty-regenerating-them.html
    What i find to make my zimbra up , by deleting old ssl/* ssl/.rnd and other as given below and make changing Certificate date from 365 to 3650...
    Code:
    ################################################################################################################
    # Regenerate SSL Cert
    ################################################################################################################
    su - zimbra -c 'zmcontrol stop'
    rm -rf /opt/zimbra/ssl/*
    rm -rf /opt/zimbra/ssl/.rnd
    /opt/zimbra/java/bin/keytool -delete -alias my_ca -keystore /opt/zimbra/java/jre/lib/security/cacerts -storepass changeit
    /opt/zimbra/java/bin/keytool -delete -alias jetty -keystore /opt/zimbra/mailboxd/etc/keystore -storepass `su - zimbra -c 'zmlocalconfig -s -m nokey mailboxd_keystore_password'`
    vi  /opt/zimbra/bin/zmcertmgr
    
    # Find line 
    # SUBJECT="/C=US/ST=N\/A/L=N\/A/O=Zimbra Collaboration Suite/OU=Zimbra Collaboration Suite/CN=${zimbra_server_hostname}" 
    # and change to your company name
    
    # then find and change you want value days expire cert validation_days=365 to validation_days=3650
    # save /opt/zimbra/bin/zmcertmgr
    
    /opt/zimbra/bin/zmcertmgr createca -new
    /opt/zimbra/bin/zmcertmgr deployca -localonly
    /opt/zimbra/bin/zmcertmgr createcrt self -new
    /opt/zimbra/bin/zmcertmgr deploycrt self
    
    su - zimbra -c 'zmcontrol start'
    
    /opt/zimbra/bin/zmcertmgr deploycrt self
    /opt/zimbra/bin/zmcertmgr deployca
    
    su - zimbra -c 'zmupdateauthkeys'
    /opt/zimbra/bin/zmcertmgr viewdeployedcrt
    
    ################################################################################################################

Page 2 of 2 FirstFirst 12

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 sadiq007 in forum Administrators
    Replies: 10
    Last Post: 02-19-2012, 08:08 AM
  2. Unable to determine enabled services from ldap
    By abhiz in forum Installation
    Replies: 1
    Last Post: 06-10-2011, 11:10 PM
  3. [SOLVED] Unable to determine enabled services from ldap.
    By alarentis in forum Administrators
    Replies: 2
    Last Post: 04-27-2011, 03:53 AM
  4. Replies: 11
    Last Post: 12-04-2010, 01:38 PM
  5. Replies: 1
    Last Post: 10-01-2009, 12:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •