Обсуждение: pq_recvbuf: unexpected EOF on client connection

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

pq_recvbuf: unexpected EOF on client connection

От
Paul Bauer
Дата:
Hello, I am new to the list and have a question.  I am trying to get Horde/IMP and pgsql working together and am
gettingthe following error: 

pq_recvbuf: unexpected EOF on client connection

looking at stout shows:

/usr/local/pgsql/bin/postmaster child[11954]: starting with (postgres -d2 -v131072 -p horde )
FindExec: found "/usr/local/pgsql/bin/postgres" using argv[0]
DEBUG:  connection: host=[local] user=pgsql database=horde
DEBUG:  InitPostgres
DEBUG:  StartTransactionCommand
DEBUG:  query: select getdatabaseencoding()
DEBUG:  ProcessQuery
DEBUG:  CommitTransactionCommand
DEBUG:  StartTransactionCommand
DEBUG:  query: select lang from imp_pref where username='pbauer@localhost'
DEBUG:  ProcessQuery
DEBUG:  CommitTransactionCommand
/usr/local/pgsql/bin/postmaster: ServerLoop:            handling reading 5
/usr/local/pgsql/bin/postmaster: ServerLoop:            handling reading 5
/usr/local/pgsql/bin/postmaster: ServerLoop:            handling reading 5
/usr/local/pgsql/bin/postmaster: ServerLoop:            handling reading 5
/usr/local/pgsql/bin/postmaster: ServerLoop:            handling writing 5
/usr/local/pgsql/bin/postmaster: BackendStartup: pid 11955 user pgsql db horde socket 5
/usr/local/pgsql/bin/postmaster child[11955]: starting with (postgres -d2 -v131072 -p horde )
FindExec: found "/usr/local/pgsql/bin/postgres" using argv[0]
DEBUG:  connection: host=127.0.0.1 user=pgsql database=horde
DEBUG:  InitPostgres
DEBUG:  StartTransactionCommand
DEBUG:  query: select getdatabaseencoding()
DEBUG:  ProcessQuery
DEBUG:  CommitTransactionCommand
DEBUG:  StartTransactionCommand
DEBUG:  query: SELECT val FROM active_sessions WHERE sid  = '33378286c7ee5daa0f954582402ddce7' AND name =
'HordeSession'
DEBUG:  ProcessQuery
DEBUG:  CommitTransactionCommand
pq_recvbuf: unexpected EOF on client connection
pq_recvbuf: unexpected EOF on client connection
DEBUG:  proc_exit(0)
DEBUG:  shmem_exit(0)
DEBUG:  exit(0)
/usr/local/pgsql/bin/postmaster: reaping dead processes...
DEBUG:  proc_exit(0)
DEBUG:  shmem_exit(0)
/usr/local/pgsql/bin/postmaster: CleanupProc: pid 11954 exited with status 0
DEBUG:  exit(0)
/usr/local/pgsql/bin/postmaster: reaping dead processes...
/usr/local/pgsql/bin/postmaster: CleanupProc: pid 11955 exited with status 0
[Mon Jan 14 10:28:45 2002] [notice] child pid 11948 exit signal Segmentation fault (11)
DEBUG:  proc_exit(0)
DEBUG:  shmem_exit(0)
DEBUG:  exit(0)
/usr/local/pgsql/bin/postmaster: reaping dead processes...
/usr/local/pgsql/bin/postmaster: CleanupProc: pid 11961 exited with status 0

This repeats 8 or 9 times until Apache stops trying to load the page.
I have done a Google search to try to find the answer but only find others with a similar question.   If anyone can
pointme in the right direction I would greatly appreciate it. 

 $ psql --version
psql (PostgreSQL) 7.1.3
contains readline, history, multibyte support
Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
Portions Copyright (c) 1996 Regents of the University of California
Read the file COPYRIGHT or use the command \copyright to see the
usage and distribution terms.

FreeBSD 4.4-STABLE is the platform.   IMP 2.2.7/ Horde 1.2.7

Again Thanks.
Paul.

Re: pq_recvbuf: unexpected EOF on client connection

От
Tom Lane
Дата:
Paul Bauer <pbauer@mail.shorttermwhat.com> writes:
> Hello, I am new to the list and have a question.  I am trying to get Horde/IMP and pgsql working together and am
gettingthe following error: 
> pq_recvbuf: unexpected EOF on client connection

As far as can be told here, postgres is perfectly happy up till the
instant where it sees the client side close the connection.  You'll
need to look at why the client code is deciding to do that.  I don't
know what Horde/IMAP is, so I'm not able to give you any further help
than that ...

            regards, tom lane