{"id":4734,"date":"2013-06-18T23:47:25","date_gmt":"2013-06-18T15:47:25","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=4734"},"modified":"2023-04-28T09:48:20","modified_gmt":"2023-04-28T09:48:20","slug":"how-to-verify-the-ldap-or-slapd-process-in-zimbra","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-verify-the-ldap-or-slapd-process-in-zimbra\/","title":{"rendered":"How to Verify the LDAP or slapd Process in Zimbra"},"content":{"rendered":"<p><img decoding=\"async\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/07\/zimbra-150x150.jpg\" alt=\"zimbra\" width=\"150\" height=\"150\" class=\"alignleft size-thumbnail wp-image-3529 lazyload\" data-srcset=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/07\/zimbra-150x150.jpg 150w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/07\/zimbra-100x100.jpg 100w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/07\/zimbra.jpg 225w\" data-sizes=\"(max-width: 150px) 100vw, 150px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 150px; --smush-placeholder-aspect-ratio: 150\/150;\" \/>Zimbra LDAP service running on OpenLDAP software. It is the directory service and identified when the Zimbra software is installed together with it&#8217;s own Zimbra schema. Zimbra LDAP service is used in Zimbra Collaboration Suite (ZCS) to store data for Zimbra Global configuration, user and authentication information, server, domain and class of service (COS) details. The following task will be very useful to zimbra system administrator in order to Verify the LDAP or slapd process in Zimbra. The command has been tested on ZCS 8.0.4 open-source version running on CentOS 6.4. I have documented these post as my own tutorial and also for my blog visitors reference.<\/p>\n<p>1. How to verify ldap status in zimbra. Run as the zimbra user :<\/p>\n<pre>\n[zimbra@centos64 ~]$ ldap status\nslapd running pid: 1351\n<\/pre>\n<p>2. How to verify that the slapd process is running or not :<\/p>\n<pre>\nps auxww | grep zimbra | grep slapd\n<\/pre>\n<p>Example :<\/p>\n<pre>\n[zimbra@centos64 ~]$ ps auxww | grep zimbra | grep slapd\nzimbra    1351  0.1  3.9 18840944 75268 ?      Ssl  16:44   0:08 \/opt\/zimbra\/openldap\/sbin\/slapd -l LOCAL0 -u zimbra -h ldap:\/\/centos64.ehowstuff.local:389 ldapi:\/\/\/ -F \/opt\/zimbra\/data\/ldap\/config\nzimbra   42865  0.0  0.0   6376   724 pts\/0    S+   18:01   0:00 grep slapd\n<\/pre>\n<p>3. To detect connection failure on default ldap port, 389, run telnet command :<\/p>\n<p>Result if run from zimbra server itself :<\/p>\n<pre>\n[zimbra@centos64 ~]$ telnet centos64.ehowstuff.local 389\nTrying 192.168.2.62...\nConnected to centos64.ehowstuff.local.\nEscape character is '^]'.\n^]\ntelnet> quit\nConnection closed.\n<\/pre>\n<p>4. How to Stop and Start ldap in zimbra. Run as the zimbra user :<br \/>\nStart ldap :<\/p>\n<pre>\n[zimbra@centos64 ~]$ ldap stop\nKilling slapd with pid 1351 done.\n<\/pre>\n<p>Stop ldap :<\/p>\n<pre>\n[zimbra@centos64 ~]$ ldap start\nStarted slapd: pid 47807\n<\/pre>\n<p>5. Verify ldap status from zmcontrol command :<\/p>\n<pre>\n[zimbra@centos64 ~]$ zmcontrol status\nHost centos64.ehowstuff.local\n        antispam                Running\n        antivirus               Running\n        ldap                    Running\n        logger                  Running\n        mailbox                 Running\n        memcached               Running\n        mta                     Running\n        opendkim                Running\n        proxy                   Running\n        snmp                    Running\n        spell                   Running\n        stats                   Running\n        zmconfigd               Running\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Zimbra LDAP service running on OpenLDAP software. It is the directory service and identified when the Zimbra software is installed together with it&#8217;s own Zimbra schema. Zimbra LDAP service is&#8230;<\/p>\n","protected":false},"author":6,"featured_media":5420,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[1160,1100],"tags":[1255,1533,1946,1951,1953],"class_list":["post-4734","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ldap-linux","category-zimbra","tag-centos-6-4","tag-ldap","tag-zimbra","tag-zimbra-collaboration-suite","tag-zimbra-mail-server"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/4734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=4734"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/4734\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/5420"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=4734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=4734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=4734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}