mod_wsgi getting permission denied writing webapp/info.log
I've followed all instructions for installing graphite at http://
Machine: Ubuntu 11.10 Server x64
Ran all the installation scripts using sudo.
Got Apache2 running with the graphite vhost file that was under the examples directory.
Defined "graphite" in my DNS to point to the machine hosting Apache2 & graphite.
When I hit http://
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] mod_wsgi (pid=9023): Target WSGI script '/opt/graphite/
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] mod_wsgi (pid=9023): Exception occurred processing WSGI script '/opt/graphite/
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] Traceback (most recent call last):
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] File "/opt/graphite/
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] from graphite.logger import log
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] File "/opt/graphite/
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] log = GraphiteLogger() # import-shared logger instance
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] File "/opt/graphite/
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] self.infoHandler = Rotater(
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] File "/usr/lib/
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] BaseRotatingHan
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] File "/usr/lib/
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] logging.
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] File "/usr/lib/
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] StreamHandler.
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] File "/usr/lib/
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] stream = open(self.
[Tue Nov 08 23:28:16 2011] [error] [client 10.0.1.164] IOError: [Errno 13] Permission denied: '/opt/graphite/
When I check the permissions for /opt/graphite/
Did I make a mistake by running all the pkgs installation scripts using sudo?
Anyways, any help would be much appreciated.
Thanks in advance.
-Jac
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Graphite Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- chrismd
- Solved:
- Last query:
- Last reply: