← Back to team overview

graphite-dev team mailing list archive

Re: [Question #129446]: No graphite-vhost.conf file.

 

Question #129446 on Graphite changed:
https://answers.launchpad.net/graphite/+question/129446

    Status: Answered => Open

Hennard is still having a problem:
Hi, here is new info on my problem:

Buck Trace:
________________________________
invironment:

Request Method: GET
Request URL: http://172.23.137.173/
Django Version: 1.2.3
Python Version: 2.6.6
Installed Applications:
['graphite.metrics',
 'graphite.render',
 'graphite.cli',
 'graphite.browser',
 'graphite.composer',
 'graphite.account',
 'graphite.whitelist',
 'django.contrib.auth',
 'django.contrib.sessions',
 'django.contrib.admin',
 'django.contrib.contenttypes']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.middleware.gzip.GZipMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware')


Traceback:
File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py" in get_response
  91.                         request.path_info)
File "/usr/local/lib/python2.6/dist-packages/django/core/urlresolvers.py" in resolve
  217.                     sub_match = pattern.resolve(new_path)
File "/usr/local/lib/python2.6/dist-packages/django/core/urlresolvers.py" in resolve
  217.                     sub_match = pattern.resolve(new_path)
File "/usr/local/lib/python2.6/dist-packages/django/core/urlresolvers.py" in resolve
  123.             return self.callback, args, kwargs
File "/usr/local/lib/python2.6/dist-packages/django/core/urlresolvers.py" in _get_callback
  129.             self._callback = get_callable(self._callback_str)
File "/usr/local/lib/python2.6/dist-packages/django/utils/functional.py" in wrapper
  124.         result = func(*args)
File "/usr/local/lib/python2.6/dist-packages/django/core/urlresolvers.py" in get_callable
  56.                 lookup_view = getattr(import_module(mod_name), func_name)
File "/usr/local/lib/python2.6/dist-packages/django/utils/importlib.py" in import_module
  35.     __import__(name)
File "/opt/graphite/webapp/graphite/browser/views.py" in <module>
  20. from graphite.util import getProfile, getProfileByUsername, defaultUser, json
File "/opt/graphite/webapp/graphite/util.py" in <module>
  18. from graphite.logger import log
File "/opt/graphite/webapp/graphite/logger.py" in <module>
  75. log = GraphiteLogger() # import-shared logger instance
File "/opt/graphite/webapp/graphite/logger.py" in __init__
  40.     self.infoHandler = Rotater(self.infoLogFile,when="midnight",backupCount=1)
File "/usr/lib/python2.6/logging/handlers.py" in __init__
  164.         BaseRotatingHandler.__init__(self, filename, 'a', encoding, delay)
File "/usr/lib/python2.6/logging/handlers.py" in __init__
  64.         logging.FileHandler.__init__(self, filename, mode, encoding, delay)
File "/usr/lib/python2.6/logging/__init__.py" in __init__
  827.             StreamHandler.__init__(self, self._open())
File "/usr/lib/python2.6/logging/__init__.py" in _open
  846.             stream = open(self.baseFilename, self.mode)

Exception Type: IOError at /
Exception Value: [Errno 13] Permission denied: '/opt/graphite/storage/log/webapp/info.log'

--------------------------------------------------

Thanks for the help.

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.