[mapserver-users] Fwd: mapcache module load error (in apache2)

thomas bonfort thomas.bonfort at gmail.com
Fri Sep 21 02:20:23 PDT 2012


the errors you are getting are not mapcache errors
first start with the supplied mapcache.xml file, then once that is
working start using your own wms server.

--
thomas

On Fri, Sep 21, 2012 at 11:12 AM, 李杨 <gisyangli at gmail.com> wrote:
> I just test it in firefox browser
>
> IN the browser there are some missing img, point to url like this
>
> I use the "http://199.195.214.155/mapcache/demo/tms" to test,
> 199.195.214.155 is my server.
>
> http://199.195.214.155/mapcache/tms/1.0.0/osm@WGS84/1/3/1.png
>
> but as I know my mapcache is not in my www dir. so mapcache dir there is no
> file.
>
>
> I just configure the mapserver , mapcache like this site say:
> ------------------------------------
> https://github.com/mapserver/mapserver/wiki/RenderingOsmDataOnUbuntuv2
> ----------------------------------------
> my mapcacche dir is in " /root/osm-demo/mapcache/cache"
>
> So I can not solve. I should refer to mapcache open doc?
>
>
> 2012/9/21 thomas bonfort <thomas.bonfort at gmail.com>
>>
>> If you've not accessed the tiles through a browser or manually
>> launched a seeding, then it's normal for the cache dir to be empty.
>> Navigate to http://localhost/mapcache/demo/tms to check.
>>
>> On Fri, Sep 21, 2012 at 10:16 AM, 李杨 <gisyangli at gmail.com> wrote:
>> > I have solve the problem using ldconfig.
>> >
>> > But nwo I feel that the mapcache is not working( not take effect). I
>> > check
>> > the cache dir and found nothing!
>> >
>> > Any one help me?
>> >
>> >
>> > ---------- Forwarded message ----------
>> > From: 李杨 <gisyangli at gmail.com>
>> > Date: 2012/9/21
>> > Subject: mapcache module load error (in apache2)
>> > To: mapserver-users at lists.osgeo.org
>> >
>> >
>> > Hi, everyone.
>> >
>> > I have a a problem when I use mapcache.
>> >
>> > when I install the mapcache module into apache2 and restart apachae2,
>> >
>> > I got the error like below, and I can not solve the problems.
>> >
>> >
>> > ----------------------------------------------------------------------------
>> > root at VM322A:~/osm-demo/mapcache-git# sudo apache2ctl restart
>> > apache2: Syntax error on line 208 of /etc/apache2/apache2.conf: Syntax
>> > error
>> > on line 1 of /etc/apache2/mods-
>> >
>> > enabled/mapcache.load: Cannot load
>> > /usr/lib/apache2/modules/mod_mapcache.so
>> > into server: libmapcache.so.0: cannot
>> >
>> > open shared object file: No such file or directory
>> > root at VM322A:~/osm-demo/mapcache-git#
>> >
>> > ------------------------------------------------------------------------------------------------
>> > Anyone could help?
>> >
>> >
>> >
>> >
>> > --
>> > Yang Li
>> > GIS Developer
>> > P.R.China
>> >
>> >
>> >
>> >
>> >
>> > --
>> > Yang Li
>> > GIS Developer
>> > P.R.China
>> >
>> >
>> >
>> > _______________________________________________
>> > mapserver-users mailing list
>> > mapserver-users at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
>> >
>
>
>
>
> --
> Yang Li
> GIS Developer
> P.R.China
>
>


More information about the mapserver-users mailing list