graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #06108
[Question #293732]: Problem running Graphite
New question #293732 on Graphite:
https://answers.launchpad.net/graphite/+question/293732
Hello all.
I am pulling my hair out to make graphite run on my monitoring server.
This is a production monitoring server using omd/check_mk and now i want to change the graphs for graphite.
Can you guys please give me a help?
I have tried for a log time now and can not understand what is going on.
Here is the log for what i think is the problem:
mod_wsgi (pid=26770): Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module.
[Sun May 15 10:04:18.759579 2016] [:error] [pid 26770] mod_wsgi (pid=26770): Exception occurred processing WSGI script '/opt/graphite/conf/graphite.wsgi'.
[Sun May 15 10:04:18.759607 2016] [:error] [pid 26770] Traceback (most recent call last):
[Sun May 15 10:04:18.759632 2016] [:error] [pid 26770] File "/opt/graphite/conf/graphite.wsgi", line 46, in <module>
[Sun May 15 10:04:18.759719 2016] [:error] [pid 26770] import graphite.metrics.search # noqa
[Sun May 15 10:04:18.759734 2016] [:error] [pid 26770] File "/usr/lib/python2.7/site-packages/graphite/metrics/search.py", line 6, in <module>
[Sun May 15 10:04:18.759814 2016] [:error] [pid 26770] from graphite.storage import is_pattern, match_entries
[Sun May 15 10:04:18.759828 2016] [:error] [pid 26770] File "/usr/lib/python2.7/site-packages/graphite/storage.py", line 9, in <module>
[Sun May 15 10:04:18.759974 2016] [:error] [pid 26770] from graphite.remote_storage import RemoteStore
[Sun May 15 10:04:18.759989 2016] [:error] [pid 26770] File "/usr/lib/python2.7/site-packages/graphite/remote_storage.py", line 8, in <module>
[Sun May 15 10:04:18.760075 2016] [:error] [pid 26770] from graphite.util import unpickle
[Sun May 15 10:04:18.760089 2016] [:error] [pid 26770] File "/usr/lib/python2.7/site-packages/graphite/util.py", line 81, in <module>
[Sun May 15 10:04:18.760175 2016] [:error] [pid 26770] defaultUser = User.objects.get(username='default')
[Sun May 15 10:04:18.760188 2016] [:error] [pid 26770] File "/usr/lib/python2.7/site-packages/django/db/models/manager.py", line 151, in get
[Sun May 15 10:04:18.760300 2016] [:error] [pid 26770] return self.get_queryset().get(*args, **kwargs)
[Sun May 15 10:04:18.760314 2016] [:error] [pid 26770] File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 304, in get
[Sun May 15 10:04:18.760818 2016] [:error] [pid 26770] num = len(clone)
[Sun May 15 10:04:18.760839 2016] [:error] [pid 26770] File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 77, in __len__
[Sun May 15 10:04:18.760861 2016] [:error] [pid 26770] self._fetch_all()
[Sun May 15 10:04:18.760871 2016] [:error] [pid 26770] File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 857, in _fetch_all
[Sun May 15 10:04:18.760887 2016] [:error] [pid 26770] self._result_cache = list(self.iterator())
[Sun May 15 10:04:18.760896 2016] [:error] [pid 26770] File "/usr/lib/python2.7/site-packages/django/db/models/query.py", line 220, in iterator
[Sun May 15 10:04:18.760911 2016] [:error] [pid 26770] for row in compiler.results_iter():
[Sun May 15 10:04:18.760920 2016] [:error] [pid 26770] File "/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 713, in results_iter
[Sun May 15 10:04:18.761263 2016] [:error] [pid 26770] for rows in self.execute_sql(MULTI):
[Sun May 15 10:04:18.761278 2016] [:error] [pid 26770] File "/usr/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
[Sun May 15 10:04:18.761305 2016] [:error] [pid 26770] cursor.execute(sql, params)
[Sun May 15 10:04:18.761316 2016] [:error] [pid 26770] File "/usr/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
[Sun May 15 10:04:18.761412 2016] [:error] [pid 26770] return self.cursor.execute(sql, params)
[Sun May 15 10:04:18.761432 2016] [:error] [pid 26770] File "/usr/lib/python2.7/site-packages/django/db/utils.py", line 99, in __exit__
[Sun May 15 10:04:18.761552 2016] [:error] [pid 26770] six.reraise(dj_exc_type, dj_exc_value, traceback)
[Sun May 15 10:04:18.761566 2016] [:error] [pid 26770] File "/usr/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
[Sun May 15 10:04:18.761585 2016] [:error] [pid 26770] return self.cursor.execute(sql, params)
[Sun May 15 10:04:18.761595 2016] [:error] [pid 26770] File "/usr/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", line 452, in execute
[Sun May 15 10:04:18.761784 2016] [:error] [pid 26770] return Database.Cursor.execute(self, query, params)
[Sun May 15 10:04:18.761811 2016] [:error] [pid 26770] OperationalError: no such table: auth_user
--
You received this question notification because your team graphite-dev
is an answer contact for Graphite.