Ask Your Question
0

httpd not starting

asked 2012-11-03 14:30:28 -0500

vinayk gravatar image

i am not able to start httpd service and also phpmyadmin because of it.

systemctl status httpd.service
httpd.service - The Apache HTTP Server (prefork MPM)
      Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
      Active: failed (Result: exit-code) since Sun, 04 Nov 2012 00:50:51 +0530; 2min 56s ago
      CGroup: name=systemd:/system/httpd.service
Nov 04 00:50:51 xyz httpd[2036]: Syntax error on line 98 of /etc/httpd/conf.d/system-config-httpd.conf:
Nov 04 00:50:51 xyz httpd[2036]: NameVirtualHost takes one argument, A numeric IP address:port, or the name of a host
please help me

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-11-03 16:29:24 -0500

sten gravatar image

The error should be pretty self-explanatory- you have a syntax error in the "NameVirtualHost" section on line 98 of /etc/httpd/conf.d/system-config-httpd.conf

If you can't correct the error on your own, post that section of the config file.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-11-03 14:30:28 -0500

Seen: 450 times

Last updated: Nov 03 '12