From owner-freebsd-ports Sun Oct 14 8:41:41 2001 Delivered-To: freebsd-ports@freebsd.org Received: from palle.girgensohn.se (c213-89-167-190.cm-upc.chello.se [213.89.167.190]) by hub.freebsd.org (Postfix) with ESMTP id 68B1A37B405 for ; Sun, 14 Oct 2001 08:41:34 -0700 (PDT) Received: from partitur.se (localhost [127.0.0.1]) by palle.girgensohn.se (8.11.6/8.11.5) with ESMTP id f9EFfNu10576; Sun, 14 Oct 2001 17:41:24 +0200 (CEST) (envelope-from girgen@partitur.se) Message-ID: <3BC9B223.4D4C11D3@partitur.se> Date: Sun, 14 Oct 2001 17:41:23 +0200 From: Palle Girgensohn Organization: Partitur X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: sv, en MIME-Version: 1.0 To: dan@langille.org Cc: ports@freebsd.org Subject: Re: incorrect instructions for post-install initialization References: <3BC827D5.21585.1DBBA26E@localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dan Langille wrote: > > After I installed postgresql 7.1.3 from the ports tree, I found this > message on the screen: > > "To initialize the database, you should run initdb as the "pgsql" user. > > Example: > > su -l pgsql -c initdb > > You can then start PostgreSQL by running: > > /usr/local/etc/rc.d/010.pgsql.sh start > > For postmaster settings, see ~pgsql/data/postgresql.conf" > > It appears pgsql is not contained within this release. I suspect the > instructions are out of date. I think the correct instructions are: > > su -l pgsql initdb /usr/local/pgsql/data No. The pgsql user is there (pkg-install), and a .profile with PGDATA set to ~pgsql/data exists, so it should work. What exactly is the problem? /Palle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message