From owner-freebsd-ports Sun Oct 14 8:58:57 2001 Delivered-To: freebsd-ports@freebsd.org Received: from lists.unixathome.org (lists.unixathome.org [210.48.103.158]) by hub.freebsd.org (Postfix) with ESMTP id 84E2037B406 for ; Sun, 14 Oct 2001 08:58:54 -0700 (PDT) Received: from wocker (lists.unixathome.org [210.48.103.158]) by lists.unixathome.org (8.11.6/8.11.6) with ESMTP id f9EFw2580502; Mon, 15 Oct 2001 04:58:09 +1300 (NZDT) (envelope-from dan@langille.org) From: "Dan Langille" Organization: novice in training To: Palle Girgensohn Date: Sun, 14 Oct 2001 11:57:58 -0400 MIME-Version: 1.0 Subject: Re: incorrect instructions for post-install initialization Reply-To: dan@langille.org Cc: ports@freebsd.org Message-ID: <3BC97DC6.22635.22F28472@localhost> In-reply-to: <3BC9B223.4D4C11D3@partitur.se> X-mailer: Pegasus Mail for Win32 (v4.0, beta 40) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body 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 On 14 Oct 2001 at 17:41, Palle Girgensohn wrote: > 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. Agreed, that is not the problem. > What exactly is the problem? I think the problem is me, not enough sleep, and not thinking things through correctly. I apologise. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ - practical examples To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message