Job for apache2.service failed because the control process exited with error code
by CompleteNewbie2020 from LinuxQuestions.org on (#59NJA)
Can't start apache2
systemctl status apache2.service
shows
apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2020-10-28 22:49:53 EDT; 2min 2s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 4813 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Oct 28 22:49:52 littleboy systemd[1]: Starting The Apache HTTP Server...
Oct 28 22:49:53 littleboy apachectl[4829]: AH00112: Warning: DocumentRoot [/var/www/html/Shopping/shopping.html] does not exist
Oct 28 22:49:53 littleboy apachectl[4829]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Oct 28 22:49:53 littleboy apachectl[4829]: (2)No such file or directory: AH02291: Cannot access directory '/logs/' for error log of vhost defined at /etc/apache2/sites-enabled/shoppingJack.com.conf:1
Oct 28 22:49:53 littleboy apachectl[4829]: AH00014: Configuration check failed
Oct 28 22:49:53 littleboy apachectl[4813]: Action 'start' failed.
Oct 28 22:49:53 littleboy apachectl[4813]: The Apache error log may have more information.
AH00112 => I checked and it exists. It is the html document that I want presented in my web browser
AH00558 => I don't know where to change that. I'm at a complete lost
AH02291 => I don't know which /logs/ or what /log but I did play with that in my virtualhost site config file
ErrorLog /logsshopping.com-error_log
CustomLog logs/shopping.com-access_log common
Directoryindex index.html
And I don<t know how to put it back to the default
please help


systemctl status apache2.service
shows
apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2020-10-28 22:49:53 EDT; 2min 2s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 4813 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
Oct 28 22:49:52 littleboy systemd[1]: Starting The Apache HTTP Server...
Oct 28 22:49:53 littleboy apachectl[4829]: AH00112: Warning: DocumentRoot [/var/www/html/Shopping/shopping.html] does not exist
Oct 28 22:49:53 littleboy apachectl[4829]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Oct 28 22:49:53 littleboy apachectl[4829]: (2)No such file or directory: AH02291: Cannot access directory '/logs/' for error log of vhost defined at /etc/apache2/sites-enabled/shoppingJack.com.conf:1
Oct 28 22:49:53 littleboy apachectl[4829]: AH00014: Configuration check failed
Oct 28 22:49:53 littleboy apachectl[4813]: Action 'start' failed.
Oct 28 22:49:53 littleboy apachectl[4813]: The Apache error log may have more information.
AH00112 => I checked and it exists. It is the html document that I want presented in my web browser
AH00558 => I don't know where to change that. I'm at a complete lost
AH02291 => I don't know which /logs/ or what /log but I did play with that in my virtualhost site config file
ErrorLog /logsshopping.com-error_log
CustomLog logs/shopping.com-access_log common
Directoryindex index.html
And I don<t know how to put it back to the default
please help