logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Internal access/error repeating every minute
Author
yiminrong



Joined: 23 Sep 2020
Posts: 2
Location: Canada, Toronto

PostPosted: Wed 23 Sep '20 20:47    Post subject: Internal access/error repeating every minute Reply with quote

Windows Server 2012 / Apache 2.2.23 (old I know!)

We're in the process of migrating from this old setup to one with modern Windows, Apache, SSL, PHP, etc., and making sure anything using the old server is accounted for before we shut it down.

Everything is accounted for except for something originating internally. About every minute and six (or seven) seconds, we get an entry in the access log and a corresponding entry in the error log like this:

Code:

    access.log
    ...
    <server-name>.<internal-domain> - - [23/Sep/2020:13:41:42 -0400] "GET / HTTP/1.1" 404 198
    <server-name>.<internal-domain> - - [23/Sep/2020:13:42:48 -0400] "GET / HTTP/1.1" 404 198
    <server-name>.<internal-domain> - - [23/Sep/2020:13:43:55 -0400] "GET / HTTP/1.1" 404 198
    ...

    error.log
    ...
    [Wed Sep 23 13:41:42 2020] [error] [client 127.0.0.1] File does not exist: C:/apache
    [Wed Sep 23 13:42:48 2020] [error] [client 127.0.0.1] File does not exist: C:/apache
    [Wed Sep 23 13:43:55 2020] [error] [client 127.0.0.1] File does not exist: C:/apache
    ...


<server-name>.<internal-domain> is what Windows indicates the fully qualified server name is. For us it's server.company.local.

It's weird that it's every minute and six (or seven) seconds.

We don't see anything scheduled which would correspond to this, and there is no file C:/apache. I'm tempted to create a C:/apache just to see what will happen. Apache itself is installed under C:/Program Files/Apache Software Foundation/Apache2.2/.

Has anyone seen something like this?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 24 Sep '20 9:47    Post subject: Reply with quote

run httpd.exe -S to see the configured vhosts. Maybe that give you a hint where to look at.
Back to top
yiminrong



Joined: 23 Sep 2020
Posts: 2
Location: Canada, Toronto

PostPosted: Thu 24 Sep '20 14:43    Post subject: Internal access/error repeating every minute Reply with quote

James Blond wrote:
run httpd.exe -S to see the configured vhosts. Maybe that give you a hint where to look at.


Thank you, it shows the hosts we know about. They have different roots, and they work okay. In particular, HTTP port 80 has its root outside of Apache.

We confirmed the file it's looking for is C:/apache/htdocs/index.html and using HTTP on port 80. This path is mentioned in the PHP install documentation:

Code:
doc_root = c:\apache\htdocs // for Apache


But in the php.ini file, doc_root is not set. Could it be defaulting to C:/apache/htdocs/ in some kind of PHP background process?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Mon 05 Oct '20 10:35    Post subject: Re: Internal access/error repeating every minute Reply with quote

yiminrong wrote:
Could it be defaulting to C:/apache/htdocs/ in some kind of PHP background process?


Not that I know of such a thing.
Back to top


Reply to topic   Topic: Internal access/error repeating every minute View previous topic :: View next topic
Post new topic   Forum Index -> Apache