Ubuntu 新しいページはコチラ
提供: yonewiki
(→Apacheの起動・停止・再起動・状態確認・サーバ起動時に動かなくする(サービスの停止)・起動時に動くようにする(サービスの開始)) |
(→Apacheの起動・停止・再起動・状態確認・サーバ起動時に動かなくする(サービスの停止)・起動時に動くようにする(サービスの開始)) |
||
119行: | 119行: | ||
すると、再度サービスを起動('''sudo survice apache2 start''')してから、以下のコマンドで確認ができる。 | すると、再度サービスを起動('''sudo survice apache2 start''')してから、以下のコマンドで確認ができる。 | ||
− | |||
sudo apache2ctl status | sudo apache2ctl status | ||
コマンドの結果 | コマンドの結果 | ||
159行: | 158行: | ||
"C" Closing connection, "L" Logging, "G" Gracefully finishing, | "C" Closing connection, "L" Logging, "G" Gracefully finishing, | ||
"I" Idle cleanup of worker, "." Open slot with no current process | "I" Idle cleanup of worker, "." Open slot with no current process | ||
+ | |||
+ | その他の確認としては | ||
+ | sudo service apache2 status | ||
+ | Apache2 is running (pid xxxx). | ||
+ | というようなものもあります。 |