Hatena::Groupbluespear

bluespearの勉強メモ

2008-12-20

[] (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 18:25

/etc/init.d/apache2 restart

したら

 * Restarting web server apache2                                                   apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
                                                                            [fail]

となりまして、何故かと思えば権限がないから。sudo付けましょう。

sudo /etc/init.d/apache2 restart

でOK.