Code: Select all
-- Unit httpd.service has begun starting up.
Nov 03 14:45:48 black1 httpd[1688]: httpd: Syntax error on line 355 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/sites-enabled/10.0.0.52.conf: No such file or directory
Nov 03 14:45:48 black1 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Nov 03 14:45:48 black1 kill[1690]: kill: cannot find process ""
Nov 03 14:45:48 black1 systemd[1]: httpd.service: control process exited, code=exited status=1
Nov 03 14:45:48 black1 systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
10.0.0.52.conf
Code: Select all
<VirtualHost *:80>
ServerName www.10.0.0.52
DocumentRoot /home/doulos/html
ServerAlias 10.0.0.52
DirectoryIndex index.html index.htm index.php
<Directory /home/doulos/html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
ErrorLog /var/www/error.log
CustomLog /var/www/access.log combined
</VirtualHost>
Code: Select all
[doulos@black1 ~]$ sudo groups doulos
doulos : doulos wheel apache