Hi..<br><br>No it&#39;s not about the path, I&#39;ve tried shapepath either.<br><br><div class="gmail_quote">On Mon, Sep 6, 2010 at 12:23 PM, Sumit Sharma [via OSGeo.org] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=5502902&i=0" target="_top" rel="nofollow">[hidden email]</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I would suggest you to revisit your path, try using shapepath, imagepath etc. and make sure that you are able to refer your files properly.
<br>You may also like to carefully observe permissions on your server. Try to see mapserver debug info by setting debug level 5, that may also give you some more information about your problem. 
<br>-Sumit
<br><br>
<hr color="#cccccc" noshade size="1">
<div style="color: rgb(102, 102, 102); font: 11px tahoma,geneva,helvetica,arial,sans-serif;">
View message @ <a href="http://osgeo-org.1803224.n2.nabble.com/Raster-Layer-Error-tp5502458p5502593.html?by-user=t" target="_blank" rel="nofollow" link="external">http://osgeo-org.1803224.n2.nabble.com/Raster-Layer-Error-tp5502458p5502593.html</a>

<br>To unsubscribe from Raster Layer Error, <a href="http://osgeo-org.1803224.n2.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_code&amp;node=5502458&amp;code=aWJyYWhpbXNhcmljaWNla0BnbWFpbC5jb218NTUwMjQ1OHwtMTMzMTA0MzIxNQ==&by-user=t" target="_blank" rel="nofollow" link="external">click here</a>.
</div>
<br>
</blockquote></div><span class="ul-threaded" style="margin: 0.5em 0pt 0pt -20px;"><span class="text-cell">Hi Hi All,
<br><br>A 800Mb Jpeg2000 file works on MS4W, but returns an error on Linux.
<br>What is meant on the error message?
<br><br><b>The error message is;</b><br>&lt;ServiceException&gt;
<br>msDrawMap(): Image handling error. Failed to draw layer named &#39;Uydu&#39;.
<br>GetBlockRef failed at X block offset 267, Y block offset 96: Unable to access file. GDALRasterIO() failed: drawGDAL()
<br>&lt;/ServiceException&gt;
<br><br><br><b>This is layer definition;</b><br><br>LAYER
<br>NAME &#39;Uydu&#39;
<br>DATA &quot;/var/www/Turkiye.jp2&quot;
<br>TYPE RASTER
<br>  PROJECTION
<br>    &quot;init=epsg:4326&quot;
<br>  END
<br>STATUS ON
<br>END
<br><br><b><br>This is Window 7 side;</b><br><br>version 5.4.0-rc2 Libs;
<br>    curl-7.15.1
<br>    expat-2.0.1
<br>    fcgi-2.4.0
<br>    fits-3.0.2
<br>    freetype-2.1.10
<br>    fribidi-0.19.1    
<br>    gd-2.0.35
<br>    gdal-1.6.0 RC2
<br>    geos-2.2.3
<br>    gettext-0.13
<br>    hdf5
<br>    jbigkit-1.6
<br>    jpeg-6b
<br>    libecwj2-3.3
<br>    libgeotiff-1.2.3
<br>    libiconv-1.9.1
<br>    libintl-0.11.5
<br>    libpng-1.2.8
<br>    libxml2-2.6.23.win32
<br>    mapserver-5.2.1
<br>    ming-0.2a
<br>    mrsid-6.0.7.1407
<br>    mysql-5.0.18-win32
<br>    netcdf-3.6.1    
<br>    PDFlib-Lite-6.0.2
<br>    php-5.2.6
<br>    postgresql-8.3.3
<br>    proj-4.6.1
<br>    Python-2.5.1
<br>    regex-0.12
<br>    sqlite3    
<br>    SWIG-1.3.33
<br>    tiff-cvs (02/04/08)
<br>    xerces-c-2.7.0
<br>    zlib-1.2.3 
<br><br><b>This is Debian Lenny 64-bit server side;</b><br><br>version 5.4.2 libs;
<br>Mapserv  5.4.2
<br><br>-lgd -L/usr/lib64 -lgd -ljpeg -lfreetype -lz -lpng -lz -lXpm 
-lX11 -L/usr/local/src/agg-2.4//src -lagg -ltiff -ljpeg -lfreetype -lz 
-lpng -lz -lXpm -lX11 -lproj -ljpeg -lpng -L/usr/local/lib -lgdal 
-L/usr/lib -lgeos_c -L/usr/lib -lsqlite3 -lodbc -lodbcinst -L/usr/lib 
-lexpat -L/usr/lib -lxerces-c -lpthread -ljasper -lhdf5 -lmfhdf -ldf 
-lgif -ljpeg -ltiff -lpng -lnetcdf -lpq -L/usr/lib -lpq -lz -lm -lrt 
-ldl -lcurl -L/usr/lib -lpq -L/usr/lib/mysql -lmysqlclient -lmysqlclient
 -lcurl -L/usr/lib -lgeos_c -lpthread -L -lc -lz -lxml2 -lm -lstdc++
<br><br>Gd-2.0.35
<br><br>Gdal 1.7.2
<br>./configure --with-png --with-jpeg --with-gif --with-jasper=/usr/local
<br>  JasPer support:            yes (GeoJP2=yes)
<br><br>jasper-1.900.1.uuid
<br>./configure
</span></span>

<br><hr align="left" width="300">
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Raster-Layer-Error-tp5502458p5502902.html">Re: Raster Layer Error</a><br>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/Mapserver-User-f1969211.html">Mapserver - User mailing list archive</a> at Nabble.com.<br>