Apache :: 2.4.7 Not Answering On Windows Server 2012
Feb 12, 2014
So, here is my setup: a newly installed Windows Server 2012. The only software installed on it beyond the operating system is Apache 2.4.7 and PHP 2.4. The computer is in a LAN behind a router. The router tunnels port 80 to port 80 in this computer.
After I set up my website, everything was working perfectly: I could see the web pages from outside my LAN, PHP was executing, accesses were logged.
Then after a couple days, I could not open the pages from outside the LAN. From within the LAN, I could open them sometimes and sometimes they wouldn't.
Some facts:
From within the server itself, I can open all pages.
If I telnet to port 80 either from within the LAN or from outside, a few times the port would answer but wouldn't serve the GET request, while other times it just does not reply.
Netstat shows port 80 binded to httpd.exe.
If I make the router tunnel port 80 to another computer in the LAN, I can serve pages from this other computer, so it doesn't seem like the router is the problem.
The server does not answer to vpn connect attempts either. It does open connections to Remote Desktop, however, even from outside the LAN (both ports tunnelled by the router).
I have tried all this both with Windows Firewall activated and not activated. I have also checked the rules, and the only rule that mentions port 80 is the one for Apache, and is set to allow all.
No error messages are reported in Apache logs.
Restarting the server did not seem to make a difference.
OS: Windows Server 2012 Standard (x64) Plesk: v11 SmarterMail: v10, v9
Plesk does not read any IP addresses from the server. I can't get past the first webspace setup page that requires a Website IP as the only thing in the list is "None".
The PR Reconfigurator tool doesn't list any IPs in the top section, yet it does list all the server IPs in the bottom right section.
I've tried re-installing Plesking, Repairing, Re-reading IP addresses, all result in the error message below about mailmng.
Neither the latest SmarterMail v10 or v9 are working.
I'm not sure if the issue is with SmarterMail not being able to populate the IP address, or if the issue is with Plesk v11 not being able to read Server 2012's IP addresses.
C:Program Files (x86)ParallelsPleskbin>ipmanage.exe --reread mailmng failed: command --assign-ports-to-ip not supported.Click to expand...
After upgrading to Plesk Panel 12, when db user is created on MsSQL 2012 server, db user seems to be missing db_owner role which is causing a lot of hassle at the moment.
I was not able to locate any settings for such except for following option.
"Enable the db_backupoperator role membership for all Microsoft SQL Server database users"
Please note, this only applies to new db user created as Plesk 11.5 didn't have such problem and only seems to be related to SQL 2012 not 2008.
Today i setup a test environment. I have all fresh OS installs today. Management node is Centos 6.5 with PPA 11.5 update 2
I go to servers > add > choose IIS role. The Server is Windows 2012 R2, I have disabled Windows Firewall and disabled UAC, and rebooted it before trying to setup on PPA.
Enter IP and i get the following error.
Code: Automated WinRM Enabling Failed Error during WinRM enabling on '192.168.1.101'. Script exit code is 1. Script output (stdout/stderr): ERROR: Cannot open control pipe - NT_STATUS_INVALID_PARAMETER Failed to install winexesvc /
Repair Connectivity To make automated deployment possible please try to check network communications between Management and target nodes. Ensure that WMI is not blocked on a target node. Or copy, paste and invoke the following script on a target node.
However, it does create several roles in windows firewall so PPA can connect and sucessfully created X number of rules.I too disabled IPTables on management node.
I recently had to move my site from Linux to Windows hosting because I was adding an application that requires ASP.NET. The problem is the server that it uses (Windows iis) makes other parts of my site not work.
So my programer recommended using an Apache server with my Windows VPS (or hosting - I have no specific preference of either VPS or hosting) -
Does anyone know a hosting company that does this? Offers Windows hosting with an Apache server?
i installed wampserver on my remote windows VPS.i opened port 80.after that i try to connect it by typing "h t t p : / / remotelink" on my local machine browser.but i can not connect.
With Windows 2003 server, there are comprehensive lists of what you need to do to secure the server before use. For Windows 2008, I wonder is there such a list? Or is it true as what I heard from Microsoft that it is already secured out of the box?
Anyone has any resources on the hardening or preparation of 2008 for server hosting uses?
I have begun setting up my webserver on a windows machine with apache 2.2
i`m a bit of a beginner in this so basically i'm asking if you are able to point me in the right direction. what i would like to do is:
1. have one dedicated server (im on a satellite connection, i have multiple static IP's on this connection)
2. Have it host my own website (forums, chat rooms, databases) and possibly more websites in the future
3. on this same connection will be other users that will use the internet connection as normal(basic "home users")
4. i dont know what software to use really, i have used Konsole H before with my previous host and that looks cool but i`m unsure on how i would implement something like this.
5. i would like to setup my personal hosting enviroment as a profesional hosting enviroment would have it. all hosted on windows. all i`m aware of is apache. how do i get this off the ground.
i couldn't find a more suitable category to put this post in: I am setting up a development server local to my office here, so that we can develop projects using an SVN app, but the SVN system needs SSL for logging in. i am now going round in circles where httpd.exe cannot start as a service from the apache monitor, with the following error:
The Apache service named reported the following error: >>> httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.84 for ServerName in the windows event viewer.
I'm using: Windows XP Home edition, SP3 Apache 2.2.9 full computer name is devserver workgroup is WORKGROUP
I used openssl bundled with this version of apache to generate the SSL certificate, and they all seem to be ok. When i change the line
SSLEngine on
in the httpd-ssl.conf file, the apache service starts when the SSLEngine is off, but not when the SSLEngine is on.
i have trawled the internet but not found any answer. ive checked thru httpd.conf and httpd-ssl.conf several times but i just can't see anything wrong (although im not entirely experienced!).
I cannot uninstalling Apache 2.2 from my Win7 PC.First of all it is not listed in the add/remove programs and second there is not a bin file in the folders.The only folders I find are conf, htdocs and logs.Currently I use Apache 2.4. Apache 2.2 is useless to me as you understand and so the service is stopped-as such I want to remove it from the system.
I am trying to use the Windows CreateSemaphore in a C++ CGI function to provide protection against multi-write-access to a file (within the webserver address space) by multiple instances of my CGI program. I guess I have 3 questions:
1. Will APACHE prevent the multi-access for me?
2. Can I get Apache to prevent multiple instances of the CGI from running at the same time (they are VERY short (millisec long) programs
3. If the answers to the above 2 are "no", can I get support on using CreateSemaphore, because mine always return NULL? (I've tried simple examples with no DACL, unnamed semaphore, etc.)
recently I have update our Apache 2.2 instance to 2.4.10, and started using Apache in Windows 2008 R2 64 bit (before we were using it in Win 2003). Our Apache is used mainly as reverse proxy to 3 apps. Well, it seems that, even if I have scheduled a nightly reboot of its service, every day it hangs, becoming unresponsive and forcing us to restart it to make it work again.
I have Apache 2.2.17 running on Windows 7. I'm using PHP to query a Windows 2008 LDAP server. Everything works ok until I try to use LDAPS. Many of the resources I can find refer to a ldap.conf file and the certificates being the main problem. I don't have an ldap.conf file anywhere, so I put all of the relevant lines in the httpd.conf.
I'm getting from the 2008 AD server. I haven't found any tutorial that covers it with an implementation in Apache on Windows. Many tutorials cover using LDAP to authenticate to the site, but I need to use it for queries. I used the procedure at URL... to get the certificate installed and exported. But I don't know a way to confirm that it's using the cert I think it is for LDAPS. All LDAPS tests work (LDP.EXE from Windows).
I have a fair ammount of load on the server, and I want to cache as much as possible to reduce disk IO. The harddrive is a major bottleneck for performance. The server serve a lot of files larger than 10MB, so I want to cache as much of the files below 10mb as possible.
First off I want to cache around 200k thumbnail files, where around 1000 new gets added every day.
Secondly it would be preferred to cache dynamic files in a way that the file timestamp is checked at a regular interval, and then read again if timestamp has changed.
Is there any free solutions on windows with apache for this?
In my computer (Windows 7 Ultimate) I host my sites with Apache 2.2.25 - mod_fcgid-2.3.6-win32-x86 and PHP 5.4.28. In "httpd-vhosts.conf" file from Apache I have my domain set as follows and work fine (http://www.example.com or http://example.com):
But when I tried to access the page: http://www.director.example.com or http://director.example.com, I was redirected to the page http://www.example.com.
I have DNS configured for "example.com" and "director.example.com". This sites is live in another server.
Error.log files for "director.example.com" and Apache is empty. How can I configure the subdomain to work?
I am trying to figure out how Apache is working on windows 7 - so far so good - but how do I set restrictions and limitations on bandwidth usage and max number of IP-connections?
My Apache server not starting after Window 8.1 update.Read some solutions that it might have conflict with skype, i have uninstalled skype still same problem.
Ok so I just installed apache 2.2 on windows server 2008.
I would like to set it up so if I go to 99.144.79.25(Server IP) I get index1.html. If I go to example.com which points to 99.144.79.25 I get index2.html. If I go to example3.com which points to 99.144.79.25 I get index3.html.
So kind of like, if the domain folder is not found on my server, give the page index1.html.
In the long run I want to run a bunch of sites with different domains, testing right now though.
Does anyone know how to install the Frontpage Server Extensions on an Apache server which is running on a Windows box? I've searched around including on Microsoft's site, but I was only able to find info on how to configure for Apache running on unix/linux.
I've got a quite difficult problem which I don't know hoe to solve. We use a self created ISAPI module which is a "business server" running behind an Apache.
From time to time a client app crashes the server (the circumstances are not quite clear) - and because there is only one server process, all other clients crash as well. Here is an exemplary log of a crash:
Exception code: 0xc00000fd means stack overflow as I learnt. Therefore we configured mpm_winnt_module to use a 8M ThreadStackSize but this didn't work.
A solution might be that Apache starts for every client its own server process with the module ABCServer.dll. Because it is quite small and there are not thousands of customers this sounds like the perfect solution. No other clients/customers would be affected by a crash.
Unfortunately mpm_winnt_module supports only 1 process AFAIK. Worker and Prefork MPM are not available in Apache's Windows version what I read.
How can we configure Apache to start a new module process per client?
What's the go with seeding the PRNG on windows as there isn't dev/random or dev/urandom? Should I use CryptoAPI or just use a file with random contents and change it often, or just leave the PRNG to "almost" randomise itself?
Installed Apache Server 2.4.3 (no PHP, etc.) and it was working beautifully for a week or so. Yesterday, I restarted my laptop (nothing changed... no updates that install automatically, etc.) and now Apache won't start. Here are some things I've found out on my quest on figuring out what's wrong:
1. Apache Error Log: [Sat Jan 05 14:18:36.745977 2013] [mpm_winnt:notice] [pid 4116:tid 372] AH00455: Apache/2.4.3 (Win64) configured -- resuming normal operations [Sat Jan 05 14:18:36.745977 2013] [mpm_winnt:notice] [pid 4116:tid 372] AH00456: Server built: Aug 18 2012 14:13:48 [Sat Jan 05 14:18:36.745977 2013] [core:notice] [pid 4116:tid 372] AH00094: Command line: 'C:Apache24inhttpd.exe -d C:/Apache24' [Sat Jan 05 14:18:36.747979 2013] [mpm_winnt:notice] [pid 4116:tid 372] AH00418: Parent: Created child process 3436 [Sat Jan 05 14:18:37.335418 2013] [mpm_winnt:crit] [pid 4116:tid 372] AH00419: master_main: create child process failed. Exiting.
2. Nothing else is using port 80 (or 443, for that matter).
3. Apache will start and stay running if I run httpd.exe from the DOS prompt or double-click it from within Windows just fine.
4. Will not run when launched from within the Services or Apache Service Monitor app.
5. Windows Event Error displays the following error: Faulting application name: httpd.exe, version: 2.4.3.0, time stamp: 0x502f863e Faulting module name: MSVCR100.dll, version: 10.0.40219.325, time stamp: 0x4df2bcac Exception code: 0xc0000417 Fault offset: 0x0000000000070468 Faulting process id: 0x13d8 Faulting application start time: 0x01cdeb8eefaec475 Faulting application path: C:Apache24inhttpd.exe Faulting module path: C:WindowsSYSTEM32MSVCR100.dll Report Id: 2deab70b-5782-11e2-be94-00247e17b5d9 Faulting package full name: Faulting package-relative application ID:
6. I've tried fixing/reinstalling the C+ redistribution files about 3 times now, to no avail (thinking the error in the event file was caused by a bad/corrupt MSVCR100.DLL).
7. The exception code in the event error is: 0xc0000417 = STATUS_INVALID_CRUNTIME_PARAMETER = An invalid parameter was passed to a C runtime function. (But again, reloading the files didn't solve anything).
8. I have tried removing Apache completely, reloading with default settings, etc. and still having the same issue.
9. Out of desperation, I even tried a registry cleaner (CCClean) and CHKDSK on the drive. Both of those didn't fix anything.
This is it... not sure what else to do/try. Again, everything was fine one moment, and it all stopped working after rebooting my system. I've wasted hours into this issue, and have come up empty handed. I'm beyond frustrated at the moment.
EDIT: The download I used for the server is located here: [URL]...