[Mapserver-users] Symbolic link

Eric Bridger eric at gomoos.org
Tue Jun 24 08:12:58 PDT 2003


If you are using MMS < 4.0 and SHAPEPATH in you map file, it could be a
problem with the chdir() that mapserver does when querying a layer.
Is the new drive Web accessible.  We had a similiar problem. Fixed by
not using SHAPEPATH, just full paths in the DATA directives.

Eric


On Tue, 2003-06-24 at 17:50, Steve Lime wrote:
> I've not run into that one. We use sym links all over the place and have
> had no trouble. Are
> you sure the layers are queryable (i.e. there is a template)?
> 
> Steve
> 
> >>> Stefan Schwarzer <stefan.schwarzer at grid.unep.ch> 06/24/03 09:13AM
> >>>
> 
> Hmm, strange things happening here. We are working on a Linux machine
> and 
> had lately to add another hard disk. As our MMS application was running
> 
> nicely with a few selected data sets on the old disk, we now just
> created a 
> new data folder on the new disk, put up a symbolic link directing from
> the 
> old data folder to the new one, and filling that one up with our data
> sets. 
> Now, weird thing: The application is still running smoothly, loading
> all 
> files correctly; but when I try to make a query on the shapefiles, I
> get 
> zero results. It seems as if MMS can't access the shapefiles via the 
> symbolic link for querying.
> 
> Any ideas?
> 
> Thanks,
> 
> Stefan
> 
> 
>          _______________________________________
> 
>          Stefan Schwarzer
>          Consultant on GEO
> 
>          UNEP/DEWA/GRID-Geneva
>          Chemin des Anemones 11
>          CH - 1219 Chatelaine
>          Switzerland
> 
>          Tel: (+41) 22.917.83.49
>          Fax: (+41) 22.917.80.29
> 
>          Email: stefan.schwarzer at grid.unep.ch 
>          Internet: http://geodata.grid.unep.ch/ 
>          _______________________________________ 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 





More information about the MapServer-users mailing list