Re: Adding another cluster on same machine - Mailing list pgsql-admin

From David G. Johnston
Subject Re: Adding another cluster on same machine
Date
Msg-id CAKFQuwac8VJc75YuFxbihXW3+jb9qbacM1ZpN-oZHjBogryXTA@mail.gmail.com
Whole thread Raw
In response to Adding another cluster on same machine  (Yambu <hyambu@gmail.com>)
List pgsql-admin
On Thursday, December 3, 2020, Yambu <hyambu@gmail.com> wrote:
Hi

Im trying to add a second cluster on the same machine, but im getting error below,what could be the problem?

-bash-4.2$ /usr/pgsql-10/bin/postgresql-10-setup initdb -D /var/lib/pgsql/10/data-log -p 5433
systemctl: invalid option -- 'D'
failed to find PGDATA setting in -D.service


What is “postgresql-10-setup” ?

David J. 

pgsql-admin by date:

Previous
From: Yambu
Date:
Subject: Adding another cluster on same machine
Next
From: Prashant Kulkarni
Date:
Subject: Differences/Enhancements between PostgreSQL versions 10-11-12