###前提・実現したいこと
現在、マストドンを自分のサーバーに作成しようとしています。
systemctl start nginx
にて以下のエラーメッセージが発生しました。
###発生している問題・エラーメッセージ
systemctl start nginxを実行すると下記のエラーが表示されます
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
systemctl status nginx.serviceで確認したところ
● nginx.service - The nginx HTTP and reverse proxy server Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since 日 2017-05-14 19:26:55 JST; 29s ago Process: 4153 ExecStart=/usr/sbin/nginx (code=exited, status=1/FAILURE) Process: 4150 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=0/SUCCESS) Process: 4147 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS) 5月 14 19:26:53 tk2-230-24926.vs.sakura.ne.jp nginx[4153]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 5月 14 19:26:53 tk2-230-24926.vs.sakura.ne.jp nginx[4153]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 5月 14 19:26:54 tk2-230-24926.vs.sakura.ne.jp nginx[4153]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 5月 14 19:26:54 tk2-230-24926.vs.sakura.ne.jp nginx[4153]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 5月 14 19:26:55 tk2-230-24926.vs.sakura.ne.jp nginx[4153]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 5月 14 19:26:55 tk2-230-24926.vs.sakura.ne.jp nginx[4153]: nginx: [emerg] still could not bind() 5月 14 19:26:55 tk2-230-24926.vs.sakura.ne.jp systemd[1]: nginx.service: control process exited, code=exited status=1 5月 14 19:26:55 tk2-230-24926.vs.sakura.ne.jp systemd[1]: Failed to start The nginx HTTP and reverse proxy server. 5月 14 19:26:55 tk2-230-24926.vs.sakura.ne.jp systemd[1]: Unit nginx.service entered failed state. 5月 14 19:26:55 tk2-230-24926.vs.sakura.ne.jp systemd[1]: nginx.service failed.
と表示されます。どのようにすれば修正出来るでしょうか?
###試したこと
yum install nginx
###補足情報(言語/FW/ツール等のバージョンなど)
Server version: Apache/2.4.6 (CentOS)
下記のサイトを参考にしました
http://qiita.com/ymchn/items/1df8453fd2c8ceb8ad71
現在作成中のサイトはこちらになります
https://mstdn.utbs.info/
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/05/14 12:03