Breaking News
Loading...
Sunday, July 7, 2013

How to Verify the LDAP or slapd Process in Zimbra

12:37 AM
Zimbra LDAP service running on OpenLDAP software. It is the directory service and identified when the Zimbra software is installed together with it’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. 1. How to verify ldap status in zimbra. Run as the zimbra user :
[zimbra@centos64 ~]$ ldap status
slapd running pid: 1351
2. How to verify that the slapd process is running or not :
ps auxww | grep zimbra | grep slapd
Example :
[zimbra@centos64 ~]$ ps auxww | grep zimbra | grep slapd
zimbra    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
zimbra   42865  0.0  0.0   6376   724 pts/0    S+   18:01   0:00 grep slapd
3. To detect connection failure on default ldap port, 389, run telnet command :
Result if run from zimbra server itself :
[zimbra@centos64 ~]$ telnet centos64.ehowstuff.local 389
Trying 192.168.2.62...
Connected to centos64.ehowstuff.local.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
4. How to Stop and Start ldap in zimbra. Run as the zimbra user :
Start ldap :
[zimbra@centos64 ~]$ ldap stop
Killing slapd with pid 1351 done.
Stop ldap :
[zimbra@centos64 ~]$ ldap start
Started slapd: pid 47807
5. Verify ldap status from zmcontrol command :
[zimbra@centos64 ~]$ zmcontrol status
Host centos64.ehowstuff.local
        antispam                Running
        antivirus               Running
        ldap                    Running
        logger                  Running
        mailbox                 Running
        memcached               Running
        mta                     Running
        opendkim                Running
        proxy                   Running
        snmp                    Running
        spell                   Running
        stats                   Running
        zmconfigd               Running

5 comments:

  1. Hurrah, that's what I was exploring for, what a material!
    present here at this webpage, thanks admin of this
    web page.

    Also visit my website; saharanpur furniture

    ReplyDelete
  2. I almost never leave comments, however i did some searching and wound up here "How to Verify the LDAP or slapd Process in Zimbra".

    And I do have a couple of questions for you if it's allright.

    Is it simply me or does it give the impression like some of these comments appear like
    they are left by brain dead folks? :-P And, if you are posting
    on additional online social sites, I would like to follow everything new you have to post.
    Would you list of the complete urls of all your community sites
    like your Facebook page, twitter feed, or linkedin profile?


    My web blog; disposable email

    ReplyDelete
  3. You need to take part in a contest for one of the greatest websites on the net.
    I most certainly will highly recommend this web site!

    My page - buy used iphone 5s

    ReplyDelete
  4. December horoscope tirage gratuite

    my web page :: voyance par telephone

    ReplyDelete
  5. Tatouage tribal signe astrologique horoscope femme belier

    My site: voyance par telephone

    ReplyDelete

 
Toggle Footer