Hello Sir, I am facing a problem. I recently restore a backup from one server to another dedicated. But when I try to restart i get this error. Please suggest something. root@server [~]# service httpd restart [Sun Dec 26 05:13:26 2010] [warn] NameVirtualHost IP:80 has no VirtualHosts [Sun Dec 26 05:13:26 2010] [warn] NameVirtualHost IP:80 has no VirtualHosts [Sun Dec 26 05:13:26 2010] [warn] NameVirtualHost IP:80 has no VirtualHosts [Sun Dec 26 05:13:26 2010] [warn] NameVirtualHost IP:80 has no VirtualHosts [Sun Dec 26 05:13:26 2010] [warn] NameVirtualHost IP:80 has no VirtualHosts root@server [~]# Thanks
Hello This is just a warning. Please edit your httpd.conf file and search for the line: NameVirtualHost IP:80 and comment it and restart your Apache. You can run /etc/init.d/httpd configtest as well to check if there is any error.
after edit the httpd.conf root@server [~]# service httpd restart root@server [~]# /etc/init.d/httpd configtest Syntax OK Sir Please check is this working properly httpd did not say stoped and start?