mapguide.fcgi gets "Segmentation fault" error

Marcus Spurkel mspurkel at pacbell.net
Fri Jul 21 16:36:45 EDT 2006


I'm still struggling with my mapguide installation on FC5.  After 
finally getting it to compile, I run the mgserver.sh script and 
everything seems to come up okay:
# ps aux | grep mgserver
root     15279  0.0  0.1   4404  1016 pts/3    S+   13:07   0:00 /bin/sh 
server/bin/mgserver.sh
root     15280  0.2  6.3 385292 32644 pts/3    Sl+  13:07   0:03 
./mgserver /interactive

But when I try to run the mapguide.fcgi test (as per the "Building and 
Configuring on Linux" guide)
http://localhost:8008/mapguide/mapagent/mapagent.fcgi?OPERATION=ENUMERATERESOURCES&VERSION=1.0.0&RESOURCEID=Library://
the server hangs and finally comes back with a 500 internal error.

The Apache logs reveal the following:
[Fri Jul 21 13:08:36 2006] [warn] FastCGI: (dynamic) server 
"/usr/local/mapguideopensource/webserverextensions/www/mapagent/mapagent.fcgi" 
(pid 15345) terminated due to uncaught signal '11' (Segmentation fault)
[Fri Jul 21 13:08:36 2006] [warn] FastCGI: (dynamic) server 
"/usr/local/mapguideopensource/webserverextensions/www/mapagent/mapagent.fcgi" 
has failed to remain running for 30 seconds given 3 attempts, its 
restart interval has been backed off to 600 seconds

I know FastCGI works because I tested it with another program.  Is there 
a way to test mapagent outside the context of a web app to perhaps get 
some more helpful info?

-Marcus




More information about the Mapguide_users mailing list