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

Passmore, James H. jpass at bgs.ac.uk
Thu Dec 6 06:01:19 PST 2012


Saka,

Are you trying to run a windows executable (mapserv.exe) on a Linux server, I'm sure you're not, but just checking to be sure.

I also had problems trying to configure MapServer through cPanel and in the end resorted to doing it all using SSH.

You might want to have a look at the OneGeology Cookbook, this takes you though how to configure a Mapserver service on Linux; just modify it for your needs:

http://onegeology.org/wmsCookbook/4_4_2.html

and

http://onegeology.org/wmsCookbook/4_4_2_1.html

Cheers

James

James Passmore
GIS and WWW Specialist
Information Systems and Infrastructure,
British Geological Survey,
http://www.bgs.ac.uk/

+44 (0)115 936 3125
@nmtoken


> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-
> bounces at lists.osgeo.org] On Behalf Of mapserver-users-
> request at lists.osgeo.org
> Sent: Wednesday, December 05, 2012 8:00 PM
> To: mapserver-users at lists.osgeo.org
> Subject: mapserver-users Digest, Vol 59, Issue 10
>
> Send mapserver-users mailing list submissions to
>       mapserver-users at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://lists.osgeo.org/mailman/listinfo/mapserver-users
> or, via email, send a message with subject or body 'help' to
>       mapserver-users-request at lists.osgeo.org
>
> You can reach the person managing the list at
>       mapserver-users-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of mapserver-users digest..."
>
>
> Today's Topics:
>
>    1. Re: Mapserver useful for ordinary sites or not? (Jeff Lake)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 05 Dec 2012 14:31:51 -0500
> From: Jeff Lake <admin at michiganwxsystem.com>
> To: "mapserver-users at lists.osgeo.org >> MapServer"
>       <mapserver-users at lists.osgeo.org>
> Subject: Re: [mapserver-users] Mapserver useful for ordinary sites or
>       not?
> Message-ID: <50BFA127.7050507 at michiganwxsystem.com>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
> If you want to use mapserver on a real linux host ...
> contact me off list ....
> All my cPanel hosted accounts have access to:
>
> mapserver,
> GDAL
> postGIS enabled pgsql database
> degrib
> wgrib
> wgrib2
> GrADS
> all the above are installed globally on a brand new CentOS 6.3 64bit
> quad core i3
>
> -Jeff Lake
> MichiganWxSystem.com
> AllisonHouse.com
> TheWeatherCenter.net
> GRLevelXStuff.com
>
> On 12/5/2012 14:20, Saka Royban wrote:
> > Thanks
> > Does windows version of mapserver need installation or copying
> > mapserv.exe plus those files is sufficient (for a windows host)?
> >
> > ----- 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 10:30 PM
> > Subject: Re: [mapserver-users] Mapserver useful for ordinary sites or
> not?
> >
> >
> > On Dec 5, 2012, at 10:48 AM, Saka Royban <sakaroyban at yahoo.com
> > <mailto: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
> > <mailto:woodbri at swoodbridge.com>>
> > > To: mapserver-users at lists.osgeo.org
> > <mailto: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
> > <mailto:punk.kish at gmail.com>>
> > >> To: MapServer OSGEO <mapserver-users at lists.osgeo.org
> > <mailto: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>
> > >> <mailto: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
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > <mailto:mapserver-users at lists.osgeo.org>
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.osgeo.org/pipermail/mapserver-
> users/attachments/20121205/0961f29e/attachment-0001.html>
>
> ------------------------------
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> End of mapserver-users Digest, Vol 59, Issue 10
> ***********************************************

This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system.


More information about the mapserver-users mailing list