<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello everyone<br>
<br>
I managed to solve the issue. I figured out that maybe the problem is
that the apache user (under which mapserver runs as CGI) can't read my
epsg file. I got suspicious since my epsg file is actually a symlink to
the real file (which is in /usr/share/proj/nad/epsg). I deleted the
symlink and created a hardlink instead and presto! the error went away!<br>
<br>
ln /usr/share/proj/nad/epsg /usr/share/proj/epsg<br>
<br>
Thanks for the help, guys<br>
Regards,<br>
Adrian<br>
<br>
<br>
Lars Lingner wrote:
<blockquote cite="mid:4AD418F5.7030602@lingner.eu" type="cite">
  <pre wrap="">Adrian Popa schrieb:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hmm, any idea on this one? How can I find out if proj is trying to read
the epsg file? I'm thinking of using strace to see what files it tries
to open, but I don't know what syntax to use to try to project from 4326
to 900913...

    </pre>
  </blockquote>
  <pre wrap=""><!---->

Just to clarify:

- Your data is in wgs84 (epsg:4326)
- you want to serve mercator projection (epsg:900913)

A few questions:

- are there any errors in the capabilities document?
- did you tried to use mapserver logging (MS_ERRORFILE) and high debug
level (DEBUG 5)
- could you try to use shp2img, maybe this gives you a bit more information?
- did you compile MapServer and the dependencies by yourself?
- what MapServer version do you use?
- do you have Proj4 installed? (OpenLayers doesn't use the same lib, it
uses the javascript lib)

I hope it does not look like keeping you busy, but without further
information its difficult to help.

Lars
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>

  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
--- 
Adrian Popa
NOC Division
Network Engineer
Divizia Centrul National de Operare Retea
Departament Transport IP &amp; Metro
Compartiment IP Core &amp; Backbone
Phone: +40 21 400 3099
</pre>
</body>
</html>