home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Komunik / apache / apache_2.0.45-win32-x86-no_ssl.msi / Data.Cab / F232702_stopping.xml.ja < prev    next >
Extensible Markup Language  |  2003-01-19  |  11KB  |  228 lines

  1. <?xml version="1.0" encoding="iso-2022-jp"?>
  2. <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
  3. <?xml-stylesheet type="text/xsl" href="./style/manual.ja.xsl"?>
  4. <!-- English revision: 1.2.2.3 -->
  5. <manualpage>
  6. <relativepath href="."/>
  7.  
  8.   <title>$BDd;_$H:F5/F0(B</title>
  9.  
  10. <summary>
  11.     <p>$B$3$NJ8=q$G$O(B Unix $B$KN`;w$7$?%7%9%F%`$G$N(B
  12.     Apache $B$NDd;_$H:F5/F0$K$D$$$F07$C$F$$$^$9!#(BWindows $B$G(B Apache $B$r@)8f$9$k$?$a$N(B
  13.     $B>pJs$H$7$F!"(BWindows NT, 2000, XP $B$N(B
  14.     $B%f!<%6$O(B <a
  15.     href="platform/windows.html#winsvc">Apache $B$r%5!<%S%9$H$7$F<B9T$9$k(B</a>$B$r!"(B
  16.     Windows 9x $B$H(B ME $B$N%f!<%6$O(B <a
  17.     href="platform/windows.html#wincons">Apache $B$r%3%s%=!<%k%"%W%j$H$7$F(B
  18.     $B<B9T$9$k(B</a>$B$r;2>H$7$F$/$@$5$$!#(B</p>
  19. </summary>
  20.  
  21. <seealso><a href="programs/httpd.html">httpd</a></seealso>
  22. <seealso><a href="programs/apachectl.html">apachectl</a></seealso>
  23.  
  24. <section id="introduction"><title>$B%$%s%H%m%@%/%7%g%s(B</title>
  25.  
  26.     <p>Apache $B$rDd;_$7$?$j:F5/F0$7$?$j$9$k$?$a$K$O!"<B9T$5$l$F$$$k(B
  27.     <code>httpd</code> $B%W%m%;%9$K%7%0%J%k$rAw$kI,MW$,$"$j$^$9!#(B
  28.     $B%7%0%J%k$rAw$k$K$OFs$D$NJ}K!$,$"$j$^$9!#(B
  29.     $B0l$DL\$O%W%m%;%9$KD>@\%7%0%J%k$rAw$k(B unix $B$N(B <code>kill</code>
  30.     $B%3%^%s%I$r;HMQ$9$kJ}K!$G$9!#(B
  31.     $B%7%9%F%`$r8+$l$P$?$/$5$s$N(B <code>httpd</code> $B$,(B
  32.     $B<B9T$5$l$F$$$k$N$K5$$,IU$/$G$7$g$&$,!"%7%0%J%k$rAw$k$N$O(B
  33.     $B?F%W%m%;%9$@$1$G!"$=$l0J30$N8D!9$N%W%m%;%9$K$O(B
  34.     $B%7%0%J%k$rAw$i$J$$$G2<$5$$!#$=$N?F%W%m%;%9$N(B pid $B$O(B
  35.     <directive module="mpm_common">PidFile</directive>
  36.     $B$K=q$+$l$F$$$^$9!#$3$l$O$D$^$j!"?F0J30$N%W%m%;%9$K(B
  37.     $B%7%0%J%k$rAw$kI,MW$9$i$J$$!"$H$$$&$3$H$G$9!#(B
  38.     $B?F%W%m%;%9$KAw$k$3$H$,$G$-$k(B 3 $B<oN`$N%7%0%J%k$,$"$j$^$9(B:
  39.     <code>TERM</code>, <code>HUP</code>, <code>USR1</code>
  40.     $B$G$9!#$3$l$i$N@bL@$K$D$$$F$OB3$-$r$4Mw2<$5$$!#(B</p>
  41.  
  42.     <p>$B?F%W%m%;%9$K%7%0%J%k$rAw$k$K$O!"(B
  43.     $B<!$N$h$&$J%3%^%s%I$rH/9T$7$F2<$5$$(B:</p>
  44.  
  45. <example>kill -TERM `cat /usr/local/apache2/logs/httpd.pid`</example>
  46.  
  47.     <p><code>httpd</code> $B%W%m%;%9$K%7%0%J%k$rAw$k(B 2 $BHVL\$NJ}K!$O(B
  48.     <code>-k</code> $B$H$$$&%3%^%s%I%i%$%s0z?t$r;HMQ$9$k$3$H$G$9!#(B
  49.     $B2<$G@bL@$5$l$F$$$k$h$&$K!"(B<code>stop</code>, <code>restart</code>,
  50.     <code>graceful</code> $B$r;XDj$G$-$^$9!#(B
  51.     $B$3$l$i$O(B <a href="programs/httpd.html">httpd</a> $B$N0z?t$G$9$,!"(B
  52.     $B@)8fMQ$N%9%/%j%W%H(B <a href="programs/apachectl.html">apachectl</a> $B$r(B
  53.     $B;H$&$3$H$r$*A&$a$7$^$9!#(B<a
  54.     href="programs/apachectl.html">apachectl</a> $B$O$=$l$i$N0z?t$r$=$N$^$^(B
  55.     <code>httpd</code> $B$KEO$7$^$9!#(B</p>
  56.  
  57.     <p><code>httpd</code> $B$K%7%0%J%k$rAw$C$?8e!"(B
  58.     $B<B9T>u67$r<!$N%3%^%s%I$GFI$`$3$H$,$G$-$^$9(B:</p>
  59.  
  60. <example>tail -f /usr/local/apache2/logs/error_log</example>
  61.     <p>$B$3$3$K5s$2$?Nc$O!"3F<+$N(B
  62.     <directive module="core">ServerRoot</directive>
  63.     $B$H(B
  64.     <directive module="mpm_common">PidFile</directive>
  65.     $B$N@_Dj$KE,9g$9$k$h$&$KE,59=$@5$7$F2<$5$$!#(B</p>
  66. </section>
  67.  
  68. <section id="term"><title>$B5^$JDd;_(B</title>
  69.  
  70. <dl><dt>$B%7%0%J%k(B: TERM</dt>
  71. <dd><code>apachectl -k stop</code></dd>
  72. </dl>
  73.  
  74.     <p><code>TERM</code> $B$"$k$$$O(B <code>stop</code> 
  75.     $B%7%0%J%k$r?F%W%m%;%9$KAw$k$H!"B(:B$K;R%W%m%;%9A4$F$r(B kill $B$7$h$&$H$7$^$9!#(B
  76.     $B;R%W%m%;%9$r40A4$K(B kill $B$7=*$o$k$^$G$K?tIC$+$+$k$+$b$7$l$^$;$s!#(B
  77.     $B$=$N8e!"?F%W%m%;%9<+?H$,=*N;$7$^$9!#(B
  78.     $B=hM}Cf$N%j%/%(%9%H$OA4$FDd;_$5$l!"$b$O$d%j%/%(%9%H$KBP$9$k(B
  79.     $B1~Ez$O$5$l$^$;$s!#(B</p>
  80. </section>
  81.  
  82. <section id="graceful"><title>$B4K$d$+$J:F5/F0(B</title>
  83.  
  84. <dl><dt>$B%7%0%J%k(B: USR1</dt>
  85. <dd><code>apachectl -k graceful</code></dd>
  86. </dl>
  87.  
  88.     <p>$B?F%W%m%;%9$O(B <code>USR1</code> $B$"$k$$$O(B <code>graceful</code>
  89.     $B%7%0%J%k$r<u$1<h$k$H!";R%W%m%;%9$K8=:_$N%j%/%(%9%H$N=hM}$N8e$K=*N;$9$k(B
  90.     ($B$"$k$$$O2?$b$7$F$$$J$1$l$P$9$0$K=*N;$9$k(B)
  91.     $B$h$&$K(B<em>$B=u8@(B</em>$B$7$^$9!#(B
  92.     $B?F%W%m%;%9$O@_Dj%U%!%$%k$r:FFI9~$7$F!"%m%0%U%!%$%k$r3+$-D>$7$^$9!#(B
  93.     $B;R%W%m%;%9$,=y!9$K$J$/$J$k$K=>$C$F!"(B
  94.     $B?7$7$$(B<em>$B@$Be(B</em>$B$N@_Dj$K$h$k;R%W%m%;%9$KCV$-49$($F$$$-$^$9!#(B
  95.     $B$=$7$F!"$3$l$i$,?7$?$J%j%/%(%9%H$KB(:B$K1~Ez$7;O$a$^$9!#(B</p>
  96.     <note>$BFCDj$N%W%i%C%H%[!<%`$G$O(B <code>USR1</code> $B$r4K$d$+$J:F5/F0$N$?$a$K(B
  97.     $B;H$&$3$H$,$G$-$^$;$s$,!"Be$o$j$N%7%0%J%k(B
  98.     ($BNc$($P(B <code>WINCH</code>) $B$,;HMQ$G$-$k$G$7$g$&!#(B
  99.     <code>apachectl graceful</code>
  100.     $B$H$$$&%3%^%s%I$O%W%i%C%H%[!<%`$K9g$C$?%7%0%J%k$rAw$j$^$9!#(B</note>
  101.  
  102.     <p>$B$3$N%3!<%I$O>o$K(B
  103.     MPM $B$N%W%m%;%9@)8f%G%#%l%/%F%#%V$N@_Dj$r=E;k$7$^$9$N$G!"(B
  104.     $B%/%i%$%"%s%H$N%j%/%(%9%H$r07$&%W%m%;%9$H%9%l%C%I$N?t$r:F5/F0$N=hM}Cf$b(B
  105.     $BE,@Z$JCM$K0];}$5$l$^$9!#$^$?!"<!$N$h$&$K$7$F(B
  106.     <directive module="mpm_common">StartServers</directive>
  107.     $B$r<i$j$^$9(B:
  108.     $B>/$J$/$H$b(B 1 $BIC8e$K(B <directive
  109.     module="mpm_common">StartServers</directive> $B8D$N?7$7$$;R%W%m%;%9$,(B
  110.     $B@8@.$5$l$F$$$J$1$l$P!"$=$N?t$K$J$k$h$&$KE,59%W%m%;%9$r@8@.$7$^$9!#(B
  111.     $B$3$N5sF0$O8=:_$NIi2Y$KBP$7$FE,@Z$J;R%W%m%;%9$N?t$H(B
  112.     <directive
  113.     module="mpm_common">StartServers</directive> $B%Q%i%a!<%?$G$N(B
  114.     $B4uK>$N?t$NN>J}$r0];}$7$h$&$H$7$F$$$^$9!#(B</p>
  115.  
  116.     <p><module>mod_status</module> $B$r(B
  117.     $B;HMQ$7$F$$$k>l9g$O!"(B<code>USR1</code> $B%7%0%J%k$,Aw$i$l$?:]$K(B
  118.     $B%5!<%PE}7W$,%<%m$K(B<strong>$B@_Dj$5$l$J$$(B</strong>$B$3$H$K(B
  119.     $BCm0U$7$F$/$@$5$$!#(B
  120.     $B%5!<%P$,?7$7$$%j%/%(%9%H$K1~EzITG=$J;~4V$r:G>.$K$9$k$h$&$K(B
  121.     ($B%j%/%(%9%H$O(B OS $B$K$h$C$F%-%e!<$KDI2C$5$l$k$N$G@dBP$KJ6<:$O$7$^$;$s(B)$B!"(B
  122.     $B$^$?F1;~$K!"4uK>$N%A%e!<%K%s%0%Q%i%a!<%?$r<i$k$h$&$K(B
  123.     $B%3!<%I$O=q$+$l$F$$$^$9!#(B
  124.     $B$3$N$h$&$K$9$k$?$a$K!"@$Be$r$^$?$,$C$?A4;R%W%m%;%9$NDI@W$K;H$o$l$F$$$k(B
  125.     <em>$B%9%3%"%\!<%I(B</em>$B$r0];}$7$J$1$l$P$J$j$^$;$s!#(B</p>
  126.  
  127.     <p>status $B%b%8%e!<%k$O!"4K$d$+$J:F5/F00JA0$+$i3+;O$7$F(B
  128.     $B%j%/%(%9%H$K1~Ez$7B3$1$F$$$k;R%W%m%;%9$rFCDj$9$k$?$a$K!"(B
  129.     <code>G</code> $B$r;H$&$3$H$b$7$^$9!#(B</p>
  130.  
  131.     <p>$B8=:_!"(B<code>USR1</code> $B$r;H$&%m%00\F0%9%/%j%W%H$G$O!"(B
  132.     $B:F5/F0A0$N;R%W%m%;%9$,%m%0$r=q$-=*$o$C$?$3$H$r3N>Z$9$kJ}K!$,(B
  133.     $B$"$j$^$;$s!#8E$$%m%0$KBP$7$F2?$+$9$kA0$K!"(B
  134.     <code>USR1</code> $B%7%0%J%k$rAw$C$?8e$$$/$i$+E,Ev$J;~4VBT$D$3$H$r(B
  135.     $BDs0F$7$^$9!#Nc$($P!"BS0h$N69$$DL?.O)$N%f!<%6$N%j%/%(%9%H$N$[$H$s$I$,(B 10 
  136.     $BJ,0J2<$G40N;$7$F$$$k$H$$$&$3$H$,J,$+$C$F$$$l$P!"(B
  137.     $B8E$$%m%0$K2?$+$9$kA0$K(B 15 $BJ,BT$D$H$$$&$3$H$G$9!#(B</p>
  138.  
  139.     <note>$B:F5/F0;~$K@_Dj%U%!%$%k$K8m$j$,$"$k$H!"(B
  140.     $B?F%W%m%;%9$O:F5/F0$;$:$K%(%i!<$H$H$b$K=*N;$7$^$9!#(B
  141.     $B4K$d$+$J:F5/F0$N>l9g$O!"?F%W%m%;%9$,=*N;$7$?8e$G$b;R%W%m%;%9$,(B
  142.     $B<B9T$5$l$?$^$^J|CV$5$l$?$j$b$7$^$9!#(B
  143.     ($B:G8e$N%j%/%(%9%H$r=hM}$7$?8e!V4K$d$+$K=*N;!W$9$k(B
  144.     $B;R%W%m%;%9$H$J$j$^$9!#(B)
  145.     $B%5!<%P$r:F5/F0$9$k:]$K!"$3$l$,LdBj$K$J$k$+$b$7$l$^$;$s(B
  146.     -- $B%5!<%P$O(B listen $B$9$k%]!<%H$K%P%$%s%I$G$-$J$$$+$b$7$l$^$;$s!#(B
  147.     $B:F5/F0$9$kA0$K!"@_Dj%U%!%$%k$N9=J8$r(B <code>-t</code>
  148.     $B%3%^%s%I%i%$%s0z?t(B
  149.     (<a href="programs/httpd.html">httpd</a> $B$r$4Mw2<$5$$(B)
  150.     $B$r;H$C$F8!>Z$9$k$3$H$,$G$-$^$9!#(B
  151.     $B@_Dj%U%!%$%k$N0UL#E*$JFbMF$r9=J8$HF1MM$K8!>Z$7$?$$>l9g$O!"(B
  152.     $BHs(B root $B%f!<%6$G(B <code>httpd</code> $B$r5/F0$7$h$&$H$9$l$P$o$+$j$^$9!#(B
  153.     $B$b$7%(%i!<$,$J$1$l$P!"%=%1%C%H$d%m%0$r3+$3$&$H$7$F(B
  154.     root $B$G$J$$$?$a(B
  155.     ($B$b$7$/$O(B <code>httpd</code> $B$,4{$KI,MW$J%]!<%H$K%P%$%s%I$7$F$$$k$?$a(B)
  156.     $B$K<:GT$9$k$G$7$g$&!#(B
  157.     $B$3$l0J30$NM}M3$G5/F0$K<:GT$7$?$N$G$"$l$P!"(B
  158.     $B$=$l$O@_Dj%U%!%$%k$N%(%i!<$G!"(B
  159.     $B4K$d$+$J:F5/F0$r9T$&A0$K$=$N8m$j$r=$@5$7$J$1$l$P$J$j$^$;$s!#(B</note>
  160. </section>
  161.  
  162. <section id="hup"><title>$B5^$J:F5/F0(B</title>
  163.  
  164. <dl><dt>$B%7%0%J%k(B: HUP</dt>
  165. <dd><code>apachectl -k restart</code></dd>
  166. </dl>
  167.  
  168.     <p><code>HUP</code> $B$"$k$$$O(B <code>restart</code> $B%7%0%J%k$r?F%W%m%;%9$KAw$k$H!"(B
  169.     <code>TERM</code> $B$HF1MM$K;R%W%m%;%9$r(B kill $B$7$^$9$,!"(B
  170.     $B?F%W%m%;%9$O=*N;$7$^$;$s!#(B
  171.     $B@_Dj%U%!%$%k$r:FFI9~$7$F!"%m%0%U%!%$%kA4$F$r3+$-D>$7$^$9!#(B
  172.     $B$=$N8e!"?7$7$$;R%W%m%;%9$r5/F0$7$F1~Ez$rB3$1$^$9!#(B</p>
  173.  
  174.     <p><module>mod_status</module>
  175.     $B$r;H$C$F$$$k>l9g$O!"(B<code>HUP</code> $B$,Aw$i$l$?>l9g$K(B
  176.     $B%5!<%PE}7W$,%<%m$K@_Dj$5$l$k$3$H$KCm0U$7$F$/$@$5$$!#(B</p>
  177.  
  178.     <note>$B:F5/F0;~$K@_Dj%U%!%$%k$K8m$j$,$"$k$H!"(B
  179.     $B?F%W%m%;%9$O:F5/F0$;$:$K%(%i!<$H$H$b$K=*N;$7$^$9!#(B
  180.     $B$3$l$rHr$1$k$K$O<!$NJ}K!$r$4Mw2<$5$$!#(B</note>
  181. </section>
  182.  
  183. <section id="race"><title>$BIUO?(B: $B%7%0%J%k$H6%9g>uBV(B</title>
  184.  
  185.     <p>Apache 1.2b9 $B0JA0$O!":F5/F0$dDd;_$N%7%0%J%k$r4^$`(B<em>$B6%9g>uBV(B</em>
  186.     ($B6%9g>uBV$r4JC1$K@bL@$9$k$H(B: $B%?%$%_%s$K%0$h$kLdBj$G!"(B
  187.     $B6q9g$N0-$$;~4VBS$K$A$g$&$I2?$+$,5/$3$k$HM=A[30$NF0:n$r$9$k(B
  188.     $B$h$&$J$3$H$r;X$7$^$9(B) $B$,$"$j$^$7$?!#(B
  189.     $B!V@5$7$$!W5!G=$r;}$C$F$$$k%"!<%-%F%/%A%c$G$O!"$G$-$k$@$1(B
  190.     $B$3$N$h$&$J$3$H$,5/$3$i$J$$$h$&$K$7$F$$$^$9!#(B
  191.     $B$7$+$7!"$"$k<o$N%"!<%-%F%/%A%c$G$O6%9g>uBV$OL$$@3N<B$K5/$3$j$($k(B
  192.     $B$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B</p>
  193.  
  194.     <p>$B%G%#%9%/>e$G(B
  195.     <directive module="mpm_common">ScoreBoardFile</directive>
  196.     $B$r;HMQ$7$F$$$k%"!<%-%F%/%A%c$G$O!"(B
  197.     $B@x:_E*$K%9%3%"%\!<%I$,2u$l$k2DG=@-$,$"$j$^$9!#(B
  198.     $B%9%3%"%\!<%I$,2u$l$?>l9g$O!"(B
  199.     "bind: Address already in use" (<code>HUP</code> $B8e(B) $B$d(B
  200.     "long lost child came home!" (<code>USR1</code> $B8e(B)
  201.     $B$H$$$C$?7k2L$K$J$j$^$9!#(B
  202.     $BA0<T$OCWL?E*$J%(%i!<$G$9$,!"(B
  203.     $B8e<T$O%9%3%"%\!<%I%9%m%C%H$r<:$&$@$1$G$9!#(B
  204.     $B$G$9$+$i4K$d$+$J:F5/F0$O!"$?$^$K3N<B$J:F5/F0(B (HUP)
  205.     $B$bJ;MQ$7$F;H$C$?J}$,NI$$$G$7$g$&!#(B
  206.     $B$3$l$i$NLdBj$r9nI~$9$k$N$OHs>o$KFq$7$$$N$G$9$,!"(B
  207.     $B9,$$$J$3$H$KBgItJ,$N%"!<%-%F%/%A%c$G$O%9%3%"%\!<%I$N%U%!%$%k$OI,MW$"$j$^$;$s!#(B
  208.     $B$3$l$r;HMQ$9$k%"!<%-%F%/%A%c$O!"(B
  209.     <directive module="mpm_common">ScoreBoardFile</directive>
  210.     $B$r$4Mw2<$5$$!#(B</p>
  211.  
  212.     <p>$BA4$F$N%"!<%-%F%/%A%c$K$*$$$F!"8D!9$N;R%W%m%;%9$G(B
  213.     $B7QB3E*$J(B HTTP $B%3%M%/%7%g%s(B (KeepAlive)
  214.     $B$K4X$9$k>.$5$J6%9g>uBV$,5/$3$j$($^$9!#(B
  215.     $B%j%/%(%9%H9T$rFI$s$@8e!"$=$7$F%j%/%(%9%H%X%C%@$rFI$`A0$K(B
  216.     $B;R%W%m%;%9$O=*N;$9$k$+$bCN$l$^$;$s!#(B
  217.     $B$3$l$KBP$9$k=$@5$,$"$j$^$9$,(B 1.2 $B$G=$@5$9$k$K$OH/8+$,CY$9$.$^$7$?!#(B
  218.     $BM}O@E*$K$O!"$3$l$OLdBj$G$O$"$j$^$;$s!#(B
  219.     $B$J$<$J$i(B KeepAlive $B$N%/%i%$%"%s%H$O!"%M%C%H%o!<%/CY1d$d(B
  220.     $B%5!<%P$N%?%$%`%"%&%H$J$I$KHw$($F$$$J$1$l$P$J$i$J$$$+$i$G$9!#(B
  221.     $B<B:]$K$b2?$+1F6A$,$"$k$h$&$K$O8+$($^$;$s(B
  222.     -- $B%F%9%H%1!<%9$G%5!<%P$r(B 1 $BIC4V$K(B 20 $B2s:F5/F0$7$F$b(B
  223.     $B%/%i%$%"%s%H$O2u$l$?2hA|$d6u$N%I%-%e%a%s%H$r<u$1<h$k$3$H$J$/(B
  224.     $B@5>o$K1\Mw$G$-$F$$$^$9!#(B</p>
  225. </section>
  226.  
  227. </manualpage>
  228.