#1
  1. A Change of Season
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2004
    Location
    Next Door
    Posts
    2,650
    Rep Power
    171

    Where are these apache2 errors stored in?


    service apache2 restart
    Code:
     Restarting web server apache2
    [Wed Oct 23 13:15:57 2013] [warn] VirtualHost 129.9.12.203:80 overlaps with VirtualHost 129.9.12.203:80, the first has precedence, perhaps you need a NameVirtualHost directive
    How can I find the location of this error? It is obviously a file somewhere. Instead of Googling for copy paste solution I want to find where this is coming from.

    I though I look for error log in conf file: so I checked in apache2.conf and I see this line:
    ErrorLog ${APACHE_LOG_DIR}/error.log
    which does nto really help me.
  2. #2
  3. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,965
    Rep Power
    9397
    With Ubuntu the virtualhosts are in sites-enabled (and sites-available) and the second one it loaded is where the error occurred. Apparently you don't have a NameVirtualHosts directive somewhere - my Ubuntu 12.04.3 has it in ports.conf.

IMN logo majestic logo threadwatch logo seochat tools logo