Cannot load modules/mod_ssl.so into server - windows

I'm trying to set SSL to my localhost server with WAMP. (https://localhost)
I followed this Youtube course:
https://www.youtube.com/watch?v=TH6evGKgy20
But finally, I got this error by running "httpd -t" command in Apache folder:
D:\Programs\wamp3\bin\apache\apache2.4.17\bin> httpd -t
httpd: Syntax error on line 173 of D:/Programs/wamp3/bin/apache/apache2.4.17/conf/h
ttpd.conf: Cannot load modules/mod_ssl.so into server: The operating system cannot
run %1.
What's the problem?

The problem was OpenSSL version.
I was installed Win 32 version before, but I should install Win64 OpenSSL v1.0.2j Light (from here). Also, "Copy DLLs to Windows System directory" option must be checked in the installation wizard.
After installing it, everything worked correctly!

I'd a problem with running mod_ssl on simply oldest Apache/2.4.41 version on Windows Server 2016, witch perfect works on Windows 10 Pro. Fix solution for WS2016 consist in updating to the new Apache/2.4.43 or copying mod_ssl.so from Apache/2.4.43 to Apache/2.4.41 modules.
Note: that Update httpd 2.4.41 with OpenSSL 1.1.1.e! Make sure the run time variable OPENSSL_CONF is set. Be sure you installed latest Visual C++ Redistributable for Visual Studio 2015-2019

Related

Cannot install Aptana Studio on Windows 10: Failed to Correctly Aquire installer_git_windows.exe file: CRC Error

Whenever I run the standalone installer for Aptana Studio I get the following error:
Failed to Correctly Aquire installer_git_windows.exe file: CRC Error
I'm running Windows 10, I've looked online for hours and have found no solution.
I had this problem solved by installing the Git from http://go.appcelerator.com/installer_git_windows.exe.
I had the same error. I believe it still has something to do with the NodeJS.
I went to this site https://nodejs.org/en/download/ use the 32 bit version for Windows 10. Then installed an older version of Aptana https://aptana-studio.en.uptodown.com/windows/versions with the 3.4.2 and tada.. it worked. I don't mind the older version for now.
Rename the installer file to "aptana.exe"
Move that file to c drive
Open CMD in administrator mode Type "c:/aptana.exe /passive /norestart"
Press enter
After some process, a new exe file will be available on desktop which you can use.
It worked for me.
Simply download git from https://git-scm.com/download/win and install it manually before launching the Aptana installer and it will work.

RabbitMQ 3.6.6 on Windows 10 64-bit - Erlang not detected

I am running 64-bit Windows 10, I installed Erlang 64-bit R16B03, set-up ERLANG_HOME system env variable (not the user env var) and validated it to work OK from command shell.
When I run RabbitMQ3.6.6.exe to setup I get error "Erlang could not be detected". What version of Erlang do I need for RabbitMQ 3.6.6 ??
Does Erlang have to be installed in C:\Program Files??
I installed it in C:\Erlang folder.
I also tried to add %ERLANG_HOME%\bin to Path but it made no difference.
I have VC++ redistributable exe already installed (2005,2008,2013,2015).
I tried version OTP 19.2 (erl8.2) of Erlang with same results.
Any ideas?
I am trying to avoid installing manually from RabbitMQ zip file because I am new to RabbitMQ and just want to get it up and running so I can learn it.
Thank you
I got it working. Basically, setup does not work unless you install it in default C:\Program Files folder on Windows 10 64-bit. I had Erlang initially installed in C:\Erlang and even though ERLANG_HOME system var was correctly set up still did not work from RabbitMQ setup. Once I installed Erlang in C:\Program Files and ran ERLANG and RabbitMQ set-ups "run as administrator" then it installed.
Erlang should be installed in its default location C:\Program Files\erl8.3.
Once you have installed in the default location you have to set
ERLANG_HOME and Path in your environment variables.
Only then the RabbitMQ installation will start.
Important note: Installing Erlang in other than the default location mentioned above will not work even if you have set environment variables.
I got the same issue with RabbitMQ 3.5.6 and erlang 1.7.
The ERLANG_HOME was set correctly but I couldn't install rabbitMQ as it said that couldn't find erlang.
I have removed erlang and install it again. But I run installation exe as Administrator.
And then I installed RabittMQ successfully.

Run mongo 3.2.4 with --ssl parameter under Windows

I've downloaded MongoDB Community Edition for Windows from mongodb.org (Windows 64-bit 2008 R2+), and website says that this version has SSL support (there are alerts on other versions that say they haven't). I'm running Windows 10. From what I've understood, SSL is build in by default from version 3.0, and I'm running with an Ubuntu server a mongod Community Edition instance (64bit, 3.0.10) installed from repository that use SSL.
When I try to run mongo.exe on local Windows machine with --ssl parameter it says:
Error parsing command line: unrecognised option '--ssl'
and others tools say that it doesn't support ssl.
I'm sure that on a previous setup I was running a 3.0.x mongo instance with SSL support on windows, I've tried also to install older versions, but nothing works.
My questions: are 3.0 and 3.2 community edition branches (still) compiled with SSL support on Windows, and if yes, why they doesn't work on my current setup? I'm sure they worked on previous one, may be a configuration problem?
Not sure why the Downloads page links to the Non SSL bundle. The Official Help page indicates the installer file name is mongodb-win32-x86_64-2008plus-ssl-3.2.4-signed.msi which is not the same as the one downloaded via Downloads page (mongodb-win32-x86_64-3.2.4-signed.msi). Get the SSL enabled installer from https://www.mongodb.org/dl/win32/x86_64-2008plus-ssl

How do I install XAMPP to another directory on Windows 10?

I'm having the hardest time installing XAMPP on C:\Development\xampp on Windows 10. I would like my C drive to be as clean as possible so I'm moving as many dev tools to the Development folder as I can to achieve this. I get an error towards the end of the XAMPP installation about a problem running the post-install step. It then suggests I install Microsoft Visual C++ 2008 Redistributable, which I already have the 2012 version installed. Originally XAMPP was installed on C:\ with no problems.
How do I install XAMPP to the above directory or any directory other than C:\?
Edit:
I have tried installing XAMPP portable and now receive the following error
I'm no longer on Windows so I can't re-test, but as I recall, the easiest way I managed this was to use the portable version of xampp.
Make sure to run the shell setup script so that it recognizes it's location properly.
You can get it from Apache Friends
Or from PortableApps.com

Loading wsgi_mod with Apache on Windows 7

I have seen this question asked a number of times, and I have tried the solutions described - unfortunately the solutions have not worked for me, so I'd like to ask my own question. I hope it's not marked as a dupe or similar.
My problem is that, on Windows 7, I can't get Apache 2.0 to load the WSGI module, which I need in order to run a Django project. Let me start by describing my environment, and how I got there.
Windows:
I'm on Windows 7 64-bit Enterprise with Service Pack 1.
Python: I have installed python 2.7.3 32-bit and put it on my path. When I type python in PowerShell, I see this message:
C:\ $ python
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
I have installed 32-bit python, since there's no 64-bit version of the WSGI module for Windows. I have made sure to install it for all users (I have seen on other questions, that installing for all users solved the problem with loading the WSGI module, but it has not solved the issue for me). I have installed python through following steps:
Start PowerShell as Administrator (right click -> "run as Administrator")
Run the following command: msiexec /i python-2.7.3.msi ALLUSERS=1 (as described here: http://www.python.org/getit/releases/2.4/msi/)
Apache: I have installed Apache 2.0 32-bit (so that the bit version of Apache matches that of Python, and that of the WSGI module). When I enter services.mscin the "Run" dialog (Win+r) and mark Apache, I can see the following in the description to the left:
Description:
Apache/2.0.64 (Win32)
Apache is installed in this directory: C:\Program Files (x86)\Apache Group\Apache2. Before I installed mod_wsgi Apache started up just fine.
mod_wsgi: I have downloaded the binary for Windows and Python 2.7 from here: https://code.google.com/p/modwsgi/wiki/DownloadTheSoftware?tm=2 (The file is called "mod_wsgi-win32-ap22py27-3.3.so"), I have then renamed it to mod_wsgi.so and copied it to C:\Program Files (x86)\Apache Group\Apache2\modules. Finally, I have put this line in Apache's httpd.conf: LoadModule wsgi_module modules/mod_wsgi.so.
Now, when I try to start Apache, I'm met with this error:
Syntax error on line 174 of C:/Program Files (x86)/Apache Group/Apache2/conf/httpd.conf:
Cannot load C:/Program Files (x86)/Apache Group/Apache2/modules/mod_wsgi.so into server:
The specified module could not be found.
I'm pretty much stuck here.
The rubber duck helped me out tremendously here. When proofreading my question, I discovered that mod_wsgi's filename indicated that it works with Apache 2.2. I also discovered that I had installed Apache 2.0.
Upgrading to Apache 2.2 solved my problem. Hope it'll help someone out there.

Resources