Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Apache Problem Centos 7

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.
Is this following an initial install, or has it just started happening on an existing server?
[Image: sig-y84190q.gif]
(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
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?
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


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Palac10Mar 7, 2024 09:05 AM 4 156 Mar 7, 2024 09:05 AM
Last Post: __Digital__
by httprequestJun 19, 2016 02:12 PM 0 87 Jun 19, 2016 02:12 PM
Last Post: httprequest
by PpexilJul 11, 2014 01:05 AM 1 141 Jul 11, 2014 01:05 AM
Last Post: Gluteus Maximus