From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Adding another cluster on same machine
Date: Fri, 4 Dec 2020 07:34:15 -0600
Message-ID: <4961e0c7-9d92-0979-31e6-cf64157a4901@gmail.com> (raw)
In-Reply-To: <CALhHtcD9ogRrF1OZqipRx1dvEWiH9Bw_=EzQDX4=jAfo9UPxLQ@mail.gmail.com>
References: <CALhHtcD9ogRrF1OZqipRx1dvEWiH9Bw_=EzQDX4=jAfo9UPxLQ@mail.gmail.com>
On 12/4/20 12:27 AM, Yambu 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 distro (including version!) are you running?
How did you install Postgres?
--
Angular momentum makes the world go 'round.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: Adding another cluster on same machine
In-Reply-To: <4961e0c7-9d92-0979-31e6-cf64157a4901@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox