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