close

(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down

Is usually caused by an already running apache. You can check what's listening on port 80 with:

sudo netstat -lpnt | grep 80 tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 3647/nginx

Then you can kill that proc with:

kill 3647

Use the number in your output not just 3647 :) . If it still won't die you can use -9:

kill -9 3647

Of course all this should be just fixable with a reboot too.

arrow
arrow
    全站熱搜

    peicheng 發表在 痞客邦 留言(0) 人氣()