Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klBE5-0005P2-Vo for pgsql-admin@arkaria.postgresql.org; Fri, 04 Dec 2020 13:34:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1klBE4-0000v7-US for pgsql-admin@arkaria.postgresql.org; Fri, 04 Dec 2020 13:34:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klBE4-0000uz-KJ for pgsql-admin@lists.postgresql.org; Fri, 04 Dec 2020 13:34:20 +0000 Received: from mail-ot1-x32a.google.com ([2607:f8b0:4864:20::32a]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1klBE2-0007aq-H8 for pgsql-admin@lists.postgresql.org; Fri, 04 Dec 2020 13:34:19 +0000 Received: by mail-ot1-x32a.google.com with SMTP id z24so5157524oto.6 for ; Fri, 04 Dec 2020 05:34:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=WUdP+kTiCI0H6xbNV6RSDz6RFYdGVW9n/RwYwLQz4Mk=; b=S5M7StgPLLjM3KMialEflDgyODP6IhwYUMA8wzct0uG5cHbWi0i76pxiAWq7eaUbb5 YL1QAQfQ/eWvAX0WmwPqq1KTMWyFmJ8qkoAZkKHd+3phB/uQRZv92tjB9Pi07hIL2IUB gKcvwKNSkYqfXAPL5hrBUoLY18HwkyhCy5HwZDdS8OhxYYzGxvSEYeUuxQhHVnGWm5Uj GfATFSqm/3pkb5dl3TyKAtYisYPaXyDR0NCpvQCtROwdwecCfF41PlgVIUlwBT6E3W/8 Im8nzzyjYhdeAuDaniLMnqSm27B7WWph2o+85w83q6FNB3vC0huvNCmDH106eugJUXI3 Loag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=WUdP+kTiCI0H6xbNV6RSDz6RFYdGVW9n/RwYwLQz4Mk=; b=r/WoT3Ns36nd5oQoH7EbtVxpheosMYDw3c003+3Gpp2Dgh+C4Weqe8toBktbDI3dIE brevoI1yvCvuob15awROExVpLxpw0W+kKb/Iqr0+USmcWAux4bbTvdrACFlhiZqPSqy0 rMuiWPigo0/wpsRpXNHNE33nlWyYpD+V4mIOd4ocndb2JU8IBa+Gokk9lAznKeyk6cT6 SG2iTRdXy/aAOG4Gcn3Wd6Kd69QZlugIW8K/u1zW/SuPW9ES8ejDOTTPhbHBzsY9kkXX icPJXBsj301mAJDPDVROt5WS15q/qEMxvzXtt1uQCIJU/loEPIsU1Uic/f/LDXoATMAQ IMew== X-Gm-Message-State: AOAM53012m5v5iv460c5kxpnnhKipJTvp4R7+4SZYeUACxa5D3ALPLpC RTymcifgitNwV5GaJlz/oWUykozSh3dM9w== X-Google-Smtp-Source: ABdhPJzZxWtDp7k5p1DIF9h5ePHAoVqXtzpc/yJJG3nL3Py1yEXexMzMwcJdbuSqpXolYyxn/5uStw== X-Received: by 2002:a9d:c68:: with SMTP id 95mr3619396otr.328.1607088857007; Fri, 04 Dec 2020 05:34:17 -0800 (PST) Received: from [192.168.1.10] (ip174-67-141-204.no.no.cox.net. [174.67.141.204]) by smtp.googlemail.com with ESMTPSA id 189sm632867oob.26.2020.12.04.05.34.16 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Dec 2020 05:34:16 -0800 (PST) Subject: Re: Adding another cluster on same machine To: pgsql-admin@lists.postgresql.org References: From: Ron Message-ID: <4961e0c7-9d92-0979-31e6-cf64157a4901@gmail.com> Date: Fri, 4 Dec 2020 07:34:15 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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.