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 1jWyFJ-0006Dp-Bk for pgsql-admin@arkaria.postgresql.org; Fri, 08 May 2020 08:20:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jWyFI-0005pf-03 for pgsql-admin@arkaria.postgresql.org; Fri, 08 May 2020 08:20:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jWyFH-0005pY-NS for pgsql-admin@lists.postgresql.org; Fri, 08 May 2020 08:20:35 +0000 Received: from jakobs.com ([85.214.83.89] helo=rs.plausibolo.de) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jWyFC-0004Xo-2Z for pgsql-admin@lists.postgresql.org; Fri, 08 May 2020 08:20:35 +0000 Received: from localhost (localhost [127.0.0.1]) by rs.plausibolo.de (Postfix) with ESMTP id 8106BBE14C4 for ; Fri, 8 May 2020 10:20:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at rs.plausibolo.de Received: from rs.plausibolo.de ([IPv6:::1]) by localhost (h2367442.stratoserver.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id btPTkgrHoc6m; Fri, 8 May 2020 10:20:26 +0200 (CEST) Received: from [192.168.178.97] (ip-37-201-154-65.hsi13.unitymediagroup.de [37.201.154.65]) by rs.plausibolo.de (Postfix) with ESMTPSA id 16A2ABE1222; Fri, 8 May 2020 10:20:26 +0200 (CEST) Subject: Re: postgresql Installation failed Error changing group of /opt/PostgreSQL to daemon To: pgsql-admin@lists.postgresql.org References: From: Holger Jakobs Message-ID: <830f79d9-d859-ea28-1550-42f8805cefff@jakobs.com> Date: Fri, 8 May 2020 10:20:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------0D72E93308085C1112090CC7" Content-Language: de-DE List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------0D72E93308085C1112090CC7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, You give no information about the kind of installer and platform you have used. The PostgreSQL community provides the source code and some packages for Linux distributions, but what you show doen't look like any of these. They usually don't install to /opt Which installer (where did you get it from) did you use on which platform? Which user was doing the installation (root?). The installer obviously wanted to change the group owner of a directory to the user daemon. In order to succeed, this has to be carried out by root and a user named daemon must exist. That's what I can tell without further information. Regards, Holger Am 08.05.20 um 07:04 schrieb Ayaansh Chawla: > > Pre Installation Summary > > The following settings will be used for the installation:: > > Installation Directory: /opt/PostgreSQL/10 Server Installation > Directory: /opt/PostgreSQL/10 Data Directory: /opt/PostgreSQL/10/data > Database Port: 5432 Database Superuser: postgres Operating System > Account: postgres Database Service: postgresql-10 Command Line Tools > Installation Directory: /opt/PostgreSQL/10 > > Press [Enter] to continue: > > ------------------------------------------------------------------------ > > Setup is now ready to begin installing PostgreSQL on your computer. > > Do you want to continue? [Y/n]: > > ------------------------------------------------------------------------ > > Please wait while Setup installs PostgreSQL on your computer. > > Installing 0% ______________ 50% ______________ 100% > > *Error: There has been an error. Error changing group of > /opt/PostgreSQL to daemon Press [Enter] to continue:* > > PostgreSQl 10 Fails with above error. I even tried to create user > daemon still it fails > -- Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012 --------------0D72E93308085C1112090CC7 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

Hi,

You give no information about the kind of installer and platform you have used.

The PostgreSQL community provides the source code and some packages for Linux distributions, but what you show doen't look like any of these. They usually don't install to /opt

Which installer (where did you get it from) did you use on which platform?

Which user was doing the installation (root?).

The installer obviously wanted to change the group owner of a directory to the user daemon. In order to succeed, this has to be carried out by root and a user named daemon must exist.

That's what I can tell without further information.

Regards,

Holger

Am 08.05.20 um 07:04 schrieb Ayaansh Chawla:

Pre Installation Summary

The following settings will be used for the installation::

Installation Directory: /opt/PostgreSQL/10 Server Installation Directory: /opt/PostgreSQL/10 Data Directory: /opt/PostgreSQL/10/data Database Port: 5432 Database Superuser: postgres Operating System Account: postgres Database Service: postgresql-10 Command Line Tools Installation Directory: /opt/PostgreSQL/10

Press [Enter] to continue:


Setup is now ready to begin installing PostgreSQL on your computer.

Do you want to continue? [Y/n]:


Please wait while Setup installs PostgreSQL on your computer.

Installing 0% ______________ 50% ______________ 100%

Error: There has been an error. Error changing group of /opt/PostgreSQL to daemon Press [Enter] to continue:

PostgreSQl 10 Fails with above error. I even tried to create user daemon still it fails

-- 
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012
--------------0D72E93308085C1112090CC7--