[MapProxy] log permission denied

Christoph Schettler christoph.schettler at tu-dresden.de
Wed Jul 11 01:02:22 PDT 2018


Hey list,

 

i want to set up the logging form y mapproxy implementation on ubuntu 18
machine.

But  I'm getting a no permission error from the mod_wsgi when i try to
access the mapproxy page on my apache.

 

I created the log file config as described in the docs.

 

The error output:

 

mod_wsgi (pid=7512): Failed to exec Python script file
'/mnt/0a0caead-2478-405e-9924-90617b1656f7/itvs_osm/itvs_wmts/conf/config.py
'.

mod_wsgi (pid=7512): Exception occurred processing WSGI script
'/mnt/0a0caead-2478-405e-9924-90617b1656f7/itvs_osm/itvs_wmts/conf/config.py
'.

Traceback (most recent call last):

  File
"/mnt/0a0caead-2478-405e-9924-90617b1656f7/itvs_osm/itvs_wmts/conf/config.py
", line 10, in <module>

 
fileConfig(r'/mnt/0a0caead-2478-405e-9924-90617b1656f7/itvs_osm/itvs_wmts/lo
g/log.ini', {'here':
os.path.dirname(os.path.dirname(os.path.abspath(__file__)))})

  File "/usr/lib/python2.7/logging/config.py", line 85, in fileConfig

    handlers = _install_handlers(cp, formatters)

  File "/usr/lib/python2.7/logging/config.py", line 163, in
_install_handlers

    h = klass(*args)

  File "/usr/lib/python2.7/logging/__init__.py", line 920, in __init__

    StreamHandler.__init__(self, self._open())

  File "/usr/lib/python2.7/logging/__init__.py", line 950, in _open

    stream = open(self.baseFilename, self.mode)

IOError: [Errno 13] Permission denied:
'/mnt/0a0caead-2478-405e-9924-90617b1656f7/itvs_osm/itvs_wmts/mapproxy.log'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20180711/cb8dc660/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7500 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20180711/cb8dc660/attachment.bin>


More information about the MapProxy mailing list