サーバーの設定をしているのですが、Apacheをダウンロードして、実際に起動しようと思い
systemctl start httpd
と打ち込むと以下のエラーが出ます。
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
どのようにすれば起動ができるようになるのでしょうか?
ちなみに"systemctl statue httpd.service"の結果は以下の通りです。
systemctl status httpd.service
* httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 2020-04-02 14:12:03 JST; 1min 55s ago Docs: man:httpd(8) man:apachectl(8) Process: 28660 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE) Process: 28659 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Main PID: 28659 (code=exited, status=1/FAILURE) Apr 02 14:12:03 tk2********************.ne.jp systemd[1]: Starting The Apache HTTP Server... Apr 02 14:12:03 tk2********************.ne.jp httpd[28659]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 Apr 02 14:12:03 tk2********************.ne.jp httpd[28659]: no listening sockets available, shutting down Apr 02 14:12:03 tk2********************.ne.jp httpd[28659]: AH00015: Unable to open logs Apr 02 14:12:03 tk2********************.ne.jp systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Apr 02 14:12:03 tk2********************.ne.jp kill[28660]: kill: cannot find process "" Apr 02 14:12:03 tk2********************.ne.jp systemd[1]: httpd.service: control process exited, code=exited status=1 Apr 02 14:12:03 tk2********************.ne.jp systemd[1]: Failed to start The Apache HTTP Server. Apr 02 14:12:03 tk2********************.ne.jp systemd[1]: Unit httpd.service entered failed state. Apr 02 14:12:03 tk2********************.ne.jp systemd[1]: httpd.service failed. Hint: Some lines were ellipsized, use -l to show in full.
よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー