I wanted to reset the database and released a forwarding database, followed by the create database on the postgresql server, accessible through psycopg2 by the django application.
When i do. /manage.py syncdb, I get the following error:
(prod) root@ns204612 :/home/someproject/prod/django-mingus/mingus
and in postgresql log I got the following error:
2010-01-24 01:08:02 CET ERROR: relation "django_site" does not exist 2010-01-24 01:08:02 CET STATEMENT: SELECT "django_site"."id", "django_site"."domain", "django_site"."name" FROM "django_site" WHERE "django_site"."id" = 1 ORDER BY "django_site"."domain" ASC 2010-01-24 01:08:02 CET ERROR: current transaction is aborted, commands ignored until end of transaction block 2010-01-24 01:08:02 CET STATEMENT: SELECT c.relname FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace WHERE c.relkind IN ('r', 'v', '') AND n.nspname NOT IN ('pg_catalog', 'pg_toast') AND pg_catalog.pg_table_is_visible(c.oid) 2010-01-24 01:08:02 CET LOG: could not receive data from client: Connection reset by peer 2010-01-24 01:08:02 CET LOG: unexpected EOF on client connection
How can i fix this?
source share