Received: (qmail 17822 invoked by uid 501); 24 Oct 2000 00:09:13 -0000 Message-Id: <20001024000913.17815.qmail@locus.apache.org> Date: 24 Oct 2000 00:09:13 -0000 From: Manoj Patil Reply-To: manoj.patil@nokia.com To: submit@bugz.apache.org Subject: Cannot start apache.exe with mod_perl enabled in httpd.conf X-Send-Pr-Version: 3.110 >Number: 6731 >Category: mod_perl >Synopsis: Cannot start apache.exe with mod_perl enabled in httpd.conf >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Oct 23 17:10:01 PDT 2000 >Closed-Date: Tue Oct 24 08:53:45 PDT 2000 >Last-Modified: Tue Oct 24 08:53:45 PDT 2000 >Originator: manoj.patil@nokia.com >Release: 1.3.12 >Organization: >Environment: Installed on windows NT This is a binary distribution for Windows 95/98/NT of Perl 5.6.0 together with mod_perl-1.23 and mod_ssl (2.6.3-1.3.12) / OpenSSL (0.9.5a) with Apache_1.3.12, built with VC++ 6.0 (SP3). >Description: I installed the binary perl-win32-bin-0.6.exe on an NT machine. I then made the changes to httpd.conf as described in readme.txt and brief.txt. However when I try running apache.exe, I get this error message. "Can't locate Cwd.pm in @INC (@INC contains: .) at (eval 1) line 1." and it dies. However if I run it from c:\perl\5.6.0\lib\apache.exe IT WORKS! >How-To-Repeat: 1. Install binary perl-win32-bin-0.6.exe 2. copy httpd-conf-dist-win to httpd.conf 3. type apache.exe from c: after making the appropriate changes to the autoexec.bat >Fix: Sorry! >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: fanf State-Changed-When: Tue Oct 24 08:53:43 PDT 2000 State-Changed-Why: Perl modules are located by searching the directories in @INC. Since you only have "." in @INC perl will only find the modules if you run apache from the perl modules directory. You need to set @INC to the right value to solve your problem. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]