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

Thread: [SOLVED] ERROR - failed to start slapd

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

    Default

    What does zmlocalconfig return?

  2. #12
    Join Date
    Oct 2006
    Posts
    10
    Rep Power
    9

    Default Wow do I feel stupid

    Wow do I feel stupid. Turns out I kept saying yes to a bad config when running the setup command. OPPS..... Thanks for help all

  3. #13
    Join Date
    Oct 2007
    Posts
    3
    Rep Power
    8

    Default Same Issue !

    Can someone help with this issue please:



    Host mail.server.com
    Starting ldap...Done.
    FAILED
    Failed to start slapd. Attempting debug start to determine error.
    daemon: bind(7) failed errno=99 (Cannot assign requested address)
    slap_open_listener: failed on ldap://mail.server.com:389


    This is my config file:

    av_notify_user = admin@mail.server.com
    calendar_entourage_compatible_timezones = true
    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_master = false
    ldap_connect_pool_maxsize = 50
    ldap_connect_pool_prefsize = 0
    ldap_connect_pool_timeout = 120000
    ldap_connect_timeout = 30000
    ldap_host = mail.server.com
    ldap_is_master = true
    ldap_log_level = 32768
    ldap_master_url = ldap://mail.server.com:389
    ldap_port = 389
    ldap_root_password = *
    ldap_url = ldap://mail.server.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_logger_root_password = *
    mysql_memory_percent = 30
    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 = *
    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/newaliases
    postfix_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_dbfirst_term_percentage_cutoff = 0.8
    search_disable_database_hints = false
    smtp_destination = admin@mail.server.com
    smtp_notify = yes
    smtp_source = admin@mail.server.com
    snmp_notify = yes
    snmp_trap_host = mail.server.com
    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 = 40
    tomcat_java_home = ${zimbra_java_home}
    tomcat_java_options = -client -XX:NewRatio=2 -Djava.awt.headless=true
    tomcat_keystore = ${tomcat_directory}/conf/keystore
    tomcat_keystore_password = *
    tomcat_pidfile = ${zimbra_log_directory}/tomcat.pid
    tomcat_truststore_password = *
    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 = 500
    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 = *
    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_mailbox_active_cache = 500
    zimbra_mailbox_groups = 100
    zimbra_mailbox_inactive_cache = 30
    zimbra_mailbox_purgeable = true
    zimbra_mtareport_max_recipients = 50
    zimbra_mtareport_max_senders = 50
    zimbra_mysql_connector_maxActive = 10
    zimbra_mysql_password = *
    zimbra_mysql_user = zimbra
    zimbra_server_hostname = mail.server.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 = 500
    zimbra_user = zimbra
    zimbra_zmprov_default_soap_server = localhost
    zimbra_zmprov_default_to_ldap = false
    zimlet_directory = ${tomcat_directory}/webapps/service/zimlet
    zmstat_interval = 30
    zmstat_log_directory = ${zimbra_home}/zmstat
    You have new mail in /var/spool/mail/zimbra

  4. #14
    Join Date
    Oct 2007
    Posts
    3
    Rep Power
    8

    Default

    Problem was found to be on the hosts file.

    hostname ahd the incorrect ip.

    /etc/hosts

    127.0.0.1 localhost.localdomain localhost
    192.168.0.165 mail.server.com mail

  5. #15
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    99's: post your hostsfile & check to see that you don't already have some other ldap running

  6. #16
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    lol-marking this thread as solved

  7. #17
    Join Date
    Jun 2013
    Posts
    2
    Rep Power
    2

    Default

    Thanks for the post, helped me solve the same issue instantly

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. Zimbra .pids / service monitoring
    By bin2hex in forum Administrators
    Replies: 24
    Last Post: 04-03-2010, 10:12 PM
  3. After reboot mailbox and tomcat don't start
    By gon in forum Administrators
    Replies: 1
    Last Post: 11-02-2007, 12:50 PM
  4. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM
  5. No listener on port 7071
    By earthling in forum Installation
    Replies: 3
    Last Post: 11-14-2005, 08:16 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
  •