RE: Win32: Cannot load mod_perl.so into server
Recently I posted a possible solution if apache fails to start as a service on NT. But there seems to be further problems: some users reported apache won't start if they install apache and perl into d: I tried out exactly the same with the binary distribution from ftp://theoryx5.uwinnipeg.ca/pub/other/perl-win32-bin-0.7.exe on a new installed NT 4.0 SP5: apache to d:\apache perl to d:\perl openssl to d:\openssl IMO the most important part: Start - Settings - Control Panel - System - Environment - System Variables!!! (not )
RE: Win32: Cannot load mod_perl.so into server
Sorry, I pressed the send button before I finished in the last message. Recently I posted a possible solution if apache fails to start as a service on NT. But there seems to be further problems: some users reported apache won't start if they install apache and perl into d: with the following error in the event-log: Cannot load /apache/modules/mod_ssl.so into server: (126) The specified module could not be found: I tried out exactly the same with the binary distribution from ftp://theoryx5.uwinnipeg.ca/pub/other/perl-win32-bin-0.7.exe on a new installed NT 4.0 SP5: I installed apache to d:\apache perl to d:\perl openssl to d:\openssl IMO the most important part: Start - Settings - Control Panel - System - Environment - System Variables!!! (not User Variables) - Path - in the Value field add: ;d:\Perl\bin;C:\openssl\bin - press the button Set - OK. REBOOT! Open a command prompt and enter the following: d: cd d:\apache (apache -u if apache is already installed as a service) apache -i then try net start apache In my case it was working properly without any changes in httpd.conf or any other changes to the system. The steps described above were enough. Feel free to contact me if you have still the same problem after you applied this installation. Josi
Win32: Cannot load mod_perl.so into server
Maybe a hint for other users with the same problem (I spent nearly two hours): I installed ftp://theoryx5.uwinnipeg.ca/pub/other/perl-win32-bin-0.7.exe on NT 4.0 SP 6a. I used perl-win32-bin-0.6 from the same location before. I used the default.conf with the following additional line: LoadModule perl_module modules/mod_perl.so If I started apache from the command line, all was working properly. Also my existing CGI and Perl Registry scripts. But if I tried to start it as NT Service I got the following error in the event-log: ---snip--- 1. event entry: The Apache service named Apache.exe reported the following error: Syntax error on line 204 of c:/apache/conf/httpd.conf: before the error.log file could be opened. More information may be available in the error.log file. . 2. event entry: The Apache service named Apache.exe reported the following error: Cannot load c:/apache/modules/mod_perl.so into server: (127) The specified procedure could not be found: before the error.log file could be opened. More information may be available in the error.log file. . ---snip--- mod_perl.so was REALLY at this location. I tried also ServerRoot c:/apache in httpd.conf without success. I tried to run the NT Service with system account and with my domain account which was able to start apache from the command line. But all whiteout success. Solution: -- Reboot the system and all is working properly. Looks like the service didn't get the new path. Josi
Re: Win32: Cannot load mod_perl.so into server
Josef I get exactly the same error, altho on d:. Rebooting does not fix it. Details here: http://savage.net.au/Perl/Html/configure-apache.html Cheers Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html - Original Message - From: Ender Josef [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 9:08 PM Subject: Win32: Cannot load mod_perl.so into server Maybe a hint for other users with the same problem (I spent nearly two hours): I installed ftp://theoryx5.uwinnipeg.ca/pub/other/perl-win32-bin-0.7.exe on NT 4.0 SP 6a. I used perl-win32-bin-0.6 from the same location before. I used the default.conf with the following additional line: LoadModule perl_module modules/mod_perl.so If I started apache from the command line, all was working properly. Also my existing CGI and Perl Registry scripts. But if I tried to start it as NT Service I got the following error in the event-log: ---snip--- 1. event entry: The Apache service named Apache.exe reported the following error: Syntax error on line 204 of c:/apache/conf/httpd.conf: before the error.log file could be opened. More information may be available in the error.log file. . 2. event entry: The Apache service named Apache.exe reported the following error: Cannot load c:/apache/modules/mod_perl.so into server: (127) The specified procedure could not be found: before the error.log file could be opened. More information may be available in the error.log file. . ---snip--- mod_perl.so was REALLY at this location. I tried also ServerRoot c:/apache in httpd.conf without success. I tried to run the NT Service with system account and with my domain account which was able to start apache from the command line. But all whiteout success. Solution: -- Reboot the system and all is working properly. Looks like the service didn't get the new path. Josi