Results 1 to 5 of 5

Thread: Unable to determine enabled services from ldap.

  1. #1
    eombah is offline Loyal Member
    Join Date
    Nov 2006
    Location
    Netherlands
    Posts
    90
    Rep Power
    8

    Default Unable to determine enabled services from ldap.

    Hi,

    I have to relocate my zimbra 6.06.1 server temporarily from office to home.
    I changed the server name using zmsetservername from mail02.eom.nl to mail02.thuis.nl:
    Code:
    zimbra@mail02:~$ ./libexec/zmsetservername -n mail02.thuis.nl
    Getting local config zimbra_home=/opt/zimbra
    Getting local config zimbra_server_hostname=mail02.eom.nl
    Getting local config ldap_is_master=true
    Getting local config zimbra_ldap_userdn=uid=zimbra,cn=admins,cn=zimbra
    Getting local config zimbra_ldap_password=jkiR0YeC2k
    Getting local config ldap_master_url=ldap://mail02.eom.nl:389
    Getting local config ldap_starttls_supported=1
    Getting global config zimbraLogHostname=ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException mail02.eom.nl:389)
    
    Renaming mail02.eom.nl to mail02.thuis.nl
    Shutting down zimbra...done.
    Setting local config ldap_master_url=ldap://mail02.thuis.nl:389
    Getting local config ldap_url=ldap://mail02.eom.nl:389
    Setting local config ldap_url=ldap://mail02.thuis.nl:389
    Getting local config ldap_host=mail02.eom.nl
    Setting local config ldap_host=mail02.thuis.nl
    Getting local config av_notify_user=admin@mail02.eom.nl
    Setting local config av_notify_user=admin@mail02.thuis.nl
    Getting local config av_notify_domain=mail02.eom.nl
    Setting local config av_notify_domain=mail02.thuis.nl
    Getting local config snmp_trap_host=mail02.eom.nl
    Setting local config snmp_trap_host=mail02.thuis.nl
    Getting local config smtp_source=admin@mail02.eom.nl
    Setting local config smtp_source=admin@mail02.thuis.nl
    Getting local config smtp_destination=admin@mail02.eom.nl
    Setting local config smtp_destination=admin@mail02.thuis.nl
    Setting local config zimbra_server_hostname=mail02.thuis.nl
    Starting ldap...done.
    Now when I start zimbra, I get the following message:

    Code:
      Unable to determine enabled services from ldap.
      Enabled services read from cache. Service list may be inaccurate.
    /var/log/zimbra.log says:

    Code:
    Jun 12 19:19:16 mail02 zimbramon[20963]: 20963:info: zmmtaconfig: Skipping Configuration for server mail02.thuis.nl update. 
    Jun 12 19:19:16 mail02 zimbramon[20963]: 20963:info: zmmtaconfig: gs:mail02.thuis.nl ERROR: account.NO_SUCH_SERVER (no such server: mail02.thuis.nl)  
    Jun 12 19:19:16 mail02 zimbramon[20963]: 20963:info: zmmtaconfig: Sleeping...Key lookup failed.
    I tried all things in http://www.zimbra.com/forums/users/1...ices-ldap.html but it's still not ok.

    Please advice.

    -Bart

  2. #2
    p_nyet is offline Loyal Member
    Join Date
    May 2009
    Location
    Jakarta
    Posts
    86
    Rep Power
    6

    Default

    Quote Originally Posted by eombah View Post
    Hi,

    I have to relocate my zimbra 6.06.1 server temporarily from office to home.
    I changed the server name using zmsetservername from mail02.eom.nl to mail02.thuis.nl:
    Code:
    zimbra@mail02:~$ ./libexec/zmsetservername -n mail02.thuis.nl
    Getting local config zimbra_home=/opt/zimbra
    Getting local config zimbra_server_hostname=mail02.eom.nl
    Getting local config ldap_is_master=true
    Getting local config zimbra_ldap_userdn=uid=zimbra,cn=admins,cn=zimbra
    Getting local config zimbra_ldap_password=jkiR0YeC2k
    Getting local config ldap_master_url=ldap://mail02.eom.nl:389
    Getting local config ldap_starttls_supported=1
    Getting global config zimbraLogHostname=ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException mail02.eom.nl:389)
    
    Renaming mail02.eom.nl to mail02.thuis.nl
    Shutting down zimbra...done.
    Setting local config ldap_master_url=ldap://mail02.thuis.nl:389
    Getting local config ldap_url=ldap://mail02.eom.nl:389
    Setting local config ldap_url=ldap://mail02.thuis.nl:389
    Getting local config ldap_host=mail02.eom.nl
    Setting local config ldap_host=mail02.thuis.nl
    Getting local config av_notify_user=admin@mail02.eom.nl
    Setting local config av_notify_user=admin@mail02.thuis.nl
    Getting local config av_notify_domain=mail02.eom.nl
    Setting local config av_notify_domain=mail02.thuis.nl
    Getting local config snmp_trap_host=mail02.eom.nl
    Setting local config snmp_trap_host=mail02.thuis.nl
    Getting local config smtp_source=admin@mail02.eom.nl
    Setting local config smtp_source=admin@mail02.thuis.nl
    Getting local config smtp_destination=admin@mail02.eom.nl
    Setting local config smtp_destination=admin@mail02.thuis.nl
    Setting local config zimbra_server_hostname=mail02.thuis.nl
    Starting ldap...done.
    Now when I start zimbra, I get the following message:

    Code:
      Unable to determine enabled services from ldap.
      Enabled services read from cache. Service list may be inaccurate.
    /var/log/zimbra.log says:

    Code:
    Jun 12 19:19:16 mail02 zimbramon[20963]: 20963:info: zmmtaconfig: Skipping Configuration for server mail02.thuis.nl update. 
    Jun 12 19:19:16 mail02 zimbramon[20963]: 20963:info: zmmtaconfig: gs:mail02.thuis.nl ERROR: account.NO_SUCH_SERVER (no such server: mail02.thuis.nl)  
    Jun 12 19:19:16 mail02 zimbramon[20963]: 20963:info: zmmtaconfig: Sleeping...Key lookup failed.
    I tried all things in http://www.zimbra.com/forums/users/1...ices-ldap.html but it's still not ok.

    Please advice.

    -Bart
    Did you have a valid hostname dan dns record?
    Maybe you need to update SSL certificate...

  3. #3
    eombah is offline Loyal Member
    Join Date
    Nov 2006
    Location
    Netherlands
    Posts
    90
    Rep Power
    8

    Default

    DNS and hosts look ok:

    DNS:
    Code:
    root@mail02:~# host `hostname`
    mail02.thuis.nl has address 192.168.1.16
    root@mail02:~#
    /etc/hosts:
    Code:
    root@mail02:~# more /etc/hosts
    127.0.0.1	localhost.localdomain localhost
    # 127.0.1.1	EOM-desktop
    # 10.0.0.64	mail02.eom.nl mail02
    192.168.1.16	mail02.thuis.nl mail02
    
    # The following lines are desirable for IPv6 capable hosts
    ::1     ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    root@mail02:~#
    Updating the SSL certificate following Administration Console and CLI Certificate Tools - Zimbra :: Wiki gives error:

    ** Saving server config key zimbraSSLPrivateKey...failed.

    Code:
    root@mail02:/opt/zimbra/bin# ./zmcertmgr createcrt -new -days 365
    Validation days: 365
    ** Creating /opt/zimbra/conf/zmssl.cnf...done
    ** Backup /opt/zimbra/ssl/zimbra to /opt/zimbra/ssl/zimbra.20100612215913 
    ** 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.20100612215913 
    ** 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@mail02:/opt/zimbra/bin#

  4. #4
    eombah is offline Loyal Member
    Join Date
    Nov 2006
    Location
    Netherlands
    Posts
    90
    Rep Power
    8

    Default

    /opt/zimbra/log/mailbox.log says:

    Code:
    2010-06-12 22:31:06,646 FATAL [main] [] system - Could not find an LDAP entry for server 'mail02.thuis.nl'

  5. #5
    eombah is offline Loyal Member
    Join Date
    Nov 2006
    Location
    Netherlands
    Posts
    90
    Rep Power
    8

    Default

    hmm, I reverted to the backup with the old server name and reconfigured network settings, all is running now, with the old server name.

    Remains that renaming the server doesn't work, at least not at my site.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 48
    Last Post: 09-18-2012, 08:49 AM
  2. Unable to determine enabled services from ldap.
    By matkordell in forum Administrators
    Replies: 1
    Last Post: 02-16-2010, 04:56 AM
  3. [SOLVED] install zcs 6 beta1 / centos 5.3 - LDAP FAIL
    By powrrrplay in forum Installation
    Replies: 7
    Last Post: 04-24-2009, 09:15 AM
  4. 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
  •