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 1hQBRd-0002zV-BB for pgsql-general@arkaria.postgresql.org; Mon, 13 May 2019 13:56:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hQBRb-0007o4-4A for pgsql-general@arkaria.postgresql.org; Mon, 13 May 2019 13:56:43 +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 1hQBRZ-0007kr-AD for pgsql-general@lists.postgresql.org; Mon, 13 May 2019 13:56:42 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQBRV-0006DR-8w for pgsql-general@lists.postgresql.org; Mon, 13 May 2019 13:56:40 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C1CD422E6B; Mon, 13 May 2019 09:56:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 13 May 2019 09:56:34 -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=h KhKU/dAQLNd2b7TiHrHZPcEKhhofS1X8v15Rwd4vCs=; b=OzcyMu5oTvBSXgKOr 8nEiesJDzrb4IvAHu3+nGdkPykiqvrDX+GeARLb3DS6MYJcV8NArgS7vfMkmfVuN 7P5vDnREFzBTVNUGxI9Hvv3UXK4LOUd+hgG7xdl9kR4rrdBFYm7o42fjUD9FH2N3 dhhw6X0/NFhIMVdq8KztiRf1eU8+pLjPVooaU/a0IC/ksz/mRb/VF2lsUdaYmgZI 9FfdYVk6ARzaCXQQeUqM8tmk0L0Bpt2sODFuomzGFLS1QcyXFVHZvRKltWpU4tSg k13ArNxQ66+nPT5j9Ii2eDB5a2MeSilRcJUlzlx7RRtPwLI4rD5ItgVsN0rKH6Ra a69Dw== 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=hKhKU/dAQLNd2b7TiHrHZPcEKhhofS1X8v15Rwd4v Cs=; b=HpqmAmapPHEXCV4IOeH5LGK8KF0k4cz7BpasQCeiHzxBksmBKp9dWWBn3 IuGLBFShKCPtBwBMNOqvp5QbwTMz4tUZS4yryEggwX67KtT/akqdH7IDU6gsUN4t 5umN3AWjViUq+HxfD5A19YqDPJjTn3stz05t9p0q3p6kep3GUxNT4T+c6KkU3vWE s89J9urV/XiolY7ne7G6dWc1+aukEqq2KXoyKOJwuzOqsCTPk/j5ugmg07tkl8Fq whJ96Y8ptj4ptckOQoCHpEK0y5RPSUt6GipM1r6obL/tx5qNXJEZqdRl3bQxvIDP hINN/UR6sNiDFmSK5Yw1XvFqwdynA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrleeggdejtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuffhomhgrihhnpeduledtrdgrthdpuddtrdgrthenucfkphepjedurddvuddvrddu hedtrddvtddvnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvg hrsegrkhhlrghvvghrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id A01D380069; Mon, 13 May 2019 09:56:33 -0400 (EDT) Subject: Re: perl path issue To: Prakash Ramakrishnan Cc: David Steele , "pgsql-generallists.postgresql.org" References: <946d2c1f-cbf1-ecfa-7ee1-925d1de6d7a5@aklaver.com> <4e53d478-71b4-3359-78c2-1676c0cabe4d@pgmasters.net> <45abfa02-2cfd-b05c-f54e-41a770bbc4ea@aklaver.com> <2ae6795e-cc9a-83c8-3e7f-a8ce6eba6a28@aklaver.com> <58271ac5-78bb-cc8b-c034-ed7303b326e4@aklaver.com> <1e51499e-a684-66d8-b69e-0fa8777ab300@aklaver.com> <805b87a3-9849-7366-2e38-7dc63c8123c2@aklaver.com> From: Adrian Klaver Message-ID: Date: Mon, 13 May 2019 06:56:32 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.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 5/13/19 2:20 AM, Prakash Ramakrishnan wrote: > Hi Adrian, > > Yes am using edb standard edition and installed pgbackrest in prod and dev. To be clear your have on the prod server: 1) Postgres installed via EDB installer. 2) You have pgBackRest. 3) You can take a backup using pgBackRest from the Postgres server. If that is the case how did you install pgBackRest on the prod server? In other words what is different between the prod and dev setups of Postgres and pgBackRest? > > nothing different am trying to restore the backup prod to dev cluster . > > * Can't load '/usr/lib64/perl5/vendor_perl/auto/DBD/Pg/Pg.so' for module > DBD::Pg: libpq.so.5: cannot open shared object file: No such file or > directory at /usr/lib64/perl5/DynaLoader.pm line 190.* >         at /loader/0x1ec1528/pgBackRest/Db.pm line 10. >         at /loader/0x1ec1528/pgBackRest/Main.pm line 12. >         pgBackRest::Main::__ANON__('Can\'t load > \'/usr/lib64/perl5/vendor_perl/auto/DBD/Pg/Pg.so\...') called at > /usr/share/perl5/vendor_perl/Carp.pm line 100 > > May be above path is corrupt or something issue not able to load the path. > > Regards, > Prakash.R > -- Adrian Klaver adrian.klaver@aklaver.com