Ken Moffat wrote:
  This may very well be a local problem of my own, in which case feel
free to disregard it.  But at the moment it looks to me as if the
book's instructions will not work as written for a fresh install.

  When I first started playing with postgresql (back in the days when
I hoped to transfer a large amount of data from ASCII files - never
did get time to converting most of the data) I found that I had
to wait a little while between starting the database cluseter, and
then doing a scripted install of the test data for Billy, Evanidus,
and Jesse.  But apart from that, all was well.

  Now, with 7.6 [ my previous installs was in 7.4 ] I find that I need
to create /run/postgresl, and chown it to postgres:postgres, before
I can do this successfully.

  I see that that happens in the current bootscript, but we do not
install that until later on that page.

Yes, it happens in the boot script, but it is also in the book right after the 'make check':

Initialize a database cluster with the following commands issued by the root user:

install -v -dm700 /srv/pgsql/data &&
install -v -dm755 /run/postgresql &&    <----------------
groupadd -g 41 postgres &&
useradd -c "PostgreSQL Server" -g postgres -d /srv/pgsql/data \
        -u 41 postgres &&
chown -Rv postgres:postgres /srv/pgsql /run/postgresql &&
su - postgres -c '/usr/bin/initdb -D /srv/pgsql/data'

As the root user, start the database server with the following command:

su - postgres -c '/usr/bin/postmaster -D /srv/pgsql/data > \
    /srv/pgsql/data/logfile 2>&1 &'

...

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to