Error when starting apache

Discussion in 'Installation/Configuration' started by wabz, Aug 29, 2009.

  1. wabz

    wabz New Member

    mail:~ # /etc/init.d/apache2 start
    Starting httpd2 (prefork) Warning: DocumentRoot [/srv/www/] do es not exist
    httpd2-prefork: bad user name web14

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

    wabz New Member

    solved above. new warning message

    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 has no VirtualHosts
    mail:~ #
  3. gnosti

    gnosti New Member

    That just saying that that particular IP isn't assigned to any vhost.

    I get the same thing on my server...

    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.

Share This Page