Return-Path: postarch
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA15620; Mon, 30 Mar 92 13:58:37 -0800
Message-Id: <9203302158.AA15620@postgres.Berkeley.EDU>
From: postarch (Postgres Mailing Archive)
Subject: Re: problems with postmaster
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
In-Reply-To: Your message of "Wed, 25 Mar 92 01:34:37 PST."
             <9203250934.AA17758@postgres.Berkeley.EDU> 
Date: Mon, 30 Mar 92 13:57:49 PST

you write:
> I am trying to install postgres-3.1 at my SUN SPARC1-station (SunOS 4.1.1).  
> Everything has been working fine until I was going to create the bootstrap
> template database. When I started the postmaster I got the following message
> 
> StreamServerPort: cannot bind to port
> 
> and the postmaster-program aborted.
> 
> Has anybody seen this message before, and in case what have you done to
> fix the problem.

Sounds like some other program may be using the default port of 4321.  To
specify a different port use the -p option for the postmaster.   Once you
use a different port in the postmaster you should set the environment variable
PGPORT to agree with the new port choice so that front-end applications will
know where to shout (libpq routines look for PGPORT values before using 4321).


Jeff Meredith
mer@postgres.berkeley.edu
