Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have recently compiled MapServer 6.2 on a CentOS 6.3 machine. Since I compiled it --with-proj=/usr, all the PROJ4 related stuff resides in /usr/share/proj.

I've also installed proj4 with yum install proj, which installed PROJ4-Version

I wanted to establish a simple WMS Server but ended up having these "no system list, errno: 2 " errors when issuing a GetMap-Request.

Weirdly, my PROJ4-Installation did not establish any epsg-File in /usr/share/proj, so I downloaded the current source of PROJ4 and extracted the epsg file from there and copied it to /usr/share/proj/epsg - after that I am getting similar errors, just with errno: 20 instead of errno: 2.

Here is my mapfile:

This is the request I am getting errors with:


How can I debug this, and why did my PROJ4-Package not have an EPSG File included? Notice there is also no /nad-Folder, just two files nad27 and nad83 as well as nad.lst.

share|improve this question
up vote 0 down vote accepted

The PROJ_LIB parameter must point to a directory.

    CONFIG "PROJ_LIB" "/usr/share/proj/"
    SIZE 400 300

Appropriately: errno 20 (ENOTDIR) means "not a directory"

share|improve this answer
That did the trick, thanks. Still, from where do you know the meaning of those errno's? – wnstnsmth Dec 20 '12 at 13:28
Google 'errno 20' or open errno.h in an editor – unicoletti Dec 20 '12 at 13:31

I had the same issue on CentOS 7 and found that the files related to EPSG is located in the proj-epsg package. When installed, this package provides the missing epsg file in /usr/share/proj/.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.