[Slackbuilds-users] Upgrading PostgreSQL Using SlackBuild Script
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
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the SlackBuilds-users