Advertisement
Guest User

Untitled

a guest
Sep 21st, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.90 KB | None | 0 0
  1.  
  2. System check identified no issues (0 silenced).
  3. Unhandled exception in thread started by <function wrapper at 0x9864bc4>
  4. Traceback (most recent call last):
  5.   File "/vagrant/.env/local/lib/python2.7/site-packages/django/utils/autoreload.py", line 222, in wrapper
  6.     fn(*args, **kwargs)
  7.   File "/vagrant/.env/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 107, in inner_run
  8.     self.check_migrations()
  9.   File "/vagrant/.env/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 159, in check_migrations
  10.     executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
  11.   File "/vagrant/.env/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 17, in __init__
  12.     self.loader = MigrationLoader(self.connection)
  13.   File "/vagrant/.env/local/lib/python2.7/site-packages/django/db/migrations/loader.py", line 48, in __init__
  14.     self.build_graph()
  15.   File "/vagrant/.env/local/lib/python2.7/site-packages/django/db/migrations/loader.py", line 179, in build_graph
  16.     self.applied_migrations = recorder.applied_migrations()
  17.   File "/vagrant/.env/local/lib/python2.7/site-packages/django/db/migrations/recorder.py", line 59, in applied_migrations
  18.     self.ensure_schema()
  19.   File "/vagrant/.env/local/lib/python2.7/site-packages/django/db/migrations/recorder.py", line 49, in ensure_schema
  20.     if self.Migration._meta.db_table in self.connection.introspection.get_table_list(self.connection.cursor()):
  21.   File "/vagrant/.env/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 165, in cursor
  22.     cursor = self.make_debug_cursor(self._cursor())
  23.   File "/vagrant/.env/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 138, in _cursor
  24.     self.ensure_connection()
  25.   File "/vagrant/.env/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 133, in ensure_connection
  26.     self.connect()
  27.   File "/vagrant/.env/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
  28.     six.reraise(dj_exc_type, dj_exc_value, traceback)
  29.   File "/vagrant/.env/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 133, in ensure_connection
  30.     self.connect()
  31.   File "/vagrant/.env/local/lib/python2.7/site-packages/django/db/backends/__init__.py", line 122, in connect
  32.     self.connection = self.get_new_connection(conn_params)
  33.   File "/vagrant/.env/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 134, in get_new_connection
  34.     return Database.connect(**conn_params)
  35.   File "/vagrant/.env/local/lib/python2.7/site-packages/psycopg2/__init__.py", line 164, in connect
  36.     conn = _connect(dsn, connection_factory=connection_factory, async=async)
  37. django.db.utils.OperationalError: could not connect to server: Connection refused
  38.     Is the server running on host "localhost" (127.0.0.1) and accepting
  39.     TCP/IP connections on port 5432?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement