PDA

View Full Version : Error when starting apache


wabz
29th August 2009, 11:13
mail:~ # /etc/init.d/apache2 start
Starting httpd2 (prefork) Warning: DocumentRoot [/srv/www/etrademart.com/web] do es not exist
httpd2-prefork: bad user name web14

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
failed
mail:~ #

wabz
29th August 2009, 17:06
I was able to solve the above issue by deleting the conf file for the site. Now i have a warning message

mail:~ # /etc/init.d/apache2 start
Starting httpd2 (prefork) [Sat Aug 29 16:25:28 2009] [warn] NameVirtualHost 196.0.25.202:443 has no VirtualHosts
done
mail:~ #

gnosti
29th August 2009, 17:26
That just saying that that particular IP isn't assigned to any vhost.

I get the same thing on my server...

# /etc/init.d/apache2 restart
Restarting web server: apache2[Sat Aug 29 09:21:52 2009] [warn] NameVirtualHost 67.19.86.38:80 has no VirtualHosts
[Sat Aug 29 09:21:52 2009] [warn] NameVirtualHost x.x.x.x:443 has no VirtualHosts
[Sat Aug 29 09:21:52 2009] [warn] NameVirtualHost x.x.x.x:443 has no VirtualHosts
[Sat Aug 29 09:21:52 2009] [warn] NameVirtualHost x.x.x.x:80 has no VirtualHosts
[Sat Aug 29 09:21:52 2009] [warn] NameVirtualHost x.x.x.x:443 has no VirtualHosts
[Sat Aug 29 09:21:52 2009] [warn] NameVirtualHost x.x.x.x:443 has no VirtualHosts
... waiting [Sat Aug 29 09:21:54 2009] [warn] NameVirtualHost 67.19.86.38:80 has no VirtualHosts
[Sat Aug 29 09:21:54 2009] [warn] NameVirtualHost x.x.x.x:443 has no VirtualHosts
[Sat Aug 29 09:21:54 2009] [warn] NameVirtualHost x.x.x.x:443 has no VirtualHosts
[Sat Aug 29 09:21:54 2009] [warn] NameVirtualHost x.x.x.x:80 has no VirtualHosts
[Sat Aug 29 09:21:54 2009] [warn] NameVirtualHost x.x.x.x:443 has no VirtualHosts
[Sat Aug 29 09:21:54 2009] [warn] NameVirtualHost x.x.x.x:443 has no VirtualHosts
done


it can be safely ignored generally, unless you have already setup a vhost on that particular ip. Then in that case you should look in you vhost conf and see whats going on there.