Skip to content

Instantly share code, notes, and snippets.

@stuross
Created January 27, 2015 18:34
Show Gist options
  • Save stuross/d1021992b367471dd7e5 to your computer and use it in GitHub Desktop.
Save stuross/d1021992b367471dd7e5 to your computer and use it in GitHub Desktop.
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/rest_framework/authentication.py", line 166, in authenticate
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: return self.authenticate_credentials(auth[1])
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/rest_framework/authentication.py", line 170, in authenticate_credentials
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: token = self.model.objects.get(key=key)
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py", line 151, in get
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: return self.get_queryset().get(*args, **kwargs)
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 304, in get
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: num = len(clone)
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 77, in __len__
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: self._fetch_all()
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 857, in _fetch_all
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: self._result_cache = list(self.iterator())
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 220, in iterator
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: for row in compiler.results_iter():
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 713, in results_iter
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: for rows in self.execute_sql(MULTI):
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 785, in execute_sql
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: cursor = self.connection.cursor()
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 162, in cursor
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: cursor = util.CursorWrapper(self._cursor(), self)
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 132, in _cursor
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: self.ensure_connection()
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 127, in ensure_connection
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: self.connect()
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py", line 99, in __exit__
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: six.reraise(dj_exc_type, dj_exc_value, traceback)
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 127, in ensure_connection
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: self.connect()
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 115, in connect
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: self.connection = self.get_new_connection(conn_params)
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 115, in get_new_connection
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: return Database.connect(**conn_params)
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: File "/usr/local/lib/python2.7/dist-packages/psycopg2/__init__.py", line 164, in connect
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: conn = _connect(dsn, connection_factory=connection_factory, async=async)
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: OperationalError: FATAL: the database system is starting up
Jan 27 18:12:35 ip-10-0-0-232.ec2.internal sh[26477]: 10.0.0.108 "GET /v1/apps/bubbly-greenery/logs HTTP/1.0" 500 - "python-requests/2.4.3 CPython/2.7.6 Linux/3.16.0-29-generic"
Jan 27 18:13:03 ip-10-0-0-232.ec2.internal sh[26477]: 2015-01-27T18:13:03Z f93f1f8137d5 confd[84]: ERROR Config check failed: exit status 1
Jan 27 18:13:03 ip-10-0-0-232.ec2.internal sh[26477]: Error: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
Jan 27 18:13:08 ip-10-0-0-232.ec2.internal sh[26477]: 2015-01-27T18:13:08Z f93f1f8137d5 confd[84]: ERROR Config check failed: exit status 1
Jan 27 18:29:04 ip-10-0-0-232.ec2.internal sh[26477]: 2015-01-27T18:29:04Z f93f1f8137d5 confd[84]: ERROR Config check failed: exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment