serving grass vector files

James McManus jmpmcmanus at YAHOO.COM
Fri Mar 9 17:06:25 PST 2007


I am trying to serve GRASS vector files form mapserver. I am following 
the instructions at:

http://grass.gdf-hannover.de/wiki/GRASS_and_MapServer

After running my example at:

http://www.aratasystems.com/mapserver/MDI_i.html

nothing appears, and I get 237 lines of errors in my httpd error_log 
beginning with the lines:

[Fri Mar 09 19:53:17 2007] [error] [client 71.241.222.127] No such file 
or directory: Cannot open drivers directory, referer: 
http://www.aratasystems.com/mapserver/MDI_i.html
[Fri Mar 09 19:53:17 2007] [error] [client 71.241.222.127] *** glibc 
detected *** /var/www/cgi-bin/mapserv: malloc(): memory corruption: 
0x00000000007d7ec0 ***, referer: 
http://www.aratasystems.com/mapserver/MDI_i.html
[Fri Mar 09 19:53:17 2007] [error] [client 71.241.222.127] ======= 
Backtrace: =========, referer: 
http://www.aratasystems.com/mapserver/MDI_i.html
[Fri Mar 09 19:53:17 2007] [error] [client 71.241.222.127] 
/lib64/libc.so.6[0x397f86f0e4], referer: 
http://www.aratasystems.com/mapserver/MDI_i.html
[Fri Mar 09 19:53:17 2007] [error] [client 71.241.222.127] 
/lib64/libc.so.6(__libc_malloc+0x7d)[0x397f87086d], referer: 
http://www.aratasystems.com/mapserver/MDI_i.html
[Fri Mar 09 19:53:17 2007] [error] [client 71.241.222.127] 
/var/www/cgi-bin/mapserv[0x43a0de], referer: 
http://www.aratasystems.com/mapserver/MDI_i.html

mapserver is having a memory error. Are there additional steps I have to 
take to enable mapserver to be able to access grass vector files?

For the testing purposes, I created and example where I export the 
vector file to a shape file and reconfigure my .map file to read that 
shape file:

http://www.aratasystems.com/mapserver/MDI1_i.html

This example works. It is also able to access a GRASS raster (DEM) file. 
This made me think the problem was with access to the vectors files 
database. I found other mapserver-user emails that pointed to defining 
GISBASE, which I have attempted to do, without success. Any clues?

Thanks
Jim



More information about the MapServer-users mailing list