Return-Path: owner-postman 
Delivery-Date: Sat, 23 Apr 94 13:19:18 -0700
Return-Path: owner-postman
Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id JAA14310 for postgres-redist; Sat, 23 Apr 1994 09:52:56 -0700
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199404231652.JAA14310@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost didn't use HELO protocol
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from mailgzrz.TU-Berlin.DE (mailgzrz.TU-Berlin.DE [130.149.4.10]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id JAA14301 for <postgres@postgres.berkeley.edu>; Sat, 23 Apr 1994 09:52:24 -0700
Received: from marie.physik.TU-Berlin.DE by mailgzrz.TU-Berlin.DE (5.65c/ZRZ-MX)
          for <postgres@postgres.berkeley.edu>
	  id AA25612; Sat, 23 Apr 1994 18:51:30 +0200
Received: from lise.physik.tu-berlin.de by marie.physik.tu-berlin.de (5.0/SMI-SVR4)
	id AA04883; Sat, 23 Apr 1994 18:51:28 --100
Received: by lise.physik.tu-berlin.de (5.0/SMI-SVR4)
	id AA18935; Sat, 23 Apr 1994 18:51:27 --100
Date: Sat, 23 Apr 1994 18:51:27 --100
From: wpp@marie.physik.tu-berlin.de (Kai Petzke)
Message-Id: <9404231651.AA18935@lise.physik.tu-berlin.de>
Subject: Re: Monitor/createdb problem
To: postgres@postgres.Berkeley.EDU
In-Reply-To: <2438.9404221307@tcws-16.brunel.ac.uk> from "Tim.Wadsworth@brunel.ac.uk" at Apr 22, 94 02:07:39 pm
Content-Type: text
Content-Length: 856
Resent-To: postgres-redist@postgres.Berkeley.EDU
Resent-Date: Sat, 23 Apr 94 09:52:56 -0700
Resent-XMts: smtp

> 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


