Считаете, что Ubuntu недостаточно дружелюбна к новичкам? Помогите создать новое Руководство для новичков!
0 Пользователей и 1 Гость просматривают эту тему.
Syntax error on line 2 of /etc/apache2/sites-enabled/site1.com
cat /etc/apache2/sites-enabled/site1.com
ServerName site1.comServerAlias www.site1.comDocumentRoot /home/Yura/sites/site1.com/
<VirtualHost *:80> ServerName site1.com ServerAlias www.site1.com DocumentRoot /home/Yura/sites/site1.com/</VirtualHost>
Ну написано же -Цитата: Night_spirit от 02 Май 2013, 15:13:13Syntax error on line 2 of /etc/apache2/sites-enabled/site1.comПокажи Код: [Выделить]cat /etc/apache2/sites-enabled/site1.comПользователь решил продолжить мысль 02 Май 2013, 15:20:40:Цитата: Night_spirit от 02 Май 2013, 15:13:13ServerName site1.comServerAlias www.site1.comDocumentRoot /home/Yura/sites/site1.com/Код: [Выделить]<VirtualHost *:80> ServerName site1.com ServerAlias www.site1.com DocumentRoot /home/Yura/sites/site1.com/</VirtualHost>
service apache2 restart * Restarting web server apache2 /usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)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:80no listening sockets available, shutting downUnable to open logsAction 'start' failed.The Apache error log may have more information.
исправил,теперь при попытке перезагрузиться выдает такое
sudo service apache2 restart
Страница сгенерирована за 0.075 секунд. Запросов: 24.