Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: installation error during ldap setup

  1. #1
    ljramos is offline Active Member
    Join Date
    Aug 2007
    Location
    Delaware USA
    Posts
    39
    Rep Power
    7

    Default installation error during ldap setup

    The first error that I see on error log is

    Setting local config zimbra_java_home to /opt/zimbra/java
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_java_home='/opt/zimbra/java'
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed


    then further down is
    -----
    checking isEnabled zimbra-store
    zimbra-store is enabled
    Global config attribute retrieved from ldap: zimbraSpamIsSpamAccount=Error: executing: /opt/zimbra/bin/zmlocalconfig -q -m export
    Global config attribute retrieved from ldap: zimbraSpamIsNotSpamAccount=Error: executing: /opt/zimbra/bin/zmlocalconfig -q -m export
    Global config attribute retrieved from ldap: zimbraNotebookAccount=Error: executing: /opt/zimbra/bin/zmlocalconfig -q -m export
    checking isEnabled zimbra-mta
    ----

    This on FC5 with using this zcs-4.5.6_GA_1044.FC5.tgz or this
    zcs-NETWORK-4.5.6_GA_1044.RHEL4.tgz

    Can someone has an idea

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

    Default

    As you've tried to install two different versions of Zimbra, which operating system are you running? How much RAM is installed on this system? Are there any other errors in the log?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    ljramos is offline Active Member
    Join Date
    Aug 2007
    Location
    Delaware USA
    Posts
    39
    Rep Power
    7

    Default

    Bill
    This is most of the log
    ------
    Setting local config zimbra_java_home to /opt/zimbra/java
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_java_home='/opt/zimbra/java'
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
    checking isEnabled zimbra-store
    zimbra-store is enabled
    checking isEnabled zimbra-ldap
    zimbra-ldap is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled
    checking isEnabled zimbra-mta
    zimbra-mta is enabled
    MX: xxxx.com (x.x.x.2)

    Interface: 1
    Interface: 2
    Interface: 127.0.0.1
    Interface: 127.0.0.2
    Done
    checking isEnabled zimbra-ldap
    zimbra-ldap is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled
    checking isEnabled zimbra-mta
    zimbra-mta is enabled
    checking isEnabled zimbra-mta
    zimbra-mta is enabled
    checking isEnabled zimbra-spell
    zimbra-spell is enabled
    Checking for port conflicts
    checking isEnabled zimbra-store
    zimbra-store is enabled
    Port conflict detected: 80 (zimbra-store)
    checking isEnabled zimbra-mta
    zimbra-mta is enabled
    Port conflict detected: 25 (zimbra-mta)
    checking isEnabled zimbra-store
    zimbra-store is enabled
    Port conflict detected: 443 (zimbra-store)
    checking isEnabled zimbra-ldap
    zimbra-ldap is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled
    checking isEnabled zimbra-logger
    zimbra-logger is enabled
    checking isEnabled zimbra-mta
    zimbra-mta is enabled
    checking isEnabled zimbra-ldap
    zimbra-ldap is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled
    Global config attribute retrieved from ldap: zimbraSpamIsSpamAccount=Error: executing: /opt/zimbra/bin/zmlocalconfig -q -m export
    Global config attribute retrieved from ldap: zimbraSpamIsNotSpamAccount=Error: executing: /opt/zimbra/bin/zmlocalconfig -q -m export
    Global config attribute retrieved from ldap: zimbraNotebookAccount=Error: executing: /opt/zimbra/bin/zmlocalconfig -q -m export
    checking isEnabled zimbra-mta
    zimbra-mta is enabled
    checking isEnabled zimbra-snmp
    zimbra-snmp is enabled
    checking isEnabled zimbra-spell
    zimbra-spell is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled
    checking isEnabled zimbra-ldap
    zimbra-ldap is enabled
    checking isEnabled zimbra-store
    zimbra-store is enabled
    checking isEnabled zimbra-mta
    zimbra-mta is enabled
    checking isEnabled zimbra-snmp
    zimbra-snmp is enabled
    checking isEnabled zimbra-spell
    zimbra-spell is enabled
    Saving config in /opt/zimbra/config.11406...
    Done
    Operations logged to /tmp/zmsetup.log.11406
    Setting local config values...
    Setting local config zimbra_server_hostname to xxxx.com
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_server_hostname='xxxx.com'
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
    Setting local config ldap_master_url to ldap://xxxx.com:389
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_master_url='ldap://xxxx.com:389'
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
    Setting local config ldap_url to ldap://xxxx.com:389
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_url='ldap://xxxx.com:389'
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
    Setting local config ldap_port to 389
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_port='389'
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
    Setting local config ldap_host to cntit.com
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_host='cntit.com'
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
    Setting local config zimbra_uid to 510
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_uid='510'
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
    Setting local config zimbra_gid to 510
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_gid='510'
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
    Setting local config zimbra_user to zimbra
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_user='zimbra'
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
    Setting local config av_notify_user to admin@xxxx.com
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e av_notify_user='admin@xxx.com'
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
    Setting local config ssl_allow_untrusted_certs to TRUE
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ssl_allow_untrusted_certs='TRUE'
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
    Setting local config mysql_memory_percent to 30
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e mysql_memory_percent='30'
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
    Setting local config tomcat_java_heap_memory_percent to 40
    *** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e tomcat_java_heap_memory_percent='40'
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
    Done
    Setting up CA...
    *** Running as zimbra user: cd /opt/zimbra; zmcreateca
    ** Creating CA private key

    Generating a 1024 bit RSA private key
    .........++++++
    ............++++++
    unable to write 'random state'
    writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'
    -----
    ** Creating CA cert

    Signature ok
    subject=/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite
    Getting Private key
    unable to write 'random state'
    Done
    checking isEnabled zimbra-ldap
    zimbra-ldap is enabled
    Creating SSL certificate...
    *** Running as zimbra user: cd /opt/zimbra; zmcreatecert
    /opt/zimbra/bin/zmshutil: eval: line 49: syntax error near unexpected token `('
    /opt/zimbra/bin/zmshutil: eval: line 49: `Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed export av_notify_user='admin@xxxx.com'; export calendar_outlook_compatible_allday_events='true'; export data_source_trust_self_signed_certs='false'; export debug_mailboxindex_use_new_locking='true'; export ldap_cache_account_maxage='15'; export ldap_cache_account_maxsize='5000'; export ldap_cache_cos_maxage='15'; export ldap_cache_cos_maxsize='100'; export ldap_cache_domain_maxage='15'; export ldap_cache_domain_maxsize='100'; export ldap_cache_server_maxage='15'; export ldap_cache_server_maxsize='100'; export ldap_cache_timezone_maxsize='100'; export ldap_cache_zimlet_maxage='15'; export ldap_cache_zimlet_maxsize='100'; export ldap_connect_pool_debug='false'; export ldap_connect_pool_initsize='1'; export ldap_connect_pool_maxsize='50'; export ldap_connect_pool_prefsize='0'; export ldap_connect_pool_timeout='120000'; export ldap_connect_timeout='30000'; export ldap_host='cntit.com'; export ldap_is_master='false'; export ldap_log_level='32768'; export ldap_master_url='ldap://xxx.com:389'; export ldap_port='389'; export ldap_root_password='zimbra'; export ldap_url='ldap://xxx.com:389'; export localized_msgs_directory='/opt/zimbra/conf/msgs'; export logger_mysql_bind_address='localhost'; export logger_mysql_data_directory='/opt/zimbra/logger/db/data'; export logger_mysql_directory='/opt/zimbra/logger/mysql'; export logger_mysql_mycnf='/opt/zimbra/conf/my.logger.cnf'; export logger_mysql_pidfile='/opt/zimbra/logger/db/mysql.pid'; export logger_mysql_port='7307'; export logger_mysql_socket='/opt/zimbra/logger/db/mysql.sock'; export mysql_bind_address='localhost'; export mysql_data_directory='/opt/zimbra/db/data'; export mysql_directory='/opt/zimbra/mysql'; export mysql_innodb_log_buffer_size='8388608'; export mysql_innodb_log_file_size='104857600'; export mysql_memory_percent='30'; export mysql_mycnf='/opt/zimbra/conf/my.cnf'; export mysql_pidfile='/opt/zimbra/db/mysql.pid'; export mysql_port='7306'; export mysql_read_buffer_size='1048576'; export mysql_root_password='zimbra'; export mysql_socket='/opt/zimbra/db/mysql.sock'; export mysql_sort_buffer_size='1048576'; export mysql_table_cache='500'; export nio_imap_enable='false'; export nio_imap_log_buffers='false'; export nio_imap_write_queue_max_size='10240000'; export nio_imap_write_queue_max_size_unauth='20480'; export nio_write_buffer_compaction_percent='50'; export postfix_alias_maps='hash:/etc/aliases'; export postfix_broken_sasl_auth_clients='yes'; export postfix_command_directory='/opt/zimbra/postfix-2.2.9/sbin'; export postfix_daemon_directory='/opt/zimbra/postfix-2.2.9/libexec'; export postfix_header_checks='pcre:/opt/zimbra/conf/postfix_header_checks'; export postfix_mailq_path='/opt/zimbra/postfix-2.2.9/sbin/mailq'; export postfix_manpage_directory='/opt/zimbra/postfix-2.2.9/man'; export postfix_newaliases_path='/opt/zimbra/postfix-2.2.9/sbin/newaliases'; export postfix_queue_directory='/opt/zimbra/postfix-2.2.9/spool'; export postfix_sender_canonical_maps='ldap:/opt/zimbra/conf/ldap-scm.cf'; export postfix_sendmail_path='/opt/zimbra/postfix-2.2.9/sbin/sendmail'; export postfix_smtpd_client_restrictions='reject_unauth_p ipelining'; export postfix_smtpd_data_restrictions='reject_unauth_pip elining'; export postfix_smtpd_helo_required='yes'; export postfix_smtpd_tls_cert_file='/opt/zimbra/conf/smtpd.crt'; export postfix_smtpd_tls_key_file='/opt/zimbra/conf/smtpd.key'; export postfix_smtpd_tls_loglevel='1'; export postfix_transport_maps='ldap:/opt/zimbra/conf/ldap-transport.cf'; export postfix_version='2.2.9'; export postfix_virtual_alias_domains='ldap:/opt/zimbra/conf/ldap-vad.cf'; export postfix_virtual_alias_maps='ldap:/opt/zimbra/conf/ldap-vam.cf'; export postfix_virtual_mailbox_domains='ldap:/opt/zimbra/conf/ldap-vmd.cf'; export postfix_virtual_mailbox_maps='ldap:/opt/zimbra/conf/ldap-vmm.cf'; export postfix_virtual_transport='error'; export search_dbfirst_term_percentage_cutoff='0.8'; export search_disable_database_hints='false'; export ssl_allow_untrusted_certs='TRUE'; export stats_img_folder='/opt/zimbra/logger/db/work'; export timezone_file='/opt/zimbra/conf/timezones.ics'; export tomcat_directory='/opt/zimbra/tomcat'; export tomcat_java_heap_memory_percent='40'; export tomcat_java_home='/opt/zimbra/java'; export tomcat_java_options='-client -XX:NewRatio=2 -Djava.awt.headless=true'; export tomcat_keystore='/opt/zimbra/tomcat/conf/keystore'; export tomcat_pidfile='/opt/zimbra/log/tomcat.pid'; export wiki_enabled='false'; export wiki_user='wiki'; export zimbra_admin_service_port='7071'; export zimbra_attrs_directory='/opt/zimbra/conf/attrs'; export zimbra_auth_always_send_refer='false'; export zimbra_class_mboxmanager='com.zimbra.cs.mailbox.Ma ilboxManager'; export zimbra_class_provisioning='com.zimbra.cs.account.l dap.LdapProvisioning'; export zimbra_db_directory='/opt/zimbra/db'; export zimbra_extension_common_directory='/opt/zimbra/lib/ext-common'; export zimbra_extension_directory='/opt/zimbra/lib/ext'; export zimbra_gid='510'; export zimbra_home='/opt/zimbra'; export zimbra_index_directory='/opt/zimbra/index'; export zimbra_index_idle_flush_time='600'; export zimbra_index_lru_size='100'; export zimbra_index_max_uncommitted_operations='200'; export zimbra_java_home='/opt/zimbra/java'; export zimbra_ldap_password='zimbra'; export zimbra_ldap_user='zimbra'; export zimbra_ldap_userdn='uid=zimbra,cn=admins,cn=zimbra '; export zimbra_log4j_properties='/opt/zimbra/conf/log4j.properties'; export zimbra_log_directory='/opt/zimbra/log'; export zimbra_logger_mysql_password='zimbra'; export zimbra_mailbox_active_cache='500'; export zimbra_mailbox_groups='100'; export zimbra_mailbox_inactive_cache='30'; export zimbra_mailbox_purgeable='true'; export zimbra_mtareport_max_recipients='50'; export zimbra_mtareport_max_senders='50'; export zimbra_mysql_password='zimbra'; export zimbra_mysql_user='zimbra'; export zimbra_server_hostname='cntit.com'; export zimbra_spam_report_queue_size='100'; export zimbra_store_directory='/opt/zimbra/store'; export zimbra_store_sweeper_max_age='480'; export zimbra_throttle_op_concurrency='1000,1000,1000,100 0,1000'; export zimbra_tmp_directory='/tmp/zimbra'; export zimbra_uid='510'; export zimbra_user='zimbra'; export zimbra_zmprov_default_soap_server='localhost'; export zimbra_zmprov_default_to_ldap='false'; export zimlet_directory='/opt/zimbra/tomcat/webapps/service/zimlet';'
    Error: executing: /opt/zimbra/bin/zmlocalconfig -q -m export
    Done
    checking isEnabled zimbra-ldap
    zimbra-ldap is enabled
    Initializing ldap...
    *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
    FAILED (1)


    ERROR
    ------>

    Thanks

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    You need a correct /etc/hosts file and correct DNS A & MX records pointing to your LAN IP - are they all set correctly?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    ljramos is offline Active Member
    Join Date
    Aug 2007
    Location
    Delaware USA
    Posts
    39
    Rep Power
    7

    Default

    Ok
    Now this i got this
    Initializing ldap.../opt/zimbra/bin/ldap: line 107: /usr/bin/sudo: Permission denied
    /opt/zimbra/bin/ldap: line 113: /usr/bin/sudo: Permission denied
    /opt/zimbra/bin/ldap: line 113: /usr/bin/sudo: Permission denied
    /opt/zimbra/bin/ldap: line 113: /usr/bin/sudo: Permission denied
    /opt/zimbra/bin/ldap: line 113: /usr/bin/sudo: Permission denied
    /opt/zimbra/bin/ldap: line 113: /usr/bin/sudo: Permission denied

    and sudoers file looks like

    zimbra ALL=NOPASSWD:/opt/zimbra/openldap/libexec/slapd
    zimbra ALL=NOPASSWD:/opt/zimbra/postfix-2.2.9/sbin/postfix, /opt/zimbra/postfix-2.2.9/sbin/postalias, /opt/zimbra/postfix-2.2.9/sbin/qshape.pl, /opt/zimbra/postfix-2.2.9/sbin/postconf,/opt/zimbra/postfix-2.2.9/sbin/postsuper
    zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmqstat
    zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmtomcatmgr
    zimbra ALL=NOPASSWD:/opt/zimbra/perdition/sbin/perdition

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Please answer these questions:
    Quote Originally Posted by phoenix View Post
    You need a correct /etc/hosts file and correct DNS A & MX records pointing to your LAN IP - are they all set correctly?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    ljramos is offline Active Member
    Join Date
    Aug 2007
    Location
    Delaware USA
    Posts
    39
    Rep Power
    7

    Default

    Yes I corrected the hosts file

  8. #8
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    I also asked about DNS records. Merely saying 'it's fixed' doesn't really show it's fixed. Do the following from your zimbra server:
    Code:
    host `hostname`  <-- backticks not single quotes
    dig yourdomain.com mx
    dig yourdomain.com any
    and post the results.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    ljramos is offline Active Member
    Join Date
    Aug 2007
    Location
    Delaware USA
    Posts
    39
    Rep Power
    7

    Default

    1>host `hostname`
    webmail.cntit.com is an alias for cntit.com.
    cntit.com has address 64.33.49.11
    cntit.com mail is handled by 10 cntit.com.
    2> dig
    ; <<>> DiG 9.3.2 <<>> cntit.com mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32192
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

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

    ;; ANSWER SECTION:
    cntit.com. 3556 IN MX 10 cntit.com.

    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Wed Aug 8 09:19:10 2007
    ;; MSG SIZE rcvd: 43

    3>
    ; <<>> DiG 9.3.2 <<>> cntit.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15217
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

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

    ;; ANSWER SECTION:
    cntit.com. 3528 IN NS ns5.secureserver.net.
    cntit.com. 3528 IN NS ns6.secureserver.net.

    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Wed Aug 8 09:19:38 2007
    ;; MSG SIZE rcvd: 79

  10. #10
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    If this is behind a router or firewall I would suggest you need a split DNS set-up as outlined in the wiki, in any case your DNS records are set-up incorrectly (that article should give you the correct details or search the forums). I also think your /etc/hosts file is not correct, post the details (and which operating system are you using?).
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 10:12 AM
  2. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  3. Installation Problem - Possibly LDAP
    By geroshea in forum Installation
    Replies: 5
    Last Post: 03-16-2007, 04:47 AM
  4. First Time New Installation ldap failure (512)
    By dlochart in forum Installation
    Replies: 2
    Last Post: 11-29-2006, 06:46 AM
  5. Replies: 4
    Last Post: 11-15-2006, 12:16 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
  •