Re: Adding another cluster on same machine
От | Ron |
---|---|
Тема | Re: Adding another cluster on same machine |
Дата | |
Msg-id | df31b124-ef5b-b36d-beee-60994cfb42d9@gmail.com обсуждение исходный текст |
Ответ на | Re: Adding another cluster on same machine (Yambu <hyambu@gmail.com>) |
Ответы |
Re: Adding another cluster on same machine
|
Список | pgsql-admin |
The problem might be that you have to do the initdb after "systemctl start postgresql-10.service".
On 12/4/20 10:20 AM, Yambu wrote:
HiCentos 7Postgres v10yum install postgresql10-server/usr/pgsql-10/bin/postgresql-10-setup initdb
systemctl enable postgresql-10.service
systemctl status postgresql-10.service
systemctl start postgresql-10.serviceOn Fri, Dec 4, 2020 at 3:34 PM Ron <ronljohnsonjr@gmail.com> wrote: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.
--
Angular momentum makes the world go 'round.
Angular momentum makes the world go 'round.
В списке pgsql-admin по дате отправления: