Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Installing postgis
- Traceback (most recent call last):
- File "./scripts/check-postgis.py", line 241, in <module>
- PGDriver().check()
- File "./scripts/check-postgis.py", line 65, in check
- self.install_postgis()
- File "./scripts/check-postgis.py", line 216, in install_postgis
- self.prepare_pgpass()
- File "./scripts/check-postgis.py", line 196, in prepare_pgpass
- safe_rewrite(self.pgpass_path, pgpass_data)
- File "/opt/noc/lib/fileutils.py", line 41, in safe_rewrite
- h, p = tempfile.mkstemp(suffix=".tmp", prefix=b, dir=d)
- File "/usr/local/lib/python2.7/tempfile.py", line 308, in mkstemp
- return _mkstemp_inner(dir, prefix, suffix, flags)
- File "/usr/local/lib/python2.7/tempfile.py", line 239, in _mkstemp_inner
- fd = _os.open(file, flags, 0600)
- OSError: [Errno 13] Permission denied: '/opt/noc/local/cache/pgpass/.pgpassN_gzsY.tmp'
- upgrade-user: 30: Failed to check PostGIS installation. Check noc.conf settings
Advertisement
Add Comment
Please, Sign In to add comment