Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8qAZ-0002Yo-Dg for pgsql-general@arkaria.postgresql.org; Tue, 26 Mar 2019 17:47:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h8qAY-0001NS-0x for pgsql-general@arkaria.postgresql.org; Tue, 26 Mar 2019 17:47:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8qAX-0001NL-Ob for pgsql-general@lists.postgresql.org; Tue, 26 Mar 2019 17:47:25 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h8qAU-0005NA-EU for pgsql-general@lists.postgresql.org; Tue, 26 Mar 2019 17:47:25 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 842162201F; Tue, 26 Mar 2019 13:47:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 26 Mar 2019 13:47:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=0 Qqo8zYwpXSfPwskqMyGAV1ZXtniilos4JZDABXAjJE=; b=j0WH2Q4EZwUIyrMs1 2FVqKP8SKljWIiPfGXDEBe+GQGuz/YaVrRGc47c+Xv4tKoG9mqhwZie9VVJInW0q qCicR0yYmhAc6CF44+8+hdpCax+/iAJ76gmSvBVoEfykAgevUiHQetk4LDUGMPT7 FsflQ9gl8RTcQJeNV7xBJsacuy9BENrOat9+otziobjkeZ4btiYvBqniw2LRnuAL MDhsExtOcGP85ZGSDFtRR2ZJDceFkyOZSYdL+8FOJriO+9j/nX5di3WcE4ij5Dp5 SepB7P/XJDjbsf+5GSD9aicyR5ET7ixQo/xAhpQ5F2obeOdEPuxXhq4QDp8fJmrB g4i9w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=0Qqo8zYwpXSfPwskqMyGAV1ZXtniilos4JZDABXAj JE=; b=009EY6QaXadRHRdqEzJFpd7c/MbkwjyeVBRUN8Wdml9S2dOlJIDiwshN7 LauUgMp70Uy1a5q+xfOpR7z8Ykm3Gk8HFi+33+PODTu6A4kAzdDqAmRYb7ehrGIP Zc5bXWP6+LlaxjArTq6WdhNkDVMxWc3mC0oqXEXg4Zr/Kf/MyD41NiV3geLjMOPE csF3r9ARiw9WOSyT+tRV+4c/8c3P1OVzjpjW8uNpyEdhM2PR+o5pKYyqpKYeaVg0 WvX+L0jUBqmx4dgvIsmVw7mvdINnnrJ05CsRJ3qouWdYej8/zf3L5BMLuhgyLphd eu8P3D37AEFiVLc0+TCvAUmx2bpXw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkedtgdelfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucfkphephedtrdduleejrdektddrvdenuc frrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgv rhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from ranger.suse (50-197-80-2-static.hfc.comcastbusiness.net [50.197.80.2]) by mail.messagingengine.com (Postfix) with ESMTPA id 7A3B0E4448; Tue, 26 Mar 2019 13:47:19 -0400 (EDT) Subject: Re: plctl extension issue postgresql 11.2 To: Prakash Ramakrishnan Cc: pgsql-general@lists.postgresql.org References: <58c8bb24-2c9a-6ac9-7cd3-b503b2ba3f5b@aklaver.com> <871be6e8-afa2-5808-898b-79b94b9e49b5@aklaver.com> From: Adrian Klaver Message-ID: <889d0b30-73ee-2c9c-ce2b-b7dda9d96bff@aklaver.com> Date: Tue, 26 Mar 2019 10:47:18 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/26/19 10:43 AM, Prakash Ramakrishnan wrote: > I did postgres 11.2 version using yum option this file only Missing and > using rhel 7.5 version. Please respond to all questions below: YUM using what repo's? From command line what does pg_config show? Have you looked in: /usr/pgsql-11/share/extension/ to see if file actually exists or that the directory exists? > > On Tue, Mar 26, 2019, 23:07 Adrian Klaver > wrote: > > On 3/26/19 10:32 AM, Prakash Ramakrishnan wrote: > > Nope I tried that's command and getting above error control file > missing. > > Well it should be a different message something like: > > /usr/pgsql-11/share/extension/pltctl.control": No such file or directory > > correct? > > If the above is the case then: > > 1) How did you install Postgres, package or source? > > 2) If package, from where? > > 3) What does pg_config show in the CONFIGURE section? > > > > > On Tue, Mar 26, 2019, 22:53 Adrian Klaver > > > >> wrote: > > > >     On 3/26/19 8:56 AM, Prakash Ramakrishnan wrote: > >      > Hi Team, > >      > > >      > We are getting below error in production server please do > >     the needful. > >      > > >      > ==> psql > >      > psql (11.2) > >      > Type "help" for help. > >      >  > AIBE01PR=# create extension plctl; > >      >  > ERROR:  could not open extension control file > >      >  > "/usr/pgsql-11/share/extension/plctl.control": No such > file or > >     directory > > > >     I am guessing you actually want: > > > >     CREATE EXTENSION pltcl; > > > >      > > >      > RHEL-7.5 > >      > -- > >      > > >      > > >      > Regards, > >      > Prakash.R > >      > Postgresql DBA > > > > > >     -- > >     Adrian Klaver > > adrian.klaver@aklaver.com > > > > > > > -- > Adrian Klaver > adrian.klaver@aklaver.com > -- Adrian Klaver adrian.klaver@aklaver.com