Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-07-2007, 09:46 PM
Active Member
 
Posts: 35
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
Reply With Quote
  #2 (permalink)  
Old 08-08-2007, 12:19 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
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
Reply With Quote
  #3 (permalink)  
Old 08-08-2007, 01:36 AM
Active Member
 
Posts: 35
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
Reply With Quote
  #4 (permalink)  
Old 08-08-2007, 02:13 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
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
Reply With Quote
  #5 (permalink)  
Old 08-08-2007, 02:45 AM
Active Member
 
Posts: 35
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
Reply With Quote
  #6 (permalink)  
Old 08-08-2007, 03:11 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
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
Reply With Quote
  #7 (permalink)  
Old 08-08-2007, 04:57 AM
Active Member
 
Posts: 35
Default

Yes I corrected the hosts file
Reply With Quote
  #8 (permalink)  
Old 08-08-2007, 06:23 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
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
Reply With Quote
  #9 (permalink)  
Old 08-08-2007, 07:19 AM
Active Member
 
Posts: 35
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
Reply With Quote
  #10 (permalink)  
Old 08-08-2007, 07:34 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.