[mapserver-users] 500 Internal server error

Ignacio J. Moratiel imoratiel at tecnosylva.com
Wed Apr 2 02:49:04 PDT 2008


Apache error log :

[Tue Apr 01 14:12:30 2008] [error] [client 80.59.*.*] 
/srv/www/cgi-bin/mapserv: symbol lookup error: /srv/www/cgi-bin/mapserv: 
undefined symbol: gdImageJpegCtx, referer: 
http://www.dipuleon.es/atica/portada_turcia.html
[Tue Apr 01 14:12:30 2008] [error] [client 80.59.*.*] Premature end of 
script headers: mapserv, referer: 
http://www.dipuleon.es/atica/portada_turcia.html

I tried PNG, it works fine, but JPEG returns 500 error



P Kishor escribió:
> On 4/2/08, Ignacio J. Moratiel <imoratiel at tecnosylva.com> wrote:
>   
>>  I've compiled and installed mapserver on Suse 10.0 and mapserv file is on
>> cgi-bin directory. When I try to run the scripts I get a 500 internal error
>> message.
>>
>>  I can read on this page
>> http://mapserver.gis.umn.edu/docs/howto/compiling_on_unix
>>
>>  500 Internal server error: This is a fairly generic error message. All it
>> basically tells you is that the web server was unsuccessful in running the
>> program. You will have to consult the web server's error log to find out
>> more, and may need to enlist the help of your webmaster/system administrator
>>     
>
> well, what does your Apache error_log say? Did you check the logfile?
>
>
>   
>>  Mapserver creates a 0 bytes image in temp directory, and returns 500 error,
>> so I think Apache is running program but mapserver fails.
>>
>>  mapserv -v returns:
>>  MapServer version 4.8.4 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
>> OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
>> SUPPORTS=WMS_CLIENT INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
>>
>>  Is there any way to check mapserv script is compiled ok? Should I check
>> other things?
>>
>>  Thanks for your help
>>     

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080402/4d576f21/attachment.htm>


More information about the MapServer-users mailing list