[mapserver-users] Mapserver useful for ordinary sites or not?

Mr. Puneet Kishor punk.kish at gmail.com
Wed Dec 5 11:00:03 PST 2012


On Dec 5, 2012, at 10:48 AM, Saka Royban <sakaroyban at yahoo.com> wrote:

> 
> 
> Hi Stephen
> It's CentOS and i've extracted that file from Enterprise Linux GIS.
> I ONLY have cPanel in front myself. How can i run that command?


If you don't have shell access, you can ask your web host to install it for you. Most decent web hosting providers will do it for you. If they don't, you should consider moving to one who will.



> 
> Sorry but i really don't know.
> 
> Thanks
> 
> ----- Original Message -----
> From: Stephen Woodbridge <woodbri at swoodbridge.com>
> To: mapserver-users at lists.osgeo.org
> Cc: 
> Sent: Wednesday, December 5, 2012 10:01 PM
> Subject: Re: [mapserver-users] Mapserver useful for ordinary sites or not?
> 
> It is
> probably failing because of missing dependency.
> 
> Try this from the command line:
> 
> /path/to/cgi-bin/mapserver -v
> 
> This will give a more useful error message you can read.
> 
> That said, extracting the binary and copying it to the cgi-bin is not 
> going to work in most cases because the whole point of package systems 
> like rpm it to find and install the dependencies.
> 
> What version of linux is installed on your host?
> There is probably a one line command that we can give you to install 
> mapserver the correct way.
> 
> -Steve W
> 
> On 12/5/2012 1:16 PM, Saka Royban wrote:
>> Thanks for your answer
>> After lots of try, i found that i can extract mapserver binary from rpm
>> using 7zip. I put that executable file to cgi-bin and call it via
>> address bar but no success, just 500 Internal Server Error. (I know
>> mapserver has some dependencies but in spite of that it everything was
>> 
> right it should display a nice error)
>> Contacting with guys in host provider, they pointed me to
>> http://mapserver.org/installation/unix.html#installation and finally
>> told me there is no shell access to run this commands.
>> I'm familiar with structure of mapserver cause of working with MS4W in
>> my own computer. In addition, i've checked CGI-bin directory by running
>> some perl script and everything is O.K. They really provide CGI capability.
>> 
>> Now, i don't know what can i do more. (I'm not familiar with Linux,
>> although i know what running a shell command means. I've been around
>> computer since DOS age)
>> 
>> Thanks in advance for helpful advices.
>> Regards
>> 
>> 
>> ----- Original Message -----
>> From: Mr. Puneet Kishor <punk.kish at gmail.com>
>> To: MapServer OSGEO <mapserver-users at lists.osgeo.org>
>> Cc:
>> Sent: Wednesday, December 5, 2012 9:24 PM
>> Subject: Re: [mapserver-users] Mapserver useful for ordinary sites or not?
>> 
>> 
>> On Dec 5, 2012, at 9:40 AM, Saka Royban <sakaroyban at yahoo.com
>> <mailto:sakaroyban at yahoo.com>> wrote:
>> 
>>   > Hi guys
>>   > After a lot of effort to use CGI mapserver in my own site and finally
>> leaving hope to find a solution, i came here to ask whether maserver is
>> useful just for dedicated servers or VPSs really?
>>   > I
> (and as it sounds, most of users) have just bought some space from
>> a host provider (i.e Linux) with a CGI-bin directory which as my host
>> provider says is able to run CGI applications written in perl and C/C++.
>>   >
>>   > I have searched a lot but as it appears no one has been successful to
>> run CGI mapserver in its CGI-bin folder. Am i right?
>> 
>> 
>> You are not right. MapServer is surprisingly easy to set up and get
>> working, at least for basic and mid-complexity use cases.
>> 
>> 
>>   > CGI mapserver is useful just when shell access is available? Should i
>> switch to Mapscript? Or maybe, buy a windows host with CGI capability?
>> 
>> 
>> Unless you figure out what you are doing wrong, you can't set it right.
>> Why don't you post your issues here in detail (how you are setting
>> things up, have you followed the tutorial, etc.)
> along with the errors
>> you are getting (general description as well as specific error messages.
>> I am sure one of us will be able to help you.
>> 
>> 
>> 
>>   >
>>   > Your help would nicely be appreciated. I'm really got stuck and confused.
>>   >
>> 
>> 
>> Yup, frustration is a common feeling when things don't work, but really,
>> no need to give up. "You can do it, we can help"
>> 
>> 
>> 
>> --
>> Puneet Kishor
>> Science and Data Policy at Creative Commons



More information about the mapserver-users mailing list