Обсуждение: Cannot connect to postgresql database

Поиск
Список
Период
Сортировка

Cannot connect to postgresql database

От
"Matt Heerema"
Дата:
I have seen a  few other posts from people with this same issue, but I have
not found the answer on this mailing list.  So hopefully someone can point
me to the answer, or answer this for me.

I am setting up PostgreSQL 7.2.1 on windows 2000 server, using Cygwin
1.3.10-1 following Jason's postgresql-7.2.1.README file.  (it is very
helpful Jason).

Everything runs smoothly until I attempt the following command.

$ psql -U postgres template1

it returns the following error.

psql: server closed the connection unexpectedly
            This probably means the server terminated abnormally
            before or while processing the request.

Does anyone know what the issue is here?

I tried this same thing with PostgreSQL 7.2.2 and Cygwin 1.3.12-4, got the
same error.  (I was hoping it was a bug with the new version.. but, alas)

Any help is very appreciated.

matt



Re: Cannot connect to postgresql database

От
"Matt Heerema"
Дата:
I found the issue.

I was working through terminal server, and this was causing the problem.  I
ran cygwin directly from the server, and everything worked fine.  Please
disregard this message.

Thanks!

matt




I have seen a  few other posts from people with this same issue, but I have
not found the answer on this mailing list.  So hopefully someone can point
me to the answer, or answer this for me.

I am setting up PostgreSQL 7.2.1 on windows 2000 server, using Cygwin
1.3.10-1 following Jason's postgresql-7.2.1.README file.  (it is very
helpful Jason).

Everything runs smoothly until I attempt the following command.

$ psql -U postgres template1

it returns the following error.

psql: server closed the connection unexpectedly
            This probably means the server terminated abnormally
            before or while processing the request.

Does anyone know what the issue is here?

I tried this same thing with PostgreSQL 7.2.2 and Cygwin 1.3.12-4, got the
same error.  (I was hoping it was a bug with the new version.. but, alas)

Any help is very appreciated.

matt