On Sun, 18 Aug 2002, Walter Stingl wrote: > Hi to all, > > first thanks to Mr. Bekman for his quick answer. But i am still > having problems to track it down, where the script hangs. > "perl-status" delivers a blank window in the browser. > > One more question. Should Apache be started as a service or in > console-mode, when mod_perl is integrated ?
It shouldn't really matter - whichever is more convenient. > When i start apache as a service and and try to run a > CGI-script with ModPerl::Registry, the browser hangs forever. > No entry in the Apache error log. I just uploaded a new mod_perl-2 ppm package to http://theoryx5.uwinnipeg.ca/ppmpackages/ compiled against apache-2.0.40 and ActivePerl 633 which you may want to try. You might have to uninstall the old mod_perl-2 package before installing this one, as the version hasn't changed. > When i start apache from console and try to run a CGI-Script > with ModPerl::Registry the following entry is displayed in the > Apache error log: > > [Sun Aug 18 17:21:46 2002] [error] Can't locate loadable object > for module Apache::RequestRec in @INC (@INC contains: > C:/Perl/lib C:/Perl/site/lib .) at > C:/Perl/site/lib/Apache/XSLoader.pm line 16 Compilation failed [ ... ] This looks like it's not picking up the Apache2/ subdirectory of the mod_perl-2 ppm package (where the C stuff is). Do you have a 'use Apache2 ();' in a startup file? See the section on mod_perl 2.0 Server Configuration at http://perl.apache.org/. If you still have problems with things hanging, try freeing up as much memory as possible (eg, close unnecessary windows). I've had problems occasionally with mod_perl-2 and perl-5.6.1 running low on virtual memory. -- best regards, randy kobes