[Tilecache] Problem with TileCache installation

Christopher Schmidt crschmidt at metacarta.com
Fri Sep 14 08:00:42 EDT 2007


On Fri, Sep 14, 2007 at 01:27:09PM +0200, Ruben Pardo wrote:
> thank chris,
> Yes i  really did, but it didn't work, (the same logs)

Really? that's odd. It means that /bin/env is not executable. Strange.

See:

"Non-standard Python Location"

in the README for another thing to try: specifying The python location
explicitly might help.

-- Chris


> the permission ...
> 
> drwxr-xr-x 3 root root  4096 sep 14 11:16 ..
> -rwxr-xr-x 1 root root  3580 sep 14 11:16 CHANGELOG
> -rwxr-xr-x 1 root root   213 sep 14 11:16 CONTRIBUTORS
> drwxr-xr-x 2 root root  4096 sep 14 11:16 debian
> -rwxr-xr-x 1 root root  3466 sep 14 11:16 HACKING
> -rwxr-xr-x 1 root root  1135 sep 14 11:16 index.html
> -rwxr-xr-x 1 root root  1507 sep 14 11:16 LICENSE
> -rwxr-xr-x 1 root root   263 sep 14 11:16 MANIFEST
> -rwxr-xr-x 1 root root 14791 sep 14 11:16 README
> -rwxr-xr-x 1 root root   506 sep 14 11:16 setup.py
> drwxr-xr-x 2 root root  4096 sep 14 11:16 TileCache
> -rwxr-xr-x 1 root root  1868 sep 14 11:16 tilecache.cfg
> -rwxr-xr-x 1 root root   167 sep 14 11:16 tilecache.cgi
> -rwxr-xr-x 1 root root  2672 sep 14 11:16 tilecache_clean.py
> -rwxr-xr-x 1 root root   173 sep 14 11:34 tilecache.fcgi
> -rwxr-xr-x 1 root root   293 sep 14 11:16 tilecache_http_server.py
> -rwxr-xr-x 1 root root   247 sep 14 11:16 tilecache_seed.py
> 
> 
> 2007/9/14, Christopher Schmidt <crschmidt at metacarta.com>:
> >
> > On Fri, Sep 14, 2007 at 11:44:10AM +0200, Ruben Pardo wrote:
> > > Hi,
> > >
> > > i'm trying to install TileCache on a cgi on Apache,  with Mapserver
> > > mod_python, mod_fastcgi,
> > > I extract on cgi-bin, add the handler to the path tilecache like says in
> > > README file,
> > > but when i try to run a request it logs me:
> > >
> > > [Fri Sep 14 11:33:30 2007] [error] [client 10.60.167.3] (13)Permission
> > > denied: exec of '/usr/local/apache2/cgi-bin/tilecache/tilecache.cgi'
> > failed
> > > [Fri Sep 14 11:33:30 2007] [error] [client 10.60.167.3] Premature end of
> > > script headers: tilecache.cgi
> > >
> > > what can it be?
> >
> > Make Tilecache.cgi executable. (chmod +x
> > /usr/local/apache2/cgi-bin/tilecache/tilecache.cgi)
> >
> > Regards,
> > --
> > Christopher Schmidt
> > MetaCarta
> >

-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list