[Slackbuilds-users] Upgrading PostgreSQL Using SlackBuild Script

Adis Nezirovic adis at linux.org.ba
Wed Jun 18 04:53:53 UTC 2008

Prior to running PostgreSQL you *must* create database cluster with:
  $ su postgres -c "initdb -D /var/lib/pgsql/data"
This is specified in the readme file and rc script itself.
(Other distriobutions create database cluster directly from rc script,
IMHO very bad idea)
There is also pkgtool script to create postgresql user/group and
initialize cluster.

>   Then I tried '/etc/rc.d/rc.postgresql start', but it didn't despite
> reporting that it did. Sigh.
Our rc.script should warn you that database cluster isn't initialized,
maybe rc script isn't copied during upgrade, check for
/etc/rc.d/rc.postgresql.new file?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20080618/5ea34bb0/attachment.sig>

More information about the SlackBuilds-users mailing list