RulerOfArda
IS-IT--Management
Hi There,
I created a cluster with initdb into a custom directory /pgdata/bases, and ser PGDATA environment to that value. I can start/stop postmaster from command prompt.
Despite this, when I issue ./postgresql-8.1 start, cluster main is started up instead.
Hence I modified init-d.functions line
for c in /etc/postgresql/"$2"/*; do
to
for c in /pgdata/bases/*; do
Now when I issue a startup I get the following error.
Starting PostgreSQL 8.1 database server: PERSONAL* Error: specified cluster does not exist
failed!
Any clues?
regards,
jm
I created a cluster with initdb into a custom directory /pgdata/bases, and ser PGDATA environment to that value. I can start/stop postmaster from command prompt.
Despite this, when I issue ./postgresql-8.1 start, cluster main is started up instead.
Hence I modified init-d.functions line
for c in /etc/postgresql/"$2"/*; do
to
for c in /pgdata/bases/*; do
Now when I issue a startup I get the following error.
Starting PostgreSQL 8.1 database server: PERSONAL* Error: specified cluster does not exist
failed!
Any clues?
regards,
jm