pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problems accessing postmaster
2+ messages / 2 participants
[nested] [flat]

* Problems accessing postmaster
@ 1999-01-11 08:43  José López Requena <jrequena@cc-ab.uclm.es>
  0 siblings, 1 reply; 2+ messages in thread

From: José López Requena @ 1999-01-11 08:43 UTC (permalink / raw)
  To: pgsql-interfaces

Hi! I've a problem when try to connect to the postmaster v 6.4.2 via psql
or via c program.
If I type psql template1 or the program executes the function call
PGsetdb(pghost,pgport,pgoptions,pgtty,"template1"),it returns the following
error message:

Connection to database 'template1' failed.
pqReadData()--backend closed the channel unexpectly this probably means the
backend terminated before or while processing the request.

If someone knows why this happens...
Also, there are news groups about postgresql?,and in such case, what is the
news server?

Thanks!






^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [INTERFACES] Problems accessing postmaster
@ 1999-01-11 15:28  Tom Lane <tgl@sss.pgh.pa.us>
  parent: José López Requena <jrequena@cc-ab.uclm.es>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 1999-01-11 15:28 UTC (permalink / raw)
  To: José López Requena <jrequena@cc-ab.uclm.es>; +Cc: pgsql-interfaces

=?iso-8859-1?Q?Jos=E9?= =?iso-8859-1?Q?_L=F3pez?=  Requena <jrequena@cc-ab.uclm.es> writes:
> Hi! I've a problem when try to connect to the postmaster v 6.4.2 via psql
> or via c program.
> If I type psql template1 or the program executes the function call
> PGsetdb(pghost,pgport,pgoptions,pgtty,"template1"),it returns the following
> error message:
> Connection to database 'template1' failed.
> pqReadData()--backend closed the channel unexpectly this probably means the
> backend terminated before or while processing the request.

Hmm.  That sounds pretty broken.  Does anything get logged in the
postmaster's log file (wherever you redirected its stdout/stderr to)?
Does a core file get created?  (Look for a core file both in the
postgres data directory and in its subdirectories.)  If there is a
core file, extracting a backtrace from it with gdb or your favorite
debugger would help us figure out what's wrong.

My first guess is some sort of configure/build foulup.  What kind of
system are you running on?  Which template did 'configure' pick?

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1999-01-11 15:28 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-01-11 08:43 Problems accessing postmaster José López Requena <jrequena@cc-ab.uclm.es>
1999-01-11 15:28 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox