Guest User

Untitled

a guest
Sep 11th, 2014
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. Installing postgis
  2. Traceback (most recent call last):
  3. File "./scripts/check-postgis.py", line 241, in <module>
  4. PGDriver().check()
  5. File "./scripts/check-postgis.py", line 65, in check
  6. self.install_postgis()
  7. File "./scripts/check-postgis.py", line 216, in install_postgis
  8. self.prepare_pgpass()
  9. File "./scripts/check-postgis.py", line 196, in prepare_pgpass
  10. safe_rewrite(self.pgpass_path, pgpass_data)
  11. File "/opt/noc/lib/fileutils.py", line 41, in safe_rewrite
  12. h, p = tempfile.mkstemp(suffix=".tmp", prefix=b, dir=d)
  13. File "/usr/local/lib/python2.7/tempfile.py", line 308, in mkstemp
  14. return _mkstemp_inner(dir, prefix, suffix, flags)
  15. File "/usr/local/lib/python2.7/tempfile.py", line 239, in _mkstemp_inner
  16. fd = _os.open(file, flags, 0600)
  17. OSError: [Errno 13] Permission denied: '/opt/noc/local/cache/pgpass/.pgpassN_gzsY.tmp'
  18. upgrade-user: 30: Failed to check PostGIS installation. Check noc.conf settings
Advertisement
Add Comment
Please, Sign In to add comment