98: Address already in useだと!!

Starting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
                                                           [FAILED]

というエラーが出た!80番ポートがすでに使われているみたいだ。 80番ポートを開放しよう

netstat -lnp | grep 80

で問題のアプリケーションを特定、これを止めよう。 例えば httpd が犯人だった時は次のようにコマンドする

service httpd stop