Adding another cluster on same machine

From: Yambu <hyambu(at)gmail(dot)com>
To: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Adding another cluster on same machine
Date: 2020-12-04 06:27:22
Message-ID: CALhHtcD9ogRrF1OZqipRx1dvEWiH9Bw_=EzQDX4=jAfo9UPxLQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

regards

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David G. Johnston 2020-12-04 06:45:45 Re: Adding another cluster on same machine
Previous Message Alvaro Herrera 2020-12-04 02:19:37 Re: Moving a table/index to different tablespace