Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] swish.cgi under mod_perl

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Thu Mar 15 2007 - 00:42:28 GMT
On Wed, Mar 14, 2007 at 07:25:05PM -0400, douglas.fox@utoronto.ca wrote:
>   use ModPerl::Registry ();

Try removing that.

> [Wed Mar 14 18:24:03 2007] [crit] (22)Invalid argument: Parent: Failed to create the child 
> process.
> [Wed Mar 14 18:24:03 2007] [crit] (OS 6)The handle is invalid.  : master_main: create child 
> process failed. 

Hum.  So you are running swish.exe -- not using SWISH::API.

Does it always fail or just when you run a query?

If it always fails then why is apache trying to create a child
process?

If it only fails when searching then it seems like it might have to
do with how swish.exe is being run.  You might take a look at how
swish.exe is being run from swish.cgi, then.  And maybe try switching
to SWISH::API to avoid running a separate process -- which is
recommended anyway if running under mod_perl.

I searched for those errors above with Google and had no luck -- just
found people asking similar questions.

Not much help, but it was things like this that made me quit trying to
develop under Windows.  If your final target is Linux might as well
develop using Linux where you know all this stuff works.


> Exiting.
> [Wed Mar 14 18:24:03 2007] [notice] Parent: Forcing termination of child process 36 
> 
> ACCESS LOG:
> 128.100.124.127 - - [14/Mar/2007:18:20:50 -0400] "GET /search HTTP/1.1" 200 1671
> 128.100.124.127 - - [14/Mar/2007:18:22:24 -0400] "GET /cgi-bin/swish.cgi HTTP/1.1" 200 
> 1590
> 128.100.124.127 - - [14/Mar/2007:18:23:19 -0400] "GET /cgi-bin/swish.cgi?query=taves 
> &submit=Search%21&metaname=DC.Creator&sort=swishrank HTTP/1.1" 200 15542
> 128.100.124.127 - - [14/Mar/2007:18:23:55 -0400] "GET /search HTTP/1.1" 200 1671

Interesting those return 200 responses.


-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Wed Mar 14 20:42:30 2007