slapd won't start...?

Ask questions about your setup or get help installing ZCS server (ZD section below).
szumbusch
Posts: 5
Joined: Fri Sep 12, 2014 10:28 pm

slapd won't start...?

Postby szumbusch » Thu Mar 08, 2007 9:06 am

Hi,
I've installed Zimbra on a SuSe 10.0 System.

hostfile set up.

split DNS set up.

no port conflicts
I always receive an ldap error while finalizing the config.
I tried zmfixperms, no effect.
Any hints?
Regards,
Sascha


phoenix
Ambassador
Ambassador
Posts: 26727
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

slapd won't start...?

Postby phoenix » Thu Mar 08, 2007 12:49 pm

Welcome to the forums.
You've likely got a dns problem, have a look in the wiki for troubleshooting LDAP startup failure. You should also search the forums for some debugging info on your DNS setup. Was there anything useful in the install logs about the problem?
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
szumbusch
Posts: 5
Joined: Fri Sep 12, 2014 10:28 pm

slapd won't start...?

Postby szumbusch » Fri Mar 09, 2007 1:41 am

Hi Bill.
Thx for taking care.
I looked into the wiki. When I did sh -x bin/ldap start, it started.

But zmcontrol status brings 'Cannot determine services - exiting'.
When I try to start tomcat, I receive: 'ERROR: problem reading config from ldap. Make sure ldap is running.'

ldap IS running.
DNS seems to work correct, as far as I checked with 'host, nslookup, etc..'
The install logging I haven't found, actually..
Sascha
szumbusch
Posts: 5
Joined: Fri Sep 12, 2014 10:28 pm

slapd won't start...?

Postby szumbusch » Fri Mar 09, 2007 4:39 am

Hi.
I thought, maybe i screwed something during my trials...

So I uninstalled the whole thing using 'install.sh -u' and reinstalled everything.

This is the outcome:
Setting up CA...Done

Creating SSL certificate...Done

Initializing ldap...sudo: /etc/sudoers is mode 0640, should be 0440

ERROR - failed to start slapd
FAILED (1)
ERROR
Output zmlocalconfig:
av_notify_user = admin@[correct full qualified domain name]

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 = [correct, full qualified domain name]

ldap_is_master = true

ldap_log_level = 0

ldap_master_url = ldap://:389

ldap_port = 389

ldap_root_password = *

ldap_url = ldap://[correct full qualified domain name]: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 = 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_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 = 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_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 = 1001

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 = false

zimbra_mtareport_max_recipients = 50

zimbra_mtareport_max_senders = 50

zimbra_mysql_password = *

zimbra_mysql_user = zimbra

zimbra_server_hostname = [correct full qualified domain name]

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 = 1002

zimbra_user = zimbra

zimbra_zmprov_default_soap_server = localhost

zimbra_zmprov_default_to_ldap = false

zimlet_directory = ${tomcat_directory}/webapps/service/zimlet
/var/log/messages:
Mar 9 11:21:07 mail sudo: zimbra : /etc/sudoers is mode 0640, should be 0440 ; TTY=pts/0 ; PWD=/opt/zimbra ; USER=root ; CO

MMAND=/opt/zimbra/openldap-2.3.21/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://[correct full qualified domain name]:389 -f /opt/z

imbra/conf/slapd.conf

Mar 9 11:21:09 mail sudo: zimbra : /etc/sudoers is mode 0640, should be 0440 ; TTY=pts/0 ; PWD=/opt/zimbra ; USER=root ; COMMAND=/opt/zimbra/openldap-2.3.21/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://[correct full qualified domain name]:389 -f /opt/zimbra/conf/slapd.conf -d 1
Sascha
phoenix
Ambassador
Ambassador
Posts: 26727
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

slapd won't start...?

Postby phoenix » Fri Mar 09, 2007 5:23 am

[quote user="szumbusch"]Mar 9 11:21:09 mail sudo: zimbra : /etc/sudoers is mode 0640, should be 0440 ; TTY=pts/0 ; PWD=/opt/zimbra ; USER=root ; COMMAND=/opt/zimbra/openldap-2.3.21/libexec/slapd -l LOCAL0 -4 -u zimbra -h ldap://[correct full qualified domain name]:389 -f /opt/zimbra/conf/slapd.conf -d 1[/QUOTE]Have you tried checking the permissions with
ls -l /etc/sudoers
There is also a known problem with sudoers, it's in bugzilla here.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
szumbusch
Posts: 5
Joined: Fri Sep 12, 2014 10:28 pm

slapd won't start...?

Postby szumbusch » Mon Mar 12, 2007 4:24 am

Hi!
Sorry for the delay, your answer came when I went home.

Then the weekend applied...:p
It seems to be the 'sudoers' problem. When I change to 0440 and run the setup script again, something changes it 'automagically' to 0640 again!
The information in Bugzilla and other topics like that didn't help really.

Or maybe I didn't understood them.
How can I avoid the problem?
Regards,
Sascha
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

slapd won't start...?

Postby marcmac » Mon Mar 12, 2007 8:16 am

what is the script get_plat_tag.sh (/opt/zimbra/libexec, maybe) returning?
If that doesn't return SuSE, this happens
szumbusch
Posts: 5
Joined: Fri Sep 12, 2014 10:28 pm

slapd won't start...?

Postby szumbusch » Mon Mar 12, 2007 9:45 am

It returns 'SuSE10', which is correct.
Sascha

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 9 guests