강좌
클라우드/리눅스에 관한 강좌입니다.
리눅스 분류

데몬 스크립트 파일 : /etc/rc.d/init.d/ldap

작성자 정보

  • 구돌 작성
  • 작성일

컨텐츠 정보

본문

데몬 스크립트 파일 : /etc/rc.d/init.d/ldap

 

 디렉토리 액세스 프로토콜 데몬인 LDAP 데몬(slapd slurpd데몬)을 시작시키거나 종료시키는 스크립트입니다. 

 

 

 

 

사용옵션 : start|stop|restart|status|condrestart

 

프로세스명   :  slapd

설정파일     :  /etc/openldap/slapd.conf

PID파일     :  /var/run/slapd.pid

 

관련디렉토리 : /etc/openldap/

 

스크립트 사용예

[root@command init.d]# /etc/rc.d/init.d/ldap stop

Stopping slapd: [  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/ldap start

Starting slapd: [  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/ldap restart

Stopping slapd: [  OK  ]

Starting slapd: [  OK  ]

[root@command init.d]#

[root@command init.d]# /etc/rc.d/init.d/ldap status

slapd (pid 2280) is running...

[root@command init.d]#

[root@command init.d]# ps -ef | grep ldap

ldap      2332     1  0 17:56 ?        00:00:00 [slapd]

root      2338  1679  0 17:56 pts/0    00:00:00 grep ldap

[root@command init.d]#

 

 

 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,017 명
  • 현재 강좌수 :  35,690 개
  • 현재 접속자 :  216 명