Apache HTTP Server �汾2.2
apachectl
��Apache HTTP��������ǰ�˳����������ͼ�ǰ�������Ա����Apache httpd
��̨�ػ����̵Ĺ��ܡ�
apachectl
�ű������ֲ���ģʽ�����ȣ���Ϊ��httpd
��ǰ�˳����������б�Ҫ�Ļ���������Ȼ������httpd
�����������е������в�������Σ���ΪSysV��ʼ���ű������ܼ�һ�����ʵIJ������磺start
, restart
, stop
���������Ƿ���Ϊ�ʵ����źŷ���httpd
��
������Apache��װ�ڷDZ���·���У��㽫��Ҫ��apachectl
�ű�ʹ���е�·����ȷ��ָ��httpd
�����⣬������ָ���κα�Ҫ��httpd
�����в�����ϸ�ڿ��Բμ��ű��е�ע�⡣
apachectl
�ű����ִ�гɹ�����0 ������������䷵��ֵ>0 ������ϸ�ڿ��Բμ��ű��е�ע�⡣
�ڰ��ݴ��ݽ�ɫʱ��apachectl
���Խ��ܶ�httpd
���������������
apachectl [ httpd-argument ]
��SysV��ʼ��ģʽ�У�apachectl
ֻ���ܼ�һ�����ʵ�������£�
apachectl command
���н�˵����SysV��ʼ�����͵�ѡ�����������˵����httpd
�ֲ�ҳ��
start
httpd
��̨�ػ����̡�����Ѿ������������һ���������ȼ��� apachectl -k start
��stop
httpd
��̨�ػ����̡����ȼ��� apachectl -k stop
��restart
httpd
��̨�ػ����̡�����ػ�������δ���У����������������������ػ�����֮ǰ���������ʹ��configtest
�Զ���������ļ�����ȷ��Apache�������������ȼ��� apachectl -k restart
��fullstatus
mod_status
�ṩ��������״̬���档Ҫʹ��������ܣ���Ҫ���÷������ϵ�mod_status
ģ�飬����ϵͳ����һ�������ı������������lynx
���Ľű��е�STATUSURL
�����������ķ���״̬�����URL ��status
fullstatus
ѡ�����ʡ�������ڴ����������б�graceful
httpd
��̨�ػ����̡�����ػ�������δ�������������������ͱ����������IJ�֮ͬ�����ڣ������жϵ�ǰ�Ѿ������ӣ�Ҳ���������ر���־������ζ�ţ��������־�����ű�ʹ���������ڴ�����־֮ǰ�������һ��ʵʵ���ڵ��ӳ٣���ȷ���ϵ���־�ļ��ڱ�����ǰ�Ѿ��رա������������ػ�����֮ǰ���������ʹ��configtest
�Զ���������ļ�����ȷ��Apache�������������ȼ��� apachectl -k graceful
��graceful-stop
httpd
��̨�ػ����̡����ͱ�ֹͣ�IJ�֮ͬ�����ڣ������жϵ�ǰ�Ѿ������ӣ�Ҳ���������ر���־�����ȼ��� apachectl -k graceful-stop
��configtest
Syntax Ok
�������ض����������ϸ��Ϣ�����ȼ��� apachectl -t
������ѡ��������ڰ汾��ʹ�ã������Ѿ��������ˡ�
startssl
httpd
����Ӧ���༭�����ļ����������а�����SSL֧����ص�ָ�Ȼ��ʹ�� apachectl start
������������