Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fQM0w-0004gj-Jg for pgsql-general@arkaria.postgresql.org; Wed, 06 Jun 2018 00:09:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fQM0v-000217-99 for pgsql-general@arkaria.postgresql.org; Wed, 06 Jun 2018 00:09:21 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fQM0u-0001wD-Tc for pgsql-general@lists.postgresql.org; Wed, 06 Jun 2018 00:09:21 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fQM0s-0004AG-Gt for pgsql-general@postgresql.org; Wed, 06 Jun 2018 00:09:19 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id CEDD421E6C; Tue, 5 Jun 2018 20:09:17 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 05 Jun 2018 20:09:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=I8nDK6LE+YRelWiG05j5Z/WIgXkPJ y8QnceJriqPF3c=; b=0YQMu4e3JD1olrAJshTg9I/Piv4NjDgTGKRtHb3PXQGHe TdOGBnhi3hgSUMu7aDrun/2woYRFVhSuwIUfUSVliM7GLlvpzRC2v4P6oGnmJCYj uAsE9cZanopFSn/nbxxHOiKkDnYf00tLDWl+Zbbu+89Nx96F07YM+9gAYQYVkk9q CyYGyRzKMQpkehNIDSU0ojubM0ssDoYjzX23GeAEdCJEH7QUpNxeeQ36zYS0Q019 3LlwQ8/y/4C9+qs2dSjHarNAm1PD66ZoATS5ed8yz34Xt/iu0vOmewCEYH+NT37N qBKuE+v/Yjpx1fsYcx8KNlB3i4w+VlXJpi112HhRQ== 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-sender:x-me-sender:x-sasl-enc; s=fm2; bh=I8nDK6 LE+YRelWiG05j5Z/WIgXkPJy8QnceJriqPF3c=; b=YhxH8p84U/H2b2AN1tPlXq jut9Crplw3+Np/mE9c59yXfSpXTcp8txcQBd5uO1pe465vVedi1zbtDGIWZdeUV4 kkgy5T3u06XMX1yyhgE8dwe5LKgnebgeXH/kqLT2GhYEeuIC4UCYwoZW+HVlus18 wAAZictkYCnps7kLZ1X6siPEukpS9H8kzohxxtSntmRn0a/HutJXr8B0Mv08Cuu0 qJZ7/CNQqfb4Rbrv3ySaNV1XvFg9IA+PTY0MfaZHDeY4WmgnIQFFRxSLZwktYjWv mukzM1/CBcASkX2oitnTvr2a5HNepT/SPqjjw0tGd2wVhqNP+k7J9b/Es7SckTAg == X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.3] (unknown [71.212.159.209]) by mail.messagingengine.com (Postfix) with ESMTPA id 279F810260; Tue, 5 Jun 2018 20:09:17 -0400 (EDT) Subject: Re: Pgagent is not reading pgpass file either in Windows or Linux. To: nageswara Bandla Cc: George Neuner , pgsql-general@postgresql.org References: <5595335e-32e8-80da-9c65-8d79fce554a7@aklaver.com> <5f99abf5-1d6c-d559-ff4d-f461ec5408ba@aklaver.com> From: Adrian Klaver Message-ID: Date: Tue, 5 Jun 2018 17:09:16 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 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 06/05/2018 07:53 AM, nageswara Bandla wrote: > Adrian, > > I think, it's not problem with pg_hba.conf.  /etc/hosts is configured > correctly. psql works fine and is inline with libpq, where as pgagent is > not. > > pgagent still fails when we use hostaddr and host. > usr/bin/pgagent_96 -f -l 2 hostaddr=127.0.0.1  host=localhost > dbname=linuxpostgresdb user=postgres port=5432 > > Well so much for that idea. Will have to see what the answer to the filed issue is. -- Adrian Klaver adrian.klaver@aklaver.com