Hack Forums
Apache Problem Centos 7 - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Webmasters (https://hackforums.net/forumdisplay.php?fid=141)
+---- Forum: Hosting and Web Servers (https://hackforums.net/forumdisplay.php?fid=143)
+---- Thread: Apache Problem Centos 7 (/showthread.php?tid=5189287)



Apache Problem Centos 7 - Wopy - Mar 1, 2016

Whenever i try and start apache i get this error

Code
Job for httpd.service failed because the control process exited with error code.
See "systemctl status httpd.service" and "journalctl -xe" for details.

Code
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2016-03-01 18:47:12 MST; 1min 50s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 3678 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 3677 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 3677 (code=exited, status=1/FAILURE)

Mar 01 18:47:12 ip209.ip-x.net httpd[3677]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf/httpd.conf:355
Mar 01 18:47:12 ip209.ip-x.net httpd[3677]: AH00112: Warning: DocumentRoot [/var/www/asylum/public_html] does not exist
Mar 01 18:47:12 ip209.ip-x.net httpd[3677]: (2)No such file or directory: AH02291: Cannot access directory '/var/www/asylum/' for error log of vhost defined at /etc/httpd/conf/httpd.conf:368
Mar 01 18:47:12 ip209.ip-x.net httpd[3677]: AH00014: Configuration check failed
Mar 01 18:47:12 ip209.ip-x.net systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Mar 01 18:47:12 ip209.ip-x.net kill[3678]: kill: cannot find process ""
Mar 01 18:47:12 ip209.ip-x.net systemd[1]: httpd.service: control process exited, code=exited status=1
Mar 01 18:47:12 ip209.ip-x.net systemd[1]: Failed to start The Apache HTTP Server.
Mar 01 18:47:12 ip209.ip-x.net systemd[1]: Unit httpd.service entered failed state.
Mar 01 18:47:12 ip209.ip-x.net systemd[1]: httpd.service failed.



* - StevesTrolls - Mar 2, 2016

Is this following an initial install, or has it just started happening on an existing server?


* - Wopy - Mar 2, 2016

(Mar 2, 2016 08:09 AM)StevesTrolls Wrote:  Is this following an initial install, or has it just started happening on an existing server?
initial install of apache and iam trying to get it to work asap but ugh


* - wander is a multi dwc - Mar 2, 2016

Mar 01 18:47:12 ip209.ip-x.net httpd[3677]: AH00112: Warning: DocumentRoot [/var/www/asylum/public_html] does not exist
Mar 01 18:47:12 ip209.ip-x.net httpd[3677]: (2)No such file or directory: AH02291: Cannot access directory '/var/www/asylum/' for error log of vhost defined at /etc/httpd/conf/httpd.conf:368

Is the folder there?


* - Wopy - Mar 3, 2016

i got it to work thank you ^ i was trying to install it like it was centos 6 but i forgot i had centos 7