Failure to load mod_ssl under NT/apache 2.0
I've been trying to get apache 2.0.39 +modssl to work under winNT. But i am failing at what seems like the first hurdle i.e. i cannot seem to get the apache mod_ssl.so module to load. It comes up with the following: Cannot load C:/apache2/modules/mod_ssl.so into server: The operating system cannot run %1 Any ideas greatfully received as I cannot see what I have done wrong, Alex Technical Manager Online Learning Support Unit Middlesex University Business School [EMAIL PROTECTED] 020 8411 5092 __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
RE: Failure to load mod_ssl under NT/apache 2.0
-- Original Message -- From: Alex Moon [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 17 Jul 2002 11:37:20 +0100 I've been trying to get apache 2.0.39 +modssl to work under winNT. But i am failing at what seems like the first hurdle i.e. i cannot seem to get the apache mod_ssl.so module to load. It comes up with the following: with apache 1.3.2* under windows (not cygwin) you had to load .DDL and not .SO maybe it a way to search Cannot load C:/apache2/modules/mod_ssl.so into server: The operating system cannot run %1 Any ideas greatfully received as I cannot see what I have done wrong, Alex Technical Manager Online Learning Support Unit Middlesex University Business School [EMAIL PROTECTED] 020 8411 5092 __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED] __ D O T E A S Y - Join the web hosting revolution! http://www.doteasy.com __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
Re: Failure to load mod_ssl under NT/apache 2.0
arcean wrote: -- Original Message -- From: Alex Moon [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 17 Jul 2002 11:37:20 +0100 I've been trying to get apache 2.0.39 +modssl to work under winNT. But i am failing at what seems like the first hurdle i.e. i cannot seem to get the apache mod_ssl.so module to load. It comes up with the following: with apache 1.3.2* under windows (not cygwin) you had to load .DDL and not .SO maybe it a way to search Cannot load C:/apache2/modules/mod_ssl.so into server: The operating system cannot run %1 Any ideas greatfully received as I cannot see what I have done wrong, Alex Technical Manager Online Learning Support Unit Middlesex University Business School [EMAIL PROTECTED] 020 8411 5092 __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED] __ D O T E A S Y - Join the web hosting revolution! http://www.doteasy.com __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED] I have not done this for several weeks and maybe the distribution has changed, but... mod_ssl.so was not built with Apache 1.0.39 ...you have to build it. 1. place openssl into ?:\httpd-2.0.39\srclib ... there are instructions somewhere to follow... 2. follow the instructions in openssl and build it ... you need masm7, perl, vc6, etc. 3. build apache ... it finds openssl and builds mod_ssl.so ... you need awk, bison, sed and flex (new cygwin) ... I had to get newer version of cygwin before it worked, but then the newer perl was a problem. ... older perl must be in path before cygwin After it all comes to gether you can use nmake -f makefile.win installr Then I had trouble making certs... Try these hints ... I will make more detailed instructions later if needed but I think the newer packages (must) probably work better than what I used ... but I have not checked. I will have to download new source and try again to know what the situation is and I am sorry but I have to run off to work. Later, ok? Chris. __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
Re: Failure to load mod_ssl under NT/apache 2.0
-- Original Message -- From: hunter [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 17 Jul 2002 09:22:37 -0400 arcean wrote: -- Original Message -- From: Alex Moon [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 17 Jul 2002 11:37:20 +0100 I've been trying to get apache 2.0.39 +modssl to work under winNT. But i am failing at what seems like the first hurdle i.e. i cannot seem to get the apache mod_ssl.so module to load. It comes up with the following: with apache 1.3.2* under windows (not cygwin) you had to load .DDL and not .SO maybe it a way to search [over load sniped ... ] I said : with apache 1.3.2* under windows (not cygwin) you had to load .DDL ^^^^^ not cygwin, native win32 if you prefer (with DLL) 1.3.2* like 1.3.20 or 1.3.26 ... not 1.0.39 (not sure it existes) i know my english is bad but with cygwin i never try I have not done this for several weeks and maybe the distribution has changed, but... mod_ssl.so was not built with Apache 1.0.39 ...you have to build it. 1. place openssl into ?:\httpd-2.0.39\srclib ... there are instructions somewhere to follow... 2. follow the instructions in openssl and build it ... you need masm7, perl, vc6, etc. 3. build apache ... it finds openssl and builds mod_ssl.so ... you need awk, bison, sed and flex (new cygwin) ... I had to get newer version of cygwin before it worked, but then the newer perl was a problem. ... older perl must be in path before cygwin After it all comes to gether you can use nmake -f makefile.win installr Then I had trouble making certs... Try these hints ... I will make more detailed instructions later if needed but I think the newer packages (must) probably work better than what I used ... but I have not checked. I will have to download new source and try again to know what the situation is and I am sorry but I have to run off to work. Later, ok? Chris. __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED] __ D O T E A S Y - Join the web hosting revolution! http://www.doteasy.com __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
Re: Failure to load mod_ssl under NT/apache 2.0
Alex wrote: I've been trying to get apache 2.0.39 +modssl to work under winNT. But i am failing at what seems like the first hurdle i.e. i cannot seem to get the apache mod_ssl.so module to load. It comes up with the following: Cannot load C:/apache2/modules/mod_ssl.so into server: The operating system cannot run %1 Experienced the same prob myself just yesterday. Consider the following checklist: * Download Apache_1.3.26-Mod_SSL_2.8.10-OpenSSL_0.9.6d-Win32.zip from www.modssl.org/contrib * Download latest OpenSSL binary for Win32 from same location * Unzip the apache archive into where you want your Apache to live * Unzip the OpenSSL archive where you want your OpenSSl to live * Ensure that your Path (System variable) is set to include the OpenSSL directory (wherever you chose to install it). (You can set the path by hitting Windows and Pause/Break keys, which will bring up the System Properties dialog. Under NT you select Environment tab and then select Path from the list of System Variables, then type to change it). As an additional measure, you may find that copying the .dll files (that are in the same directory as openssl.exe) to WINNT/System32 helps (although setting the path should also achieve the same end result) * Make sure your httpd.conf includes both the LoadModule and AddModule directives If I think of anything else, I'll let you know. I can also forward you some troubleshooting emails (provided to me by a colleague) if the above does not help? Good luck! Brendan __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
Re: Failure to load mod_ssl under NT/apache 2.0
arcean wrote: -- Original Message -- From: hunter [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 17 Jul 2002 09:22:37 -0400 arcean wrote: -- Original Message -- From: Alex Moon [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 17 Jul 2002 11:37:20 +0100 I've been trying to get apache 2.0.39 +modssl to work under winNT. But i am failing at what seems like the first hurdle i.e. i cannot seem to get the apache mod_ssl.so module to load. It comes up with the following: with apache 1.3.2* under windows (not cygwin) you had to load .DDL and not .SO maybe it a way to search [over load sniped ... ] I said : with apache 1.3.2* under windows (not cygwin) you had to load .DDL ^^^^^ not cygwin, native win32 if you prefer (with DLL) 1.3.2* like 1.3.20 or 1.3.26 ... not 1.0.39 (not sure it existes) i know my english is bad but with cygwin i never try I have not done this for several weeks and maybe the distribution has changed, but... mod_ssl.so was not built with Apache 1.0.39 ...you have to build it. 1. place openssl into ?:\httpd-2.0.39\srclib ... there are instructions somewhere to follow... 2. follow the instructions in openssl and build it ... you need masm7, perl, vc6, etc. 3. build apache ... it finds openssl and builds mod_ssl.so ... you need awk, bison, sed and flex (new cygwin) ... I had to get newer version of cygwin before it worked, but then the newer perl was a problem. ... older perl must be in path before cygwin After it all comes to gether you can use nmake -f makefile.win installr Then I had trouble making certs... Try these hints ... I will make more detailed instructions later if needed but I think the newer packages (must) probably work better than what I used ... but I have not checked. I will have to download new source and try again to know what the situation is and I am sorry but I have to run off to work. Later, ok? Chris. __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED] __ D O T E A S Y - Join the web hosting revolution! http://www.doteasy.com __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED] I'm sorry I failed to make it clear when I replied - I was in a hurry to get to work. The compile is with vc6 or vc 7 but some of the cygwin (unix) tools are used and must be avaialble. I don't use cygwin to build Apache or openssl. If you are still having trouble ... I am going to get the latest source now and see if the build conditions are the same as when I built mine. If they are then I think I can help you ... I worked through similar difficulties already. Chris. __ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager[EMAIL PROTECTED]
Re: Failure to load mod_ssl under NT/apache 2.0
I apologize for the sloppiness... hunter wrote: arcean wrote: (snip) I will have to download new source and try again to know what the situation is and I am sorry but I have to run off to work. Later, ok? Chris. I have not located an msi installer for Apache 2.0.39 These are the steps that I followed build it from source. 1. Download httpd-2.0.39-win32-src.zip 2. Unzip into directory httpd-2.0.39 3. Create directory ?:\httpd-2.0.39\srclib\openssl 4. Extract openssl-0.9.6d.tar.gz 5. Copy the contents of \openssl-0.9.6d to \httpd-2.0.39\srclib\openssl 6. Go to :\httpd-2.0.39\srclib\openssl follow instructions in INSTALL.W32 Bellow is the results mixed within the instructionss... Visual C++ -- First should run Configure: perl Configure VC-WIN32 2002.07.17 21.47.37.13 [I:\httpd-2.0.39\srclib\openssl]perl configure VC-WIN32 Configuring for VC-WIN32 IsWindows=1 CC=cl CFLAG =-DTHREADS -DDSO_WIN32 EX_LIBS = BN_ASM=bn_asm.o DES_ENC =des_enc.o fcrypt_b.o BF_ENC=bf_enc.o CAST_ENC =c_enc.o RC4_ENC =rc4_enc.o RC5_ENC =rc5_enc.o MD5_OBJ_ASM = SHA1_OBJ_ASM = RMD160_OBJ_ASM= PROCESSOR = RANLIB=/usr/bin/ranlib PERL =/usr/bin/perl THIRTY_TWO_BIT mode BN_LLONG mode RC4_INDEX mode RC4_CHUNK is undefined Configured for VC-WIN32. 2002.07.17 21.48.04.99 [I:\httpd-2.0.39\srclib\openssl] Next you need to build the Makefiles and optionally the assembly language files: - If you are using MASM then run: ms\do_masm 2002.07.17 21.48.04.99 [I:\httpd-2.0.39\srclib\openssl]ms\do_masm Generating x86 for MASM assember Bignum DES crypt(3) Blowfish CAST5 RC4 MD5 SHA1 RIPEMD160 RC5\32 2002.07.17 21.49.00.49 [I:\httpd-2.0.39\srclib\openssl]perl util\mkfiles.pl 1MINFO 2002.07.17 21.49.00.85 [I:\httpd-2.0.39\srclib\openssl]rem perl util\mk1mf.pl VC-MSDOS no-sock ms\msdos.mak 2002.07.17 21.49.00.85 [I:\httpd-2.0.39\srclib\openssl]rem perl util\mk1mf.pl VC-W31-32 ms\w31.mak 2002.07.17 21.49.00.85 [I:\httpd-2.0.39\srclib\openssl]perl util\mk1mf.pl dll VC-W31-32 1ms\w31dll.mak unknown option - 2002.07.17 21.49.01.34 [I:\httpd-2.0.39\srclib\openssl]perl util\mk1mf.pl VC-WIN32 1ms\nt.mak unknown option - 2002.07.17 21.49.01.79 [I:\httpd-2.0.39\srclib\openssl]perl util\mk1mf.pl dll VC-WIN32 1ms\ntdll.mak unknown option - 2002.07.17 21.49.02.23 [I:\httpd-2.0.39\srclib\openssl]perl util\mkdef.pl 16 libeay 1ms\libeay16.def 2002.07.17 21.49.05.07 [I:\httpd-2.0.39\srclib\openssl]perl util\mkdef.pl 32 libeay 1ms\libeay32.def 2002.07.17 21.49.07.95 [I:\httpd-2.0.39\srclib\openssl]perl util\mkdef.pl 16 ssleay 1ms\ssleay16.def 2002.07.17 21.49.10.64 [I:\httpd-2.0.39\srclib\openssl]perl util\mkdef.pl 32 ssleay 1ms\ssleay32.def 2002.07.17 21.49.13.33 [I:\httpd-2.0.39\srclib\openssl] - If you are using NASM then run: ms\do_nasm - If you don't want to use the assembly language files at all then run: ms\do_ms If you get errors about things not having numbers assigned then check the troubleshooting section: you probably won't be able to compile it as it stands. Then from the VC++ environment at a prompt do: nmake -f ms\ntdll.mak 2002.07.17 21.49.13.33 [I:\httpd-2.0.39\srclib\openssl]nmake -f ms\ntdll.mak Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. ' in macroak(239) : fatal error U1001: syntax error : illegal character ' Stop. 2002.07.17 21.50.09.96 [I:\httpd-2.0.39\srclib\openssl]nmake -f ms\ntdll.mak in macroak(239) : fatal error U1001: syntax error : illegal character - this is the error you get when you use the new cygwin perl... ...make certain older perl is ahead in path and start over... 2002.07.17 21.57.07.91 [I:\httpd-2.0.39\srclib\openssl]perl configure VC-WIN32 Configuring for VC-WIN32 IsWindows=1 CC=cl CFLAG =-DTHREADS -DDSO_WIN32 EX_LIBS = BN_ASM=bn_asm.o DES_ENC =des_enc.o fcrypt_b.o BF_ENC=bf_enc.o CAST_ENC =c_enc.o RC4_ENC =rc4_enc.o RC5_ENC =rc5_enc.o MD5_OBJ_ASM = SHA1_OBJ_ASM = RMD160_OBJ_ASM= PROCESSOR = RANLIB=true PERL =perl THIRTY_TWO_BIT mode BN_LLONG mode RC4_INDEX mode RC4_CHUNK is undefined Configured for VC-WIN32. 2002.07.17 21.57.54.71 [I:\httpd-2.0.39\srclib\openssl] 2002.07.17 21.57.54.71 [I:\httpd-2.0.39\srclib\openssl]ms\do_masm Generating x86 for MASM assember Bignum DES crypt(3) Blowfish CAST5 RC4 MD5 SHA1 RIPEMD160 RC5\32 2002.07.17 21.58.37.68 [I:\httpd-2.0.39\srclib\openssl]perl util\mkfiles.pl 1MINFO 2002.07.17 21.58.37.86 [I:\httpd-2.0.39\srclib\openssl]rem perl util\mk1mf.pl VC-MSDOS no-sock ms\msdos.mak 2002.07.17 21.58.37.86 [I:\httpd-2.0.39\srclib\openssl]rem perl util\mk1mf.pl VC-W31-32 ms\w31.mak 2002.07.17 21.58.37.86 [I:\httpd-2.0.39\srclib\openssl]perl util\mk1mf.pl dll VC-W31-32 1ms\w31dll.mak 2002.07.17 21.58.38.10