agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
Re: Monitor/createdb problem
2+ messages / 2 participants
[nested] [flat]

* Monitor/createdb problem
@ 1994-04-22 13:44 Tim.Wadsworth@brunel.ac.uk
  1970-01-01 00:00 ` Re: Monitor/createdb problem Kai Petzke <wpp@marie.physik.tu-berlin.de>
  0 siblings, 1 reply; 2+ messages in thread

From: Tim.Wadsworth@brunel.ac.uk @ 1994-04-22 13:44 UTC (permalink / raw)
  To: ucb-postgres

Hi,

I am using the 4.0.1a port of postgres to linux, on a 486 PC.
The backend (postgres binary executable) works fine, but I cannot run
createdb <database name>, or monitor. Both exit with an error message something
like:

Could not connect to backend (Port = 4321).
createdb failed for database foo.

I suspect that the problem may be that tcp/ip loopback may not be set up properly ...
I'm sure there is a document *somewhere* telling me how to set this up - could 
someone please tell me where?! (Or that the problem lies elsewhere).

Thanks,

Tim.

 ________________________________________________
|                                                |
| From Tim Wadsworth: Tim.Wadsworth@brunel.ac.uk |
|________________________________________________|




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

* Re: Monitor/createdb problem
  1994-04-22 13:44 Monitor/createdb problem Tim.Wadsworth@brunel.ac.uk
@ 1970-01-01 00:00 ` Kai Petzke <wpp@marie.physik.tu-berlin.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Kai Petzke @ 1970-01-01 00:00 UTC (permalink / raw)
  To: ucb-postgres

> Could not connect to backend (Port = 4321).
> createdb failed for database foo.
> 
> I suspect that the problem may be that tcp/ip loopback may not be set up properly ...

There are two possible problems:

a) You do not have the postmaster running.  Type:

       postmaster &

b) Your Linux box does no loopback networking.  The best idea is perhaps
   to get the SLACKWARE network disks, install them, and make sure, that
   the scripts in

       /etc/rc.d/rc.inet1
       /etc/rc.d/rc.inet2

   are properly called from /etc/rc.d/rc.local or /etc/rc.d/rc.M.


> I'm sure there is a document *somewhere* telling me how to set this up - could 
> someone please tell me where?! (Or that the problem lies elsewhere).

There is a NETWORK-HOWTO, which is regularly posted to the linux
newsgroups, and can be found on the various ftp servers as well.


Kai





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


end of thread, other threads:[~1994-04-22 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1994-04-22 13:44 Monitor/createdb problem Tim.Wadsworth@brunel.ac.uk
1970-01-01 00:00 ` Kai Petzke <wpp@marie.physik.tu-berlin.de>

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