Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2001 11:57:58 -0400
From:      "Dan Langille" <dan@langille.org>
To:        Palle Girgensohn <girgen@partitur.se>
Cc:        ports@freebsd.org
Subject:   Re: incorrect instructions for post-install initialization
Message-ID:  <3BC97DC6.22635.22F28472@localhost>
In-Reply-To: <3BC9B223.4D4C11D3@partitur.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BC97DC6.22635.22F28472>