Здравствуйте! Почему-то не получается перезапустить сервер Apache
dart@amd:~$ sudo apache2ctl graceful
[Mon May 01 18:26:28.737751 2017] [core:error] [pid 6971] (EAI 2)Name or service not known: AH00547: Could not resolve host name :*81 -- ignoring!
ports.conf:
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf
Listen 81
<IfModule ssl_module>
Listen 444
</IfModule>
<IfModule mod_gnutls.c>
Listen 444
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Виртуальный хост:
<VirtualHost :*81>
ServerName khcp.loc
ServerAlias www.khcp.loc
DocumentRoot /home/dart/sites/khcp/web
DirectoryIndex index.php
AssignUserID dart dart
<Directory /home/dart/sites/khcp/web>
Require all granted
</Directory>
Errorlog /home/dart/sites/khcp/apache.error.log
</VirtualHost>