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

Thread: problem with ldap installation

  1. #1
    Join Date
    Apr 2006
    Posts
    4
    Rep Power
    9

    Default problem with ldap installation

    installing on debian sarge and after configured from main menu got error:
    Initializing ldap...FAILED (512)
    ERROR
    Configuration failed
    Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
    complete the configurationt


    then logged in by zimbra and:
    zimbra@test:~/bin$ ./ldap start
    Error: /opt/zimbra/conf/slapd.conf.in does not exist
    ]ndb_recover: Invalid log file: log.0000000001: No such file or directory
    db_recover: PANIC: No such file or directory
    db_recover: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
    db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database recovery
    ERROR - failed to start slapd



    what to do?

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

    Default

    Quote Originally Posted by nemo12
    what to do?
    Is your firewal disabled? Hosts file set-up correctly? DNS set-up correctly? This is one of the most common problems on the forum, have you done a search or looked at the wiki?
    Last edited by phoenix; 04-06-2006 at 08:24 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Apr 2006
    Posts
    4
    Rep Power
    9

    Default

    I'll check.


    but isn't it possible that ldap runs in localhost - isn't it unsecure if it runs in external ip and all who wants could hack it?

  4. #4
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    I had that exact problem one time with a yum update.

    Were you doing anything? How did you notice that LDAP wasy stopped?

    New installation? Repair Installation?

    If this is a new install or repair, I'd be interested in seeing the install log.

  5. #5
    Join Date
    Apr 2006
    Posts
    4
    Rep Power
    9

    Default

    It was new installation.

    another error too: I get it during install

    COMMAND: zmlocalconfig -f -e zimbra_user='zimbra'
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
    COMMAND: zmlocalconfig -f -e zimlet_directory='${tomcat_directory}/webapps/service/zimlet'
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed

    and install log ends with these lines.


    and zmsetup.log

    ; export zimbra_spam_report_queue_size='100'; export zimbra_store_directory='
    /opt/zimbra/store'; export zimbra_store_sweeper_max_age='480'; export zimbra_tmp_directory='/tmp/zimbra'; export zimbra_uid='1000'; export zi
    mbra_user='zimbra'; export zimlet_directory='/opt/zimbra/tomcat/webapps/service/zimlet';'
    Error: executing: /opt/zimbra/bin/zmlocalconfig -q -m export
    -su: -c: line 1: syntax error near unexpected token `('
    -su: -c: line 1: `/opt/zimbra/libexec/zmldapinit Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma fa
    iled'


    end too like this.

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

    Default

    Nothing will work until LDAP is fixed during the install.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  8. #8
    Join Date
    Mar 2007
    Posts
    4
    Rep Power
    8

    Default Ldap installation error

    I have just started a zimbra installation on a Fedora core 5 using zcs-4.5.0_GA_612.FC4.tgz
    and got the following error.

    Initializing ldap.../opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.5: cannot open shared object file: No such file or directory
    /opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.5: cannot open shared object file: No such file or directory
    /opt/zimbra/openldap-2.3.21/libexec/slapd: error while loading shared libraries: libssl.so.5: cannot open shared object file: No such file or directory
    /opt/zimbra/openldap-2.3.21/libexec/slapd: error while loading shared libraries: libssl.so.5: cannot open shared object file: No such file or directory
    ERROR - failed to start slapd

    FAILED (1)


    ERROR



    Configuration failed

    Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
    complete the configuration.

    Errors have been logged to /tmp/zmsetup.log.3305

    I have gone through the forum and try the following commands.
    when i tried to run /opt/zimbra/libexec/zmldapinit (as the zimbra user).
    got this error:
    /opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.5: cannot open shared object file: No such file or directory
    /opt/zimbra/openldap/sbin/slappasswd: error while loading shared libraries: libssl.so.5: cannot open shared object file: No such file or directory
    /opt/zimbra/libexec/zmldapinit: line 60: /opt/zimbra/conf/slapd.conf.in: Permission denied
    /opt/zimbra/openldap-2.3.21/libexec/slapd: error while loading shared libraries: libssl.so.5: cannot open shared object file: No such file or directory
    /opt/zimbra/openldap-2.3.21/libexec/slapd: error while loading shared libraries: libssl.so.5: cannot open shared object file: No such file or directorysh: bin/ldap: Permission denied

    ERROR - failed to start slapd
    Yet Ldap refuses to start.
    When i tried to start it manually using sh -x bin/ldap start i got this error: sh: bin/ldap: Permission denied
    My ldap host is resolvable by DNS but i cannot telnet to ldap host at port 389 and firewall and SElinux is disabled
    Any other idea on what to do.

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

    Default

    It would help if you'd started a new thread instead of tagging it to a year old thread. Anyway, try installing the correct version of Zimbra on the operating system, if you still get the message about a missing library the search the forums - it's been covered before.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    Join Date
    Mar 2007
    Posts
    4
    Rep Power
    8

    Default

    I also tried the following command zmlocalconfig -s and got
    av_notify_user = admin@inszimbra.com
    calendar_outlook_compatible_allday_events = true
    data_source_trust_self_signed_certs = false
    debug_mailboxindex_use_new_locking = true
    ldap_cache_account_maxage = 15
    ldap_cache_account_maxsize = 5000
    ldap_cache_cos_maxage = 15
    ldap_cache_cos_maxsize = 100
    ldap_cache_domain_maxage = 15
    ldap_cache_domain_maxsize = 100
    ldap_cache_server_maxage = 15
    ldap_cache_server_maxsize = 100
    ldap_cache_timezone_maxsize = 100
    ldap_cache_zimlet_maxage = 15
    ldap_cache_zimlet_maxsize = 100
    ldap_connect_pool_debug = false
    ldap_connect_pool_initsize = 1
    ldap_connect_pool_maxsize = 50
    ldap_connect_pool_prefsize = 0
    ldap_connect_pool_timeout = 120000
    ldap_connect_timeout = 30000
    ldap_host = inszimbra.com
    ldap_is_master = true
    ldap_log_level = 0
    ldap_master_url = ldap://inszimbra.com:389
    ldap_port = 389
    ldap_root_password = cuDC7H_W_6
    ldap_url = ldap://zimbra.com:389
    localized_msgs_directory = ${zimbra_home}/conf/msgs
    logger_mysql_bind_address = localhost
    logger_mysql_data_directory = ${zimbra_home}/logger/db/data
    logger_mysql_directory = ${zimbra_home}/logger/mysql
    logger_mysql_mycnf = ${zimbra_home}/conf/my.logger.cnf
    logger_mysql_pidfile = ${zimbra_home}/logger/db/mysql.pid
    logger_mysql_port = 7307
    logger_mysql_socket = ${zimbra_home}/logger/db/mysql.sock
    mysql_bind_address = localhost
    mysql_data_directory = ${zimbra_db_directory}/data
    mysql_directory = ${zimbra_home}/mysql
    mysql_innodb_log_buffer_size = 8388608
    mysql_innodb_log_file_size = 104857600
    mysql_memory_percent = 40
    mysql_mycnf = ${zimbra_home}/conf/my.cnf
    mysql_pidfile = ${zimbra_db_directory}/mysql.pid
    mysql_port = 7306
    mysql_read_buffer_size = 1048576
    mysql_root_password = zimbra
    mysql_socket = ${zimbra_db_directory}/mysql.sock
    mysql_sort_buffer_size = 1048576
    mysql_table_cache = 500
    nio_imap_enable = false
    nio_imap_log_buffers = false
    nio_imap_write_queue_max_size = 10240000
    nio_imap_write_queue_max_size_unauth = 20480
    nio_write_buffer_compaction_percent = 50
    postfix_alias_maps = hash:/etc/aliases
    postfix_broken_sasl_auth_clients = yes
    postfix_command_directory = /opt/zimbra/postfix-${postfix_version}/sbin
    postfix_daemon_directory = /opt/zimbra/postfix-${postfix_version}/libexec
    postfix_header_checks = pcre:/opt/zimbra/conf/postfix_header_checks
    postfix_mailq_path = /opt/zimbra/postfix-${postfix_version}/sbin/mailq
    postfix_manpage_directory = /opt/zimbra/postfix-${postfix_version}/man
    postfix_newaliases_path = /opt/zimbra/postfix-${postfix_version}/sbin/newaliasespostfix_queue_directory = /opt/zimbra/postfix-${postfix_version}/spool
    postfix_sender_canonical_maps = ldap:/opt/zimbra/conf/ldap-scm.cf
    postfix_sendmail_path = /opt/zimbra/postfix-${postfix_version}/sbin/sendmail
    postfix_smtpd_client_restrictions = reject_unauth_pipelining
    postfix_smtpd_data_restrictions = reject_unauth_pipelining
    postfix_smtpd_helo_required = yes
    postfix_smtpd_tls_cert_file = ${zimbra_home}/conf/smtpd.crt
    postfix_smtpd_tls_key_file = ${zimbra_home}/conf/smtpd.key
    postfix_smtpd_tls_loglevel = 1
    postfix_transport_maps = ldap:/opt/zimbra/conf/ldap-transport.cf
    postfix_version = 2.2.9
    postfix_virtual_alias_domains = ldap:/opt/zimbra/conf/ldap-vad.cf
    postfix_virtual_alias_maps = ldap:/opt/zimbra/conf/ldap-vam.cf
    postfix_virtual_mailbox_domains = ldap:/opt/zimbra/conf/ldap-vmd.cf
    postfix_virtual_mailbox_maps = ldap:/opt/zimbra/conf/ldap-vmm.cf
    postfix_virtual_transport = error
    search_disable_database_hints = false
    ssl_allow_untrusted_certs = TRUE
    stats_img_folder = ${zimbra_home}/logger/db/work
    timezone_file = ${zimbra_home}/conf/timezones.ics
    tomcat_directory = ${zimbra_home}/tomcat
    tomcat_java_heap_memory_percent = 30
    tomcat_java_home = ${zimbra_java_home}
    tomcat_java_options = -client -XX:NewRatio=2
    tomcat_keystore = ${tomcat_directory}/conf/keystore
    tomcat_pidfile = ${zimbra_log_directory}/tomcat.pid
    wiki_enabled = false
    wiki_user = wiki
    zimbra_admin_service_port = 7071
    zimbra_attrs_directory = ${zimbra_home}/conf/attrs
    zimbra_auth_always_send_refer = false
    zimbra_class_mboxmanager = com.zimbra.cs.mailbox.MailboxManager
    zimbra_class_provisioning = com.zimbra.cs.account.ldap.LdapProvisioning
    zimbra_db_directory = ${zimbra_home}/db
    zimbra_extension_common_directory = ${zimbra_home}/lib/ext-common
    zimbra_extension_directory = ${zimbra_home}/lib/ext
    zimbra_gid = 503
    zimbra_home = /opt/zimbra
    zimbra_index_directory = ${zimbra_home}/index
    zimbra_index_idle_flush_time = 600
    zimbra_index_lru_size = 100
    zimbra_index_max_uncommitted_operations = 200
    zimbra_java_home = /opt/zimbra/java
    zimbra_ldap_password = cuDC7H_W_6
    zimbra_ldap_user = zimbra
    zimbra_ldap_userdn = uid=zimbra,cn=admins,cn=zimbra
    zimbra_log4j_properties = ${zimbra_home}/conf/log4j.properties
    zimbra_log_directory = ${zimbra_home}/log
    zimbra_logger_mysql_password = zimbra
    zimbra_mailbox_groups = 100
    zimbra_mtareport_max_recipients = 50
    zimbra_mtareport_max_senders = 50
    zimbra_mysql_password = zimbra
    zimbra_mysql_user = zimbra
    zimbra_server_hostname = inszimbra.com
    zimbra_spam_report_queue_size = 100
    zimbra_store_directory = ${zimbra_home}/store
    zimbra_store_sweeper_max_age = 480
    zimbra_throttle_op_concurrency = 1000,1000,1000,1000,1000
    zimbra_tmp_directory = /tmp/zimbra
    zimbra_uid = 503
    zimbra_user = zimbra
    zimbra_zmprov_default_soap_server = localhost
    zimbra_zmprov_default_to_ldap = false
    zimlet_directory = ${tomcat_directory}/webapps/service/zimlet
    Any idea to solve the problem.

Similar Threads

  1. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 07:45 AM
  2. External LDAP Problem
    By facerw in forum Installation
    Replies: 7
    Last Post: 05-08-2007, 05:29 AM
  3. Installation Problem - Possibly LDAP
    By geroshea in forum Installation
    Replies: 5
    Last Post: 03-16-2007, 05:47 AM
  4. Another installation ldap problem
    By genesis in forum Installation
    Replies: 10
    Last Post: 12-24-2005, 07:02 AM
  5. Installation problem
    By sywong70 in forum Installation
    Replies: 5
    Last Post: 11-07-2005, 09:01 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
  •