mod_perl installation problem
Hi, I'm trying to install mod_perl on sun solaris 5.10 with apache 2.2.9. after perl Makefile.PL I have this problem Configuring Apache/2.2.9 mod_perl/2.0.4 Perl/v5.10.1 [ error] Using Perl 5.010001 w/o ithreads and 'worker' mpm httpd. [ error] Failed requirements: [ error] - Perl built with ithreads (build perl with -Dusethreads) this is the status of my perl: -bash-3.00$ perl -V Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=solaris, osvers=2.10, archname=i86pc-solaris uname='sunos svil-web1 5.10 generic_118855-33 i86pc i386 i86pc ' config_args='-ds -e -*Dusethreads*' hint=previous, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV', optimize='-O', cppflags='-fno-strict-aliasing -pipe -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV' ccversion='', gccversion='3.4.3 (csl-sol210-3_4-branch+sol_rpath)', gccosandvers='solaris2.10' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc', ldflags =' ' libpth=/usr/lib /usr/ccs/lib libs=-lsocket -lnsl -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G' Why? Idel = Mobile: +39 349 442 2668 E-Mail: idel.fusch...@gmail.com Web Site: http://www.idelfuschini.it OpenSource Project: Apache Mobile Filter - http://www.idelfuschini.it/apache-mobile-filter-v2x.html Test Page: http://www.apachemobilefilter.org/test/php_test.php Mobile Test Page: http://www.apachemobilefilter.org -- La presente comunicazione ed i suoi allegati e' destinata esclusivamente ai destinatari. Qualsiasi suo utilizzo, comunicazione o diffusione non autorizzata e' proibita. Se ha ricevuto questa comunicazione per errore, la preghiamo di darne immediata comunicazione al mittente e di cancellare tutte le informazioni erroneamente acquisite. (Rif. D.Lgs. 196/2003). Grazie This message and its attachments are intended only for use by the addressees. Any use, re-transmission or dissemination not authorized of it is prohibited. If you received this e-mail in error, please inform the sender immediately and delete all the material. (Rif. D.Lgs. 196/2003). Thank you.
mod_perl installation problem
Hello , I am working on Mac Osx Tiger, I installed automaticly a package including apache2 , php5, MySQL4, and phpMyAdmin it is really clean and it is working fine but now I want to install with this the mod_perl module I saw one is able to install dynamic mod_perl if apache is already installed. So I download mod_perl2 toinstalle it properly manually: As it is explained in the installation documentation I write on Xterm the command: perl Makefile.PL MP_AP_PREFIX="path to apache2 directory" (because all file are in the same directory). It was fine ; After I wanted to do a "make test" and I get this error message : waiting 120 seconds for server to start: .Syntax error on line 172 of /Users/lineneildelbosc/.cpan/build/mod_perl-2.0.2/t/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: Library not loaded: /usr/local/lib/libxml2.2.dylib\n Referenced from: /usr/local/apache2/modules/libphp5.so\n Reason: image not found . waiting 120 seconds for server to start: not ok [ error] giving up after 121 secs. If you think that your system is slow or overloaded try again with a longer timeout value. by setting the environment variable APACHE_TEST_STARTUP_TIMEOUT to a high value (e.g. 420) and repeat the last command. [ error] server failed to start! (t/logs/error_log wasn't created, start the server in the debug mode) ++ | Please file a bug report: http://perl.apache.org/bugs/ | ++ make: *** [run_tests] Error 1 Is there somebody understanding what is happening and what it means? Thanks in advance ln ___ Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international. Téléchargez sur http://fr.messenger.yahoo.com
mod_perl installation problem
I am having problems installing mod_perl. I have installed perl from ActivePerl-5.8.8.820-MSWin32-x86-274739. I still get the error "Cannot load C:/tools/Apache2/modules/mod_perl.so into server: The specified module could not be found." C:\tools\Apache2\bin>perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLI CIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX', optimize='-MD -Zi -DNDEBUG -O1', cppflags='-DWIN32' ccversion='12.00.8804', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -libpath:"c:\tools\perl\lib\CORE" -machine:x86' libpth=\lib libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm .lib version.lib odbc32.lib odbccp32.lib msvcrt.lib perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib w inmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"c:\tools\perl\lib\CORE" -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_SITECUSTOMIZE Locally applied patches: ActivePerl Build 820 [274739] Iin_load_module moved for compatibility with build 806 PerlEx support in CGI::Carp Less verbose ExtUtils::Install and Pod::Find Patch for CAN-2005-0448 from Debian with modifications Rearrange @INC so that 'site' is searched before 'perl' Partly reverted 24733 to preserve binary compatibility 29930 win32.c typo in #define MULTIPLICITY 29868 win32_async_check() can still loop indefinitely 29690,29732 ANSIfy the PATH environment variable on Windows 29689 Add error handling to win32_ansipath 29675 Use short pathnames in $^X and @INC 29607,29676 allow blib.pm to be used for testing Win32 module 29605 Implement killpg() for MSWin32 29598 cwd() to return the short pathname 29597 let readdir() return the alternate filename 29590 Don't destroy the Unicode system environment on Perl startup 29528 get ext/Win32/Win32.xs to compile on cygwin 29509,29510,29511 Move Win32::* functions into Win32 module 29483 Move Win32 from win32/ext/Win32 to ext/Win32 29481 Makefile.PL changes to compile Win32.xs using cygwin 28671 Define PERL_NO_DEV_RANDOM on Windows 28376 Add error checks after execing PL_cshname or PL_sh_path 28305 Pod::Html should not convert "foo" into ``foo'' 27833 Change anchor generation in Pod::Html for '=item item 2' 27832,27847 fix Pod::Html::depod() for multi-line strings 27719 Document the functions htmlify() and anchorify() in Pod::Html 27619 Bug in Term::ReadKey being triggered by a bug in Term::ReadLine 27549 Move DynaLoader.o into libperl.so 27528 win32_pclose() error exit doesn't unlock mutex 27527 win32_async_check() can loop indefinitely 27515 ignore directories when searching @INC 27359 Fix -d:Foo=bar syntax 27210 Fix quote typo in c2ph 27203 Allow compiling swigged C++ code 27200 Make stat() on Windows handle trailing slashes correctly 27133 Initialise lastparen in the regexp structure 27061 L and Pod::Html 27034 Avoid "Prototype mismatch" warnings with autouse 26970 Make Passive mode the default for Net::FTP 26921 Avoid getprotobyname/number calls in IO::Socket::INET 26897,26903 Make common IPPROTO_* constants always available 26670 M
Re: mod_perl installation problem
Try prefork httpd instead of worker? On Wed, Mar 24, 2010 at 8:33 AM, Idel Fuschini wrote: > Hi, > I'm trying to install mod_perl on sun solaris 5.10 with apache 2.2.9. > > after perl Makefile.PL I have this problem > > Configuring Apache/2.2.9 mod_perl/2.0.4 Perl/v5.10.1 > [ error] Using Perl 5.010001 w/o ithreads and 'worker' mpm httpd. > [ error] Failed requirements: > [ error] - Perl built with ithreads (build perl with -Dusethreads) > this is the status of my perl: > > -bash-3.00$ perl -V > Summary of my perl5 (revision 5 version 10 subversion 1) configuration: > > Platform: > osname=solaris, osvers=2.10, archname=i86pc-solaris > uname='sunos svil-web1 5.10 generic_118855-33 i86pc i386 i86pc ' > config_args='-ds -e -Dusethreads' > hint=previous, useposix=true, d_sigaction=define > useithreads=undef, usemultiplicity=undef > useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef > use64bitint=undef, use64bitall=undef, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='gcc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV > -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV', > optimize='-O', > cppflags='-fno-strict-aliasing -pipe -fno-strict-aliasing -pipe > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV > -DPERL_USE_SAFE_PUTENV' > ccversion='', gccversion='3.4.3 (csl-sol210-3_4-branch+sol_rpath)', > gccosandvers='solaris2.10' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', > lseeksize=8 > alignbytes=4, prototype=define > Linker and Libraries: > ld='gcc', ldflags =' ' > libpth=/usr/lib /usr/ccs/lib > libs=-lsocket -lnsl -ldl -lm -lc > perllibs=-lsocket -lnsl -ldl -lm -lc > libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' > cccdlflags='-fPIC', lddlflags='-G' > > Why? > > Idel > = > Mobile: +39 349 442 2668 > E-Mail: idel.fusch...@gmail.com > Web Site: http://www.idelfuschini.it > OpenSource Project: Apache Mobile Filter - > http://www.idelfuschini.it/apache-mobile-filter-v2x.html > Test Page: http://www.apachemobilefilter.org/test/php_test.php > Mobile Test Page: http://www.apachemobilefilter.org > -- > La presente comunicazione ed i suoi allegati e' destinata esclusivamente > ai destinatari. Qualsiasi suo utilizzo, comunicazione o diffusione non > autorizzata > e' proibita. Se ha ricevuto questa comunicazione per errore, la preghiamo di > darne > immediata comunicazione al mittente e di cancellare tutte le informazioni > erroneamente acquisite. (Rif. D.Lgs. 196/2003). Grazie > > This message and its attachments are intended only for use by the > addressees. Any use, > re-transmission or dissemination not authorized of it is prohibited. If you > received > this e-mail in error, please inform the sender immediately and delete all > the material. > (Rif. D.Lgs. 196/2003). Thank you. >
Re: mod_perl installation problem
On Mar 23, 2006, at 9:10 AM, N L wrote: I write on Xterm the command: perl Makefile.PL MP_AP_PREFIX="path to apache2 directory" (because all file are in the same directory). It was fine ; After I wanted to do a "make test" and I get this error message : waiting 120 seconds for server to start: .Syntax error on line 172 of /Users/lineneildelbosc/.cpan/build/mod_perl-2.0.2/t/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: Library not loaded: /usr/local/lib/libxml2.2.dylib\n Referenced from: /usr/local/apache2/modules/libphp5.so\n Reason: image what directory did your multi-item package install things into? did you type in: MP_AP_PREFIX="path to apache2 directory" it should be something like MP_AP_PREFIX=/usr/local/apache2/ the message is saying that modperl/apache is looking for libphp in / usr/local/apache2/ -- ie: that is the root of the apache install, but its not finding it. thats probably because your system installed it elsewhere - you need to pass that line in. its also looking for libxml2.2.dylib in /usr/local/lib/, where it wasn't intstalled as well. i'm kind of perplexed that you were able to make this , and it failed on the test. it seems like you compiled it against apache right, but set an odd basedir? i think libapreq has bug where it uses the wrong apache root for make test on osx - maybe this is a variant of that?
Re: mod_perl installation problem
On Thu, 1 Mar 2007, Anoop kumar V wrote: I am having problems installing mod_perl. I have installed perl from ActivePerl-5.8.8.820-MSWin32-x86-274739. I still get the error "Cannot load C:/tools/Apache2/modules/mod_perl.so into server: The specified module could not be found." [ ... ] C:\tools\Apache2\bin>apache -v Server version: Apache/2.0.59 Server built: Jul 27 2006 15:55:03 [ ... ] C:\tools\Apache2\bin>ppm install http://theoryx5.uwinnipeg.ca/ppms/mod_perl.ppd For Apache/2.0.x, you need to C:\> ppm install http://theoryx5.uwinnipeg.ca/ppms/mod_perl-2.0.ppd which is the ppm package appropriate for Apache/2.0.x - the mod_perl.ppd package is for Apache/2.2.x. -- best regards, Randy Kobes
Re: mod_perl installation problem
Woww - thanks so much Randy - I tried this as you suggested and it works beautifully: C:\tools\Apache2\bin>ppm install http://theoryx5.uwinnipeg.ca/ppms/mod_perl-2.0.ppd Downloading mod_perl-2.0-2.0.3...done Unpacking mod_perl-2.0-2.0.3...done Generating HTML for mod_perl-2.0-2.0.3...done Updating files in site area...done Downloading mod_perl-2.0-2.0.3 install script...done Running mod_perl-2.0-2.0.3 install script... The Apache module mod_perl.so is needed to complete the installation, and should be placed in your Apache2 modules directory. I will now fetch and install this for you. Fetching http://theoryx5.uwinnipeg.ca/ppms/x86/mod_perl-2.0.so ... done! Where should mod_perl.so be placed? [C:/Apache2/modules] c:/tools/Apache2/modules c:/tools/Apache2/modules/mod_perl.so exists. Overwrite? [no] yes mod_perl.so has been successfully installed to c:/tools/Apache2/modules done 465 files installed C:\tools\Apache2\bin>Apache Thanks again, Anoop On 3/1/07, Randy Kobes <[EMAIL PROTECTED]> wrote: On Thu, 1 Mar 2007, Anoop kumar V wrote: > I am having problems installing mod_perl. I have installed perl from > ActivePerl-5.8.8.820-MSWin32-x86-274739. I still get the error > "Cannot load C:/tools/Apache2/modules/mod_perl.so into server: The specified > module could not be found." [ ... ] > C:\tools\Apache2\bin>apache -v > Server version: Apache/2.0.59 > Server built: Jul 27 2006 15:55:03 [ ... ] > C:\tools\Apache2\bin>ppm install > http://theoryx5.uwinnipeg.ca/ppms/mod_perl.ppd For Apache/2.0.x, you need to C:\> ppm install http://theoryx5.uwinnipeg.ca/ppms/mod_perl-2.0.ppd which is the ppm package appropriate for Apache/2.0.x - the mod_perl.ppd package is for Apache/2.2.x. -- best regards, Randy Kobes -- Thanks and best regards, Anoop
Re: mod_perl installation problem
Is it expected that the apachemonitor breaks when mod-perl is installed. After I did the below steps, I can start Apache from the commandline, but when I try using the ApacheMonitor tool from my task tray, it says the same thing that "The requested operation has failed" I tested this with smilar results on both Apache/2.2.4 (Win32) and Apache/2.0.59. Thanks, Anoop On 3/1/07, Anoop kumar V <[EMAIL PROTECTED]> wrote: Woww - thanks so much Randy - I tried this as you suggested and it works beautifully: C:\tools\Apache2\bin>ppm install http://theoryx5.uwinnipeg.ca/ppms/mod_perl-2.0.ppd Downloading mod_perl-2.0-2.0.3...done Unpacking mod_perl-2.0-2.0.3...done Generating HTML for mod_perl-2.0-2.0.3...done Updating files in site area...done Downloading mod_perl-2.0-2.0.3 install script...done Running mod_perl-2.0-2.0.3 install script... The Apache module mod_perl.so is needed to complete the installation, and should be placed in your Apache2 modules directory. I will now fetch and install this for you. Fetching http://theoryx5.uwinnipeg.ca/ppms/x86/mod_perl-2.0.so ... done! Where should mod_perl.so be placed? [C:/Apache2/modules] c:/tools/Apache2/modules c:/tools/Apache2/modules/mod_perl.so exists. Overwrite? [no] yes mod_perl.so has been successfully installed to c:/tools/Apache2/modules done 465 files installed C:\tools\Apache2\bin>Apache Thanks again, Anoop On 3/1/07, Randy Kobes < [EMAIL PROTECTED]> wrote: > > On Thu, 1 Mar 2007, Anoop kumar V wrote: > > > I am having problems installing mod_perl. I have installed perl from > > ActivePerl-5.8.8.820-MSWin32-x86-274739. I still get the error > > "Cannot load C:/tools/Apache2/modules/mod_perl.so into server: The > specified > > module could not be found." > [ ... ] > > C:\tools\Apache2\bin>apache -v > > Server version: Apache/2.0.59 > > Server built: Jul 27 2006 15:55:03 > [ ... ] > > C:\tools\Apache2\bin>ppm install > > http://theoryx5.uwinnipeg.ca/ppms/mod_perl.ppd > > For Apache/2.0.x, you need to >C:\> ppm install http://theoryx5.uwinnipeg.ca/ppms/mod_perl-2.0.ppd > which is the ppm package appropriate for Apache/2.0.x - the > mod_perl.ppd package is for Apache/2.2.x. > > -- > best regards, > Randy Kobes > -- Thanks and best regards, Anoop -- Thanks and best regards, Anoop
Re: mod_perl installation problem
On Fri, 2 Mar 2007, Anoop kumar V wrote: Is it expected that the apachemonitor breaks when mod-perl is installed. After I did the below steps, I can start Apache from the commandline, but when I try using the ApacheMonitor tool from my task tray, it says the same thing that "The requested operation has failed" I tested this with smilar results on both Apache/2.2.4 (Win32) and Apache/2.0.59. If Apache starts from the commandline OK, and works, then it must be something with ApacheMonitor. Does ApacheMonitor work without mod_perl enabled? You might also check that you have the proper permissions - for example, if things are set up to start Apache as a service, you (as the user you're logged in as) may not have permission to start Apache. If you can, log in as the Administrator to see if that works. -- best regards, Randy
Re: mod_perl installation problem
On 3/2/07, Randy Kobes <[EMAIL PROTECTED]> wrote: On Fri, 2 Mar 2007, Anoop kumar V wrote: > Is it expected that the apachemonitor breaks when mod-perl is installed. > > After I did the below steps, I can start Apache from the commandline, but > when I try using the ApacheMonitor tool from my task tray, it says the same > thing that "The requested operation has failed" > > I tested this with smilar results on both Apache/2.2.4 (Win32) and > Apache/2.0.59. If Apache starts from the commandline OK, and works, then it must be something with ApacheMonitor. Does ApacheMonitor work without mod_perl enabled? You might also check that you have the proper permissions - for example, if things are set up to start Apache as a service, you (as the user you're logged in as) may not have permission to start Apache. If you can, log in as the Administrator to see if that works. -- best regards, Randy Yes - I checked that - without mod_perl enabled, with a vanilla Apache installation (and with weblogic module enabled), the apachemonitor starts and stops apache fine. With the mod_perl line: (LoadModule .) in httpd.conf it errors out. If I remove the line it again works flawlessly. The thing is this breaks in both the apache versions I mentioned above... I am the administrator on this Win XP machine. Its not a big issue - since apache runs fine from the commandline, but it would have been great if I could manage from the monitor, else I need to keep cmd prompt window open just for this thing... -- Thanks and best regards, Anoop
Re: mod_perl installation problem
On Fri, 2 Mar 2007, Anoop kumar V wrote: Yes - I checked that - without mod_perl enabled, with a vanilla Apache installation (and with weblogic module enabled), the apachemonitor starts and stops apache fine. With the mod_perl line: (LoadModule .) in httpd.conf it errors out. If I remove the line it again works flawlessly. The thing is this breaks in both the apache versions I mentioned above... I am the administrator on this Win XP machine. Its not a big issue - since apache runs fine from the commandline, but it would have been great if I could manage from the monitor, else I need to keep cmd prompt window open just for this thing... The only thing I can suggest checking is that you have a LoadFile "C:/Path/to/Perl/bin/perl58.dll" before loading mod_perl.so, in case Perl isn't in your PATH environment variable. -- best regards, Randy
Re: mod_perl installation problem
Thank you for the suggestion Randy - but perl had always been in my path. I think that gets set when perl is installed. I think I will have to do a manual start / ^C the apache process until the monitor gets fixed. Thanks, Anoop On 3/3/07, Randy Kobes <[EMAIL PROTECTED]> wrote: On Fri, 2 Mar 2007, Anoop kumar V wrote: > Yes - I checked that - without mod_perl enabled, with a vanilla Apache > installation (and with weblogic module enabled), the apachemonitor starts > and stops apache fine. With the mod_perl line: (LoadModule .) in > httpd.conf it errors out. If I remove the line it again works flawlessly. > The thing is this breaks in both the apache versions I mentioned above... > > I am the administrator on this Win XP machine. > > Its not a big issue - since apache runs fine from the commandline, but it > would have been great if I could manage from the monitor, else I need to > keep cmd prompt window open just for this thing... The only thing I can suggest checking is that you have a LoadFile "C:/Path/to/Perl/bin/perl58.dll" before loading mod_perl.so, in case Perl isn't in your PATH environment variable. -- best regards, Randy -- Thanks and best regards, Anoop
Re: mod_perl installation problem
I think I figured out the exact problem (not the solution)... apache starts fine when forced to start on the commandline, but fails to start as a service. SO it is not a problem of the apachemonitor per se. It is wierd that something stops apache running as a service. Also it does not write any logs whatsoever, to help troubleshooting! Anoop On 3/4/07, Anoop kumar V <[EMAIL PROTECTED]> wrote: Thank you for the suggestion Randy - but perl had always been in my path. I think that gets set when perl is installed. I think I will have to do a manual start / ^C the apache process until the monitor gets fixed. Thanks, Anoop On 3/3/07, Randy Kobes <[EMAIL PROTECTED]> wrote: > > On Fri, 2 Mar 2007, Anoop kumar V wrote: > > > Yes - I checked that - without mod_perl enabled, with a vanilla Apache > > installation (and with weblogic module enabled), the apachemonitor > starts > > and stops apache fine. With the mod_perl line: (LoadModule .) in > > httpd.conf it errors out. If I remove the line it again works > flawlessly. > > The thing is this breaks in both the apache versions I mentioned > above... > > > > I am the administrator on this Win XP machine. > > > > Its not a big issue - since apache runs fine from the commandline, but > it > > would have been great if I could manage from the monitor, else I need > to > > keep cmd prompt window open just for this thing... > > The only thing I can suggest checking is that you have a > LoadFile "C:/Path/to/Perl/bin/perl58.dll" > before loading mod_perl.so, in case Perl isn't in > your PATH environment variable. > > -- > best regards, > Randy > -- Thanks and best regards, Anoop -- Thanks and best regards, Anoop
Re: mod_perl installation problem
On Monday 05 March 2007 10:26, Anoop kumar V wrote: > I think I figured out the exact problem (not the solution)... apache starts > fine when forced to start on the commandline, but fails to start as a > service. SO it is not a problem of the apachemonitor per se. > > It is wierd that something stops apache running as a service. Also it does > not write any logs whatsoever, to help troubleshooting! > What user is Apache running as when run as a service? It sounds like the user it runs as does not have perl in it's path or does not have permission to read the perl path location. To check path make sure the the perl is added to the path globally and not just for a user. For the second look at perls installation path and make sure that Apache's runas user is able to read the files from there. > Anoop > > On 3/4/07, Anoop kumar V <[EMAIL PROTECTED]> wrote: > > Thank you for the suggestion Randy - but perl had always been in my path. > > I think that gets set when perl is installed. > > > > I think I will have to do a manual start / ^C the apache process until > > the monitor gets fixed. > > > > Thanks, > > Anoop > > > > On 3/3/07, Randy Kobes <[EMAIL PROTECTED]> wrote: > > > On Fri, 2 Mar 2007, Anoop kumar V wrote: > > > > Yes - I checked that - without mod_perl enabled, with a vanilla > > > > Apache installation (and with weblogic module enabled), the > > > > apachemonitor > > > > > > starts > > > > > > > and stops apache fine. With the mod_perl line: (LoadModule .) in > > > > httpd.conf it errors out. If I remove the line it again works > > > > > > flawlessly. > > > > > > > The thing is this breaks in both the apache versions I mentioned > > > > > > above... > > > > > > > I am the administrator on this Win XP machine. > > > > > > > > Its not a big issue - since apache runs fine from the commandline, > > > > but > > > > > > it > > > > > > > would have been great if I could manage from the monitor, else I need > > > > > > to > > > > > > > keep cmd prompt window open just for this thing... > > > > > > The only thing I can suggest checking is that you have a > > > LoadFile "C:/Path/to/Perl/bin/perl58.dll" > > > before loading mod_perl.so, in case Perl isn't in > > > your PATH environment variable. > > > > > > -- > > > best regards, > > > Randy > > > > -- > > Thanks and best regards, > > Anoop