graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #01703
[Question #178172]: OperationalError: unable to open database file
New question #178172 on Graphite:
https://answers.launchpad.net/graphite/+question/178172
On Ubuntu 11.10 Server x64.
Got past the owner/permission issues for the directory.
Now when I hit my graphite vhost, I get the following in the browser itself:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/django/core/handlers/base.py", line 101, in get_response
request.path_info)
File "/usr/lib/pymodules/python2.7/django/core/urlresolvers.py", line 252, in resolve
sub_match = pattern.resolve(new_path)
File "/usr/lib/pymodules/python2.7/django/core/urlresolvers.py", line 158, in resolve
return ResolverMatch(self.callback, args, kwargs, self.name)
File "/usr/lib/pymodules/python2.7/django/core/urlresolvers.py", line 164, in _get_callback
self._callback = get_callable(self._callback_str)
File "/usr/lib/pymodules/python2.7/django/utils/functional.py", line 124, in wrapper
result = func(*args)
File "/usr/lib/pymodules/python2.7/django/core/urlresolvers.py", line 91, in get_callable
lookup_view = getattr(import_module(mod_name), func_name)
File "/usr/lib/pymodules/python2.7/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/opt/graphite/webapp/graphite/browser/views.py", line 20, in <module>
from graphite.util import getProfile, getProfileByUsername, defaultUser, json
File "/opt/graphite/webapp/graphite/util.py", line 55, in <module>
defaultUser = User.objects.get(username='default')
File "/usr/lib/pymodules/python2.7/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/django/db/models/query.py", line 344, in get
num = len(clone)
File "/usr/lib/pymodules/python2.7/django/db/models/query.py", line 82, in __len__
self._result_cache = list(self.iterator())
File "/usr/lib/pymodules/python2.7/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/usr/lib/pymodules/python2.7/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/usr/lib/pymodules/python2.7/django/db/models/sql/compiler.py", line 734, in execute_sql
cursor = self.connection.cursor()
File "/usr/lib/pymodules/python2.7/django/db/backends/__init__.py", line 252, in cursor
cursor = util.CursorWrapper(self._cursor(), self)
File "/usr/lib/pymodules/python2.7/django/db/backends/sqlite3/base.py", line 207, in _cursor
self.connection = Database.connect(**kwargs)
OperationalError: unable to open database file
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.