<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Apache error log :<br>
<br>
[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:
<a class="moz-txt-link-freetext" href="http://www.dipuleon.es/atica/portada_turcia.html">http://www.dipuleon.es/atica/portada_turcia.html</a><br>
[Tue Apr 01 14:12:30 2008] [error] [client 80.59.*.*] Premature end of
script headers: mapserv, referer:
<a class="moz-txt-link-freetext" href="http://www.dipuleon.es/atica/portada_turcia.html">http://www.dipuleon.es/atica/portada_turcia.html</a><br>
<br>
I tried PNG, it works fine, but JPEG returns 500 error<br>
<br>
<br>
<br>
P Kishor escribi&oacute;:
<blockquote
 id="mid_cdf6db500804020007j46f82aceuf87c104f4876a126_mail_gmail_com"
 cite="mid:cdf6db500804020007j46f82aceuf87c104f4876a126@mail.gmail.com"
 type="cite">
  <pre wrap="">On 4/2/08, Ignacio J. Moratiel <a class="moz-txt-link-rfc2396E" href="mailto:imoratiel@tecnosylva.com">&lt;imoratiel@tecnosylva.com&gt;</a> wrote:
  </pre>
  <blockquote id="StationeryCiteGenerated_1" type="cite">
    <pre wrap=""> 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
<a class="moz-txt-link-freetext" href="http://mapserver.gis.umn.edu/docs/howto/compiling_on_unix">http://mapserver.gis.umn.edu/docs/howto/compiling_on_unix</a>

 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
    </pre>
  </blockquote>
  <pre wrap=""><!---->
well, what does your Apache error_log say? Did you check the logfile?


  </pre>
  <blockquote id="StationeryCiteGenerated_2" type="cite">
    <pre wrap=""> 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
    </pre>
  </blockquote>
</blockquote>
<br>
</body>
</html>