Windows Server 2008 R2 Running Apache Having Issues Displaying Web Pages


I am having a strange issue with some Apache web servers running on Hyper-V virtual machines. Here is the scenario:

When we restart the VM that is running the Apache website, the website is available and displays on the local machine but not outside of the local machine. We opened a case with Microsoft and they are seeing that the request to view the site (SYN Packet) is received by the web server but the site never responds to the request. All the appropriate services are running and the ports are opened and listening but the site doesn't respond from outside its local machine. Restarting the VM repeatedly or restarting the Apache service eventually corrects the issue and the site works as it should.

Microsoft is persistent that this is an Apache issue but nothing shows in any of the logs in Apache or on the Windows side. Again, this is a virtual machine running on a physical host. All the servers are Windows 2008 R2 SP1 and we are running Apache 6.

Has anyone ever encountered this before? I am thinking at this point that there may be some dependency service that isn't starting properly or in the right order but I don't know enough about Apache to isolate the issue. Thanks.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi There,

Couple of questions:

Are the Hyper-V vNICs properly bound to the physical NICS?
IP addresses/subnetmasks properly configured?
Can a machine outside of the Apache webserver ping the webserver?
Is the webserver listening on port 80 (go cmd --> netstat -ona |findstr 80) ?
ApexadminAuthor Commented:
Yes, the NIC's are configured correctly.
Yes, all IP's and Subnets are correct as well.
Yes, machines outside of the webserver can ping the machine, and even use other services like RDP and run backups.
Yes, the webserver is listening on port 80.

All of  this was also confirmed by the Microsoft technician.
Hmmm... odd...

That would then eliminate all possible network issues.

I would look around in the Apache confhttpd.conf file.
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

ApexadminAuthor Commented:
Nothing helpful there. It really seems like there is some type of timing issue taking place here. An issue where Apache is starting too quickly and not allowing other necessary services to complete first perhaps. I am doing some controlled testing but I would love any additional advice.
ApexadminAuthor Commented:
Here is the relevant configuration output from the server.xml file. Any issues here?

<Connector port="80" maxHttpHeaderSize="8192"
               maxThreads="500" minSpareThreads="25" maxSpareThreads="200"
               enableLookups="false" redirectPort="443" acceptCount="100"
               disableUploadTimeout="true" URIEncoding="UTF-8"  
               compression="on" compressableMimeTypes="text/html,text/xml,text/javascript,text/css,text/plain"/>
ApexadminAuthor Commented:
This issue continues to happen and only with Apache. I am going to say that at this time the issue is with Apache.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ApexadminAuthor Commented:
No real solution presented itself.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.