[mapserver-users] mod_fcgid.so not found (but it's there!)
Smith, Michael
Michael.Smith at maine.gov
Thu Oct 24 08:10:04 PDT 2013
Thanks for the tip on using depends.exe. There were some DLLs missing which I fixed by modifying the PATH so that they could be found. But I still get the error message listed below and depends.exe log window shows this error regarding two DLLs in c:\ms4w\apache\bin:
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Error: Modules with different CPU types were found.
This is for LIBAPR-1.DLL and LIBAPRUTIL-1.DLL.
===============================
Michael Smith MS GISP
State GIS Manager, Maine Office of GIS
State of Maine, Office of Information Technology
michael.smith _at_ maine.gov 207-215-5530
Board Member, Maine GeoLibrary
Education Chair, Maine GIS Users Group
State Rep, National States Geographic Information Council
[cid:image001.jpg at 01CED0A8.CD5FBDD0]
State House Station 145
51 Commerce Drive
Augusta, ME 04333-0145
69o 47' 58.9"W 44o 21' 54.8"N
From: Paul Ramsey [mailto:pramsey at cleverelephant.ca]
Sent: Wednesday, October 23, 2013 2:53 PM
To: Smith, Michael
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] mod_fcgid.so not found (but it's there!)
The google says that this error can be given for reasons other than non-finding, including "missing dependencies". Is it possible there's a dll that should be riding along with the so that you forgot to copy? You can use depends.exe to check the dependency list of the so and see if anything is missing.
On Wed, Oct 23, 2013 at 6:47 AM, Smith, Michael <Michael.Smith at maine.gov<mailto:Michael.Smith at maine.gov>> wrote:
I am using MS4W distribution v6.0.3 which includes bundled Apache 2.2.22, MapServer 6.0.3, and mod-fcgid 2.3.7.
I have a new 64-bit Win 2008 server, migrating from Win 2003 32-bit.
I copied everything over to the new server. Everything works fine except FastCGI.
If I include mod_fcgid.so as a loaded module in httpd.conf, I get this error when starting Apache:
httpd: Syntax error on line 129 of C:/ms4w_306/Apache/conf/httpd.conf: Cannot load C:/ms4w_306/Apache/modules/mod_fcgid.so into server: The specified module could not be found.
And yet it is right there in C:/ms4w_306/Apache/modules:
C:\ms4w_306\Apache\modules>dir *fcgid.*
Volume in drive C has no label.
Volume Serial Number is 3495-008C
Directory of C:\ms4w_306\Apache\modules
04/19/2012 09:33 AM 57,856 mod_fcgid.so
1 File(s) 57,856 bytes
0 Dir(s) 78,668,070,912 bytes free
Same configuration works fine on my 32-bit Win2003 server. Is this some 64-bit or Win2008 thing I somehow need to take care of? My WMS will all work fine if I run them through 'regular' CGI, but when I switch on FCGI they break and of course I get the above error message when starting up Apache.
===============================
Michael Smith MS GISP
State GIS Manager, Maine Office of GIS
State of Maine, Office of Information Technology
michael.smith _at_ maine.gov<http://maine.gov> 207-215-5530<tel:207-215-5530>
Board Member, Maine GeoLibrary
Education Chair, Maine GIS Users Group
State Rep, National States Geographic Information Council
Error! Filename not specified.
State House Station 145
51 Commerce Drive
Augusta, ME 04333-0145
69o 47' 58.9"W 44o 21' 54.8"N
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20131024/eb9e52dc/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 9032 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20131024/eb9e52dc/attachment.jpg>
More information about the MapServer-users
mailing list