Apache service not working even though httpd.exe works fine - windows

For some reason ever since I installed mod_wsgi on Apache 2.4 on Windows 10, the service for starting Apache on the background stopped working and no error is logged.
If I go to the bin folder where Apache is installed I can just open a CMD windows and write httpd and it starts listening and everything works fine.
I saw this similar on SO but I have already installed both x64 and x86 versions of the VC++ 2012 runtime.
If I comment out the line that loads python36.dll along with the one that loads mod_wsgi, the service starts without any issues.
P.S. I installed Apache from Apache Lounge and I'm not using XAMP, WAMP ...

Related

problem with xampp installation: Apache WILL NOT start without the configured ports free

after installation of xampp, I got this Problem:
screenshot
i am using windows

Why xampp setup is not running correctly in windows 8.1

I have the problem with setup.Setup wont install correctly.It says "apache server has stopped working" but setup installing continues and says "CLI has stopped working".But still setup continues installing and says creating uninstaller.Finally setup got finish and ask to start control pannel.
Mysql works properly but apache server wont start working.
Uninstall XAMPP Server
Restart your PC
Stop UAC (User Account Control Setting)
Install latest version of XAMPP: https://www.apachefriends.org/download.html (64bit) or use portable version :
https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/7.3.12/
if you have a problem with starting the Apache service check the port 80. (change the default port to 8080 in the config file)

How Can i Run jboss EAP-7.0.0 as windows service on windows 7 x64?

I have installed Jboss EAP-7.0.0 on windows 7 x64 operating system.
When i run Jboss EAP-7.0.0 via standalone.bat file inside bin direcotry it starts without any problem and deployed .war files also work without any problem, but when i try to run serice.bat install command inside bin direcotry it gives following output in console: Please install native utilities into expected location D:\jboss EAP-7.0.0\EAP-7.0.0\..\jbcs-jsvc-1.0
I tried googling this issue. I also tried to follow this link: Failed to start EAP 7 as Windows service. (you might need to login on in webpage to see whole discussion) and this link 4.3. CONFIGURING JBOSS EAP AS A SERVICE IN MICROSOFT WINDOWS SERVER but the products dropdown is empty (please see the image)
I am really confused and need your help: How do i download and install jbcs-jsvc-1.0 ?
.
Disclaimer: I didn't confirm this on Windows 7 but it works under Windows Server 2016. I.e. since there shouldn't be any relevant difference, it should be fine.
The service.bat included in JBoss EAP 7 expects a prunserv.exe at one of the following locations:
%JBOSS_HOME%\..\jbcs-jsvc-1.0\sbin\prunsrv.exe or
%JBOSS_HOME%\bin\prunsrv.exe
If you don't have the proper subscription/permission to download the JBoss Core Services Jsvc (e.g. because you just have a developer subscription), you can just download the prunsrv.exe as part of the freely available Apache commons-daemon package:
Download "commons-daemon-1.0.15-bin-windows.zip", e.g. from
http://mirrors.advancedhosters.com/apache/commons/daemon/binaries/windows/
Unzip it into the %JBOSS_HOME%\bin folder
Run service.bat install
Instead of an error message, you get notified that your Windows Service has been successfully installed as "JBossEAP7" (unless you already have one with that name).
I am afraid you have to log in to the Red Hat Customer Portal JBoss Software Downloads page, in order to download and install the JBoss Core Services Jsvc package.
After downloading the appropriate zip file (latest version, correct platform and architecture), extract it into the directory "containing" your JBoss EAP installation directory. In other words, the new "jbcs-jsvc-" directory should be at the same depth as your JBoss EAP installation directory.
Then, go on and install the service the same as EAP 6.x

Upgrading Apache on Windows Server 2008 R2

I am currently running Apache 2.2 on Windows Server 2008 R2. I would like to upgrade Apache to version 2.4.9 so that I can run mod_security2. I installed Apache 2.2 via an installer. I don't, however, see an installer for Apache v2.4.9. I can find the full Apache Windows binaries on ApacheLounge. I'm just not clear on how to seamlessly upgrade to version 2.4.9. Here's what I'm thinking of doing:
download version 2.4.9 Windows binaries from ApacheLounge
stop Apache 2.2 service
rename C:\Program Files (x86)\Apache Software Foundation\Apache2.2 to Apache2.2_OLD
create Apache2.4 folder at C:\Program Files (x86)\Apache Software Foundation\
copy contents of downloaded Windows binaries to Apache2.4 folder
set up httpd.exe within the Apache2.4\bin folder as a Windows service
copy httpd.conf file from Apache2.2\conf over to Apache2.4\conf
modify httpd.conf file to point to new Apache installation location
copy any modules from Apache\modules that are missing (and needed) from Apache2.4\modules
start Apache2.4 Windows service
Am I over-simplifying? What steps are missing? I'm relatively new to Apache, so it's possible I'm overlooking the obvious.

Cassandra as a Windows Service

I just installed Apache Casandra 1.2.1 on Windows Server 2012 (It's a VM). I double clicked cassandra.bat and it worked without an error.
How can I run Cassandra.bat as a Windows Service, so I can sign out from cumputer?
cassandra.bat file also helps you to run Cassandra as a Windows Service. You just need Commons Daemon Service Runner Windows binaries.
You will need to create a folder named daemon under the bin directory and extract the correct version (32/64 bit) of prunsrv.exe to this directory (bin\daemon).
Run command prompt and change directory to the bin. Type;
cassandra.bat install
Then run services.msc command to see cassandra(yes, lowercased) as a Windows Service.
You can also download
Datastax Community Edition
or
Cassandrows
which easily install, configure and run Apache Cassandra as a Windows Service.

Resources