[Mapserver-users] new to mapserver - installation help

arun at activeengineer.com arun at activeengineer.com
Tue Feb 10 18:52:16 PST 2004


Mike,
 
I added the paths of gdal and proj paths to  ld.co.conf file and then ldconfig, 
and now the problem is gone! Thanks for the help. 

Arun


Quoting Michael Darweesh <mjd at mars.asu.edu>:

> Are the gdal and proj libraries in the library search path for the user 
> who runs httpd?
> And, did you do a ldconfig (as root) on the machine running the httpd 
> after you installed the new libraries?
> 
> Based on that errorlog, I speculate that your mapserv isn't even 
> successfully executing when run as cgi.
> 
> Paste a copy of the ls -l of your mapserv's directory in your reply if 
> you could.
> -Mike
> 
> arun at activeengineer.com wrote:
> 
> >Thank you Mike for your response. This is the error log:
> >
> >Premature end of script headers: /home/gishost/public_html/cgi-bin/mapserv
> >
> >As per your suggestion, I did check the permissions. mapserv is not owned by
> 
> >root.
> >
> >I am kind of puzzled since it works fine with same permissions if I compile
> 
> >mapserv without proj or gdal.
> >
> >Arun
> >
> >
> >Quoting Michael Darweesh <mjd at mars.asu.edu>:
> >
> >  
> >
> >>Double-check the permissions and file information on your mapserver 
> >>executable. the Redhat http doesn't like executing cgi where the 
> >>executable is owned by root. Though, I can't be sure that's your 
> >>installation's problem without more information. What does your 
> >>/var/www/http/error_log say when you try to run as cgi?
> >>
> >>-Mike
> >>
> >>
> >>
> >>arun at activeengineer.com wrote:
> >>
> >>    
> >>
> >>>I am trying to install on Redhat. If I compile with GD and Freetype, it
> >>>      
> >>>
> >>tests 
> >>    
> >>
> >>>fine from web browser. But thn if I add proj or gdal, it compiles fine and
> 
> >>>tests of from the command line but errors out ( Internal Server error 500
> )
> >>>      
> >>>
> >>>from the web browser. File permissions are identical in both cases. CAn
> any
> >>one 
> >>    
> >>
> >>>throw some light please?
> >>>
> >>>Arun
> >>>
> >>>
> >>>
> >>>_______________________________________________
> >>>Mapserver-users mailing list
> >>>Mapserver-users at lists.gis.umn.edu
> >>>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >>> 
> >>>
> >>>      
> >>>
> >>    
> >>
> >
> >
> >
> >_______________________________________________
> >Mapserver-users mailing list
> >Mapserver-users at lists.gis.umn.edu
> >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >  
> >
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 






More information about the MapServer-users mailing list