2012-03-10 6 views
1

私はUbuntu 10.04マシンにmemcacheをインストールしましたが、Apacheを再起動するとエラーが表示されます。私の主なルートは/var/www/であり、そこにはindex.phpファイルしかありません。memcacheのインストール後にApacheが起動しない

memcacheをインストールする前にすべてが機能していました。

This is what I did.

ヘルプしてください

ERROR:

[email protected]:~$ service apache2 restart 
* Restarting web server apache2                                (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 
Action 'start' failed. 
The Apache error log may have more information. 

APACHE LOG:

[email protected]:~$ tail -f /var/log/apache2/error.log 
[Sun Mar 04 14:04:45 2012] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.10 with Suhosin-Patch configured -- resuming normal operations 
[Sun Mar 04 18:54:35 2012] [notice] caught SIGTERM, shutting down 
[Wed Mar 07 20:32:59 2012] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.10 with Suhosin-Patch configured -- resuming normal operations 
[Wed Mar 07 21:01:57 2012] [notice] caught SIGTERM, shutting down 
[Fri Mar 09 22:20:06 2012] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.10 with Suhosin-Patch configured -- resuming normal operations 
[Sat Mar 10 01:45:00 2012] [notice] caught SIGTERM, shutting down 
[Sat Mar 10 10:58:24 2012] [notice] Apache/2.2.16 (Ubuntu) PHP/5.3.3-1ubuntu9.10 with Suhosin-Patch configured -- resuming normal operations 
[Sat Mar 10 11:16:49 2012] [error] [client ::1] File does not exist: /var/www/favicon.ico 
[Sat Mar 10 11:16:49 2012] [error] [client ::1] File does not exist: /var/www/favicon.ico 

答えて

1

あなたがルートでなければなりません。 Apacheを起動するときにsudoを使用するとよいでしょう。

+0

OMG。それはまだ私のための朝です。解決済み。ありがとう。 myubuntu @ ubuntu:〜$ sudo /etc/init.d/apache2 restart – BentCoder

関連する問題