I am getting a Permission Denied error when browsing the webpage of the calamari server on a newly installed calamari server running under CentOS 6.

I had to stop iptables to access the server, and the installation when as planned w/o errors. I also had to install supervisor 3.1.3 outside of epel as the calamari-ctl initailize was hanging before.

Ideas? Here is a copy of the error message (Look in the last couple of lines)


[Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] mod_wsgi (pid=1815): Exception occurred processing WSGI script '/opt/calamari/conf/calamari.wsgi'. [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] Traceback (most recent call last): [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 255, in __call__ [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] response = self.get_response(request) [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/django/core/handlers/base.py", line 178, in get_response [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/django/core/handlers/base.py", line 220, in handle_uncaught_exception [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] if resolver.urlconf_module is None: [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/django/core/urlresolvers.py", line 342, in urlconf_module [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] self._urlconf_module = import_module(self.urlconf_name) [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module
[Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] __import__(name)
[Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/calamari_web-0.1-py2.6.egg/calamari_web/urls.py", line 20, in <module> [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] url(r'^api/v1/', include('calamari_rest.urls.v1')), [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/django/conf/urls/__init__.py", line 25, in include [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] urlconf_module = import_module(urlconf_module) [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module
[Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] __import__(name)
[Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/calamari_rest_api-0.1-py2.6.egg/calamari_rest/urls/v1.py", line 3, in <module> [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] import calamari_rest.views.v1 [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/calamari_rest_api-0.1-py2.6.egg/calamari_rest/views/v1.py", line 33, in <module> [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] from graphite.render.datalib import fetchData [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/graphite/render/datalib.py", line 20, in <module> [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] from graphite.storage import STORE, LOCAL_STORE [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/graphite/storage.py", line 7, in <module> [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] from graphite.remote_storage import RemoteStore [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/graphite/remote_storage.py", line 8, in <module> [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] from graphite.util import unpickle [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/graphite/util.py", line 71, in <module> [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] defaultUser = User.objects.get(username='default') [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/django/db/models/manager.py", line 143, in get [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] return self.get_query_set().get(*args, **kwargs) [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/django/db/models/query.py", line 382, in get
[Sat May 23 00:06:49 2015] [error] [client 192.168.2.3]     num = len(clone)
[Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/django/db/models/query.py", line 90, in __len__ [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] self._result_cache = list(self.iterator()) [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/django/db/models/query.py", line 301, in iterator [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] for row in compiler.results_iter(): [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 775, in results_iter [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] for rows in self.execute_sql(MULTI): [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 839, in execute_sql [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] cursor = self.connection.cursor() [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/django/db/backends/__init__.py", line 326, in cursor [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] cursor = util.CursorWrapper(self._cursor(), self) [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 182, in _cursor [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] self.connection = Database.connect(**conn_params) [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] File "/opt/calamari/venv/lib/python2.6/site-packages/psycopg2/__init__.py", line 164, in connect [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] conn = _connect(dsn, connection_factory=connection_factory, async=async) [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] OperationalError: could not connect to server: Permission denied [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] \tIs the server running on host "localhost" and accepting [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] \tTCP/IP connections on port 5432? [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] could not connect to server: Permission denied [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] \tIs the server running on host "localhost" and accepting [Sat May 23 00:06:49 2015] [error] [client 192.168.2.3] \tTCP/IP connections on port 5432?
[Sat May 23 00:06:49 2015] [error] [client 192.168.2.3]




--

__
Ignacio Bravo
LTG Federal, Inc
www.ltgfederal.com
Office: (703) 951-7760
Mobile: (571) 224-6046

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to