2012-03-10 9 views
1

Я установил memcache на свой Ubuntu 10.04, но когда дело доходит до перезапуска apache, это дает мне ошибку. Мой главный корень /var/www/ и есть только index.php файл в нем.Apache не запускается после установки memcache

Все работает до установки memcache.

This is what I did.

Помогите пожалуйста

ОШИБКА:

[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

Вы должны быть корнем. Вы можете использовать sudo при запуске Apache.

+0

OMG. Для меня все еще утро. Решаемые. Благодарю. myubuntu @ ubuntu: ~ $ sudo /etc/init.d/apache2 restart – BentCoder

Смежные вопросы