Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e40bN-0000KV-SE for pgsql-admin@arkaria.postgresql.org; Mon, 16 Oct 2017 08:18:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e40bN-0001FR-Ey for pgsql-admin@arkaria.postgresql.org; Mon, 16 Oct 2017 08:18:21 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e40bM-0001CM-CV for pgsql-admin@postgresql.org; Mon, 16 Oct 2017 08:18:20 +0000 Received: from mail-qt0-x233.google.com ([2607:f8b0:400d:c0d::233]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1e40bH-0000ZP-3W for pgsql-admin@postgresql.org; Mon, 16 Oct 2017 08:18:19 +0000 Received: by mail-qt0-x233.google.com with SMTP id p1so29966638qtg.2 for ; Mon, 16 Oct 2017 01:18:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=hb3xXDxSusS1FSISc6WD05tpUrUZCW8/fUcwAc+JP88=; b=ZSjzAZadTSQcBPVoXQAmUw7Rk65WelUJY+rdctof4Mvrsnubk0Vwq+YYL9fQX2aFKy 8fFWLtxDwPnNNjORAJ7prilKtsHuNl0jVKAU3QvmdbYngqu2C5cYPj+B7Xmxw8oBWlgX xxSbmGnphxRnfWTya2iX3t4pSlsw6ClksxQFEPWJ3a6YOqhxCq9cvWZLPBp//Rpt3KGy sQfVAx8UmOp+PsdrKWM9v1MIXQaYA1WZ8W/zZeJogOdaIFQRa2e/2ehTyzm+M9VrvtTs FsjKkWyWTqrbVxmi4XoVb1/HwgqM1AdYM1lBckHG7r46Kx/jmxZ6fK6SfNE4Fmz9kHxT GlGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=hb3xXDxSusS1FSISc6WD05tpUrUZCW8/fUcwAc+JP88=; b=Sn5msLwuJeUzm6QOkzTmNItLyh1rDLM+D+ymBNBbXbSjm1QF0ZHVLtxoKh2D14eYKY SnFsjsrj/Z0OC2to0O06dm8Q5DqOAchP2kUlkY5t2IrrcBIyZ8a7cgjz1f3xfcqrrkPS AbnrhA9HamLmzi9XTyMvSuasOCpouNhBI0lVc7xwYgrGKuk4ODKZDCbeBwJLOS5DlyWd ppcDjxt+3ls2/rCX4Lqa0p9O7jll6ZddsUn4A1yYoEkk2QNVaxPlCXAxm+xL0C2QL2BD JDwqy43hbQS91+v4z+21rxwUq95sXl/BjPVFIPa7mqvk7RN77HgxQlAH4AZqUOhlhbDQ uoEw== X-Gm-Message-State: AMCzsaUDXvonpvg0Hmxc6I/upZ9XvI/tiAMgDzS+8L64exSSk90QKFiW YedchmvmZhY97yKXcdm9IPieNs8nD105w5++fY6DWA== X-Google-Smtp-Source: AOwi7QCXimG21kMztihAeBLZuurWPf6a2ofsFrtqDlFrx6MMR6/QnkJChPBloxHUjpGGucNv6JrPMZ3mjI8jTJm5T1w= X-Received: by 10.237.34.169 with SMTP id p38mr14003017qtc.182.1508141892966; Mon, 16 Oct 2017 01:18:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.185.167 with HTTP; Mon, 16 Oct 2017 01:18:12 -0700 (PDT) In-Reply-To: References: From: JaeWon Lee Date: Mon, 16 Oct 2017 17:18:12 +0900 Message-ID: Subject: Re: .pgpass not working ( centos7, pgagent_96 ) To: pgsql-admin@postgresql.org Content-Type: multipart/alternative; boundary="001a1136f488cd1c20055ba5a5da" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org --001a1136f488cd1c20055ba5a5da Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 9. Security context of my .pgpass file [frank@web]$ ls -alZ .pgpass -rw-------. frank frank unconfined_u:object_r:user_home_t:s0 .pgpass 2017-10-16 17:16 GMT+09:00 JaeWon Lee : > 9. Security context of my .pgpass file > [frank@web]$ ls -alZ .pgpass > -rw-------. frank frank unconfined_u:object_r:user_home_t:s0 .pgpass > > > 2017-10-16 17:09 GMT+09:00 JaeWon Lee : > >> 8. My .pgpass file. >> localhost:5432:postgres:postgres:pwd >> >> >> 2017-10-16 17:02 GMT+09:00 JaeWon Lee : >> >>> Hi, .pgpass seems to be not working. >>> Could you check my pgagent setting? >>> >>> OS : centos 7 ( I did not disable selinux ) >>> Database : postgresql 9.6.5 >>> pgagent : pgagent_96 3.4.0-9.rhel7 ( installed package using yum ) >>> >>> 1. I logged on centos server as user 'frank' >>> >>> 2. Before starting pgagent, I checked status of pgagent. ( I did not >>> enable pgagent_96 service. ) >>> [frank@web]$ systemctl status pgagent_96.service >>> =E2=97=8F pgagent_96.service - PgAgent for PostgreSQL 9.6 >>> Loaded: loaded (/usr/lib/systemd/system/pgagent_96.service; >>> disabled; vendor preset: disabled) >>> Active: inactive (dead) >>> >>> 3. I started pgagent. At first it looks successful. But after tens of >>> seconds, it failed to create connection and died. >>> ( While starting CentOs asked me frank's OS password. ) >>> [frank@web]$ systemctl start pgagent_96.service >>> [frank@web]$ systemctl status pgagent_96.service >>> =E2=97=8F pgagent_96.service - PgAgent for PostgreSQL 9.6 >>> Loaded: loaded (/usr/lib/systemd/system/pgagent_96.service; >>> disabled; vendor preset: disabled) >>> Active: active (running) since 2017-10-16 16:42:11 KST; 5s ago >>> Process: 9507 ExecStart=3D/usr/bin/pgagent_96 -s ${LOGFILE} >>> hostaddr=3D${DBHOST} dbname=3D${DBNAME} user=3D${DBUSER} port=3D${DBPOR= T} >>> (code=3Dexited, status=3D0/SUCCESS) >>> Main PID: 9510 (pgagent_96) >>> CGroup: /system.slice/pgagent_96.service >>> =E2=94=94=E2=94=809510 /usr/bin/pgagent_96 -s /var/log/pgage= nt_96.log >>> hostaddr=3D127.0.0.1 dbname=3Dpostgres user=3Dpostgres port=3D5432 >>> >>> 16 Oct 16:42:11 web.frank.net systemd[1]: Starting PgAgent for >>> PostgreSQL 9.6... >>> 16 Oct 16:42:11 web.frank.net systemd[1]: Started PgAgent for >>> PostgreSQL 9.6. >>> >>> (After tens of seconds... ) >>> >>> [frank@web]$ systemctl status pgagent_96.service >>> =E2=97=8F pgagent_96.service - PgAgent for PostgreSQL 9.6 >>> Loaded: loaded (/usr/lib/systemd/system/pgagent_96.service; >>> disabled; vendor preset: disabled) >>> Active: failed (Result: exit-code) since 2017-10-16 16:42:56 KST; >>> 4min 9s ago >>> Process: 9507 ExecStart=3D/usr/bin/pgagent_96 -s ${LOGFILE} >>> hostaddr=3D${DBHOST} dbname=3D${DBNAME} user=3D${DBUSER} port=3D${DBPOR= T} >>> (code=3Dexited, status=3D0/SUCCESS) >>> Main PID: 9510 (code=3Dexited, status=3D1/FAILURE) >>> >>> 16 Oct 16:42:11 web.frank.net systemd[1]: Starting PgAgent for >>> PostgreSQL 9.6... >>> 16 Oct 16:42:11 web.frank.net systemd[1]: Started PgAgent for >>> PostgreSQL 9.6. >>> 16 Oct 16:42:56 web.frank.net systemd[1]: pgagent_96.service: main >>> process exited, code=3Dexited, status=3D1/FAILURE >>> 16 Oct 16:42:56 web.frank.net systemd[1]: Unit pgagent_96.service >>> entered failed state. >>> 16 Oct 16:42:56 web.frank.net systemd[1]: pgagent_96.service failed. >>> >>> >>> 4. I checked pgagent log. >>> ( Log in /var/log/pgagent_96.log ) >>> WARNING: Couldn't create the primary connection (attempt 1): >>> fe_sendauth: no password supplied >>> WARNING: Couldn't create the primary connection (attempt 2): >>> fe_sendauth: no password supplied >>> WARNING: Couldn't create the primary connection (attempt 3): >>> fe_sendauth: no password supplied >>> WARNING: Couldn't create the primary connection (attempt 4): >>> fe_sendauth: no password supplied >>> WARNING: Couldn't create the primary connection (attempt 5): >>> fe_sendauth: no password supplied >>> WARNING: Couldn't create the primary connection (attempt 6): >>> fe_sendauth: no password supplied >>> WARNING: Couldn't create the primary connection (attempt 7): >>> fe_sendauth: no password supplied >>> WARNING: Couldn't create the primary connection (attempt 8): >>> fe_sendauth: no password supplied >>> WARNING: Couldn't create the primary connection (attempt 9): >>> fe_sendauth: no password supplied >>> WARNING: Couldn't create the primary connection (attempt 10): >>> fe_sendauth: no password supplied >>> ERROR: Stopping pgAgent: Couldn't establish the primary connection with >>> the database server. >>> >>> 5. Checked my .pgpass file. ( .pgpass is in frank's home directory. >>> /home/frank ) >>> [frank@web]$ ls -alZ .pgpass >>> -rw-------. frank frank unconfined_u:object_r:user_home_t:s0 .pgpass >>> [frank@web]$ ls -al .pgpass >>> -rw-------. 1 frank frank 43 16 Oct 16:23 .pgpass >>> [frank@web]$ id -Z >>> unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 >>> [frank@web]$ id >>> uid=3D1000(frank) gid=3D1000(frank) groups=3D1000(frank),10(wheel) >>> context=3Dunconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 >>> >>> 6. Checked my pg_hba.conf. >>> [frank@web]$ su - postgres >>> -bash-4.2$ pwd >>> /var/lib/pgsql/9.6/data >>> -bash-4.2$ ls -alZ pg_hba.conf >>> -rw-------. postgres postgres unconfined_u:object_r:postgresql_db_t:s0 >>> pg_hba.conf( pg_hba.conf ) >>> >>> ( pg_hba.conf ) >>> # TYPE DATABASE USER ADDRESS METHOD >>> # "local" is for Unix domain socket connections only >>> #local all all peer >>> local all all md5 >>> >>> # IPv4 local connections: >>> #host all all 127.0.0.1/32 ident >>> host all all 122.32.2.21/32 md5 >>> (122.32.2.21 is my server's IP ) >>> >>> # IPv6 local connections: >>> #host all all ::1/128 ident >>> host all all ::1/128 md5 >>> >>> # Allow replication connections from localhost, by a user with the >>> # replication privilege. >>> #local replication postgres peer >>> #host replication postgres 127.0.0.1/32 ident >>> #host replication postgres ::1/128 ident >>> >>> 7. I changed postgres user's password like this. >>> postgres=3D# ALTER USER postgres WITH PASSWORD 'pwd'; >>> >>> These are all I did. I can't guess what I should do. Help me please... >>> >>> >> > --001a1136f488cd1c20055ba5a5da Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
9. Security context of my .pgpass file
[frank= @web]$ ls -alZ .pgpass
-rw-------. frank frank unconfined_u:object_r:use= r_home_t:s0 .pgpass

2017-10-16 17:16 GMT+09:00 JaeWon Lee <theja= ewon@gmail.com>:
9. Security context of my .pgpass file
[frank@= web]$ ls -alZ .pgpass
-rw-------. frank frank unconfined_u:object_r:user= _home_t:s0 .pgpass


2017-10-= 16 17:09 GMT+09:00 JaeWon Lee <thejaewon@gmail.com>:
8. My .pgpass file.
localh= ost:5432:postgres:postgres:pwd


2017-10-16 17:02 GMT+09:00 JaeWon Le= e <thejaewon@gmail.com>:
Hi,=C2=A0 .pgpass seems to be not working.=
Could you check my pgagent setting?

OS : centos 7=C2=A0=C2=A0 ( I did not disable selinux )
Database = : postgresql 9.6.5
pgagent : pgagent_96 3.4.0-9.rhel7=C2=A0 ( installed= package using=C2=A0 yum )

1. I logged on centos server as use= r 'frank'

2. Before starting pgagent, I checked s= tatus of pgagent.=C2=A0 ( I did not enable pgagent_96 service. )
[frank@= web]$ systemctl status pgagent_96.service
=E2=97=8F pgagent_96.service = - PgAgent for PostgreSQL 9.6
=C2=A0=C2=A0 Loaded: loaded (/usr/lib/syste= md/system/pgagent_96.service; disabled; vendor preset: disabled)
= =C2=A0=C2=A0 Active: inactive (dead)

3. I started pgagent= . At first it looks successful. But after tens of seconds, it failed to cre= ate connection and died.
( While starting CentOs asked me fra= nk's OS password. )
[frank@web]$ systemctl start pgagent_= 96.service
[frank@web]$ systemctl status pgagent_96.service
=E2=97= =8F pgagent_96.service - PgAgent for PostgreSQL 9.6
=C2=A0=C2=A0 Loaded:= loaded (/usr/lib/systemd/system/pgagent_96.service; disabled; vendor = preset: disabled)
=C2=A0=C2=A0 Active: active (running) since 2017-10-16= 16:42:11 KST; 5s ago
=C2=A0 Process: 9507 ExecStart=3D/usr/bin/pgagent_= 96 -s ${LOGFILE} hostaddr=3D${DBHOST} dbname=3D${DBNAME} user=3D${DBUSER} p= ort=3D${DBPORT} (code=3Dexited, status=3D0/SUCCESS)
=C2=A0Main PID: 9510= (pgagent_96)
=C2=A0=C2=A0 CGroup: /system.slice/pgagent_96.service=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =E2=94=94= =E2=94=809510 /usr/bin/pgagent_96 -s /var/log/pgagent_96.log hostaddr=3D127= .0.0.1 dbname=3Dpostgres user=3Dpostgres port=3D5432

16 Oct 16:42:11= web.frank.net syste= md[1]: Starting PgAgent for PostgreSQL 9.6...
16 Oct 16:42:11 web.frank.net systemd[1]: Star= ted PgAgent for PostgreSQL 9.6.

(After tens of seconds...= )

[frank@web]$ systemctl status pgagent_96.service
= =E2=97=8F pgagent_96.service - PgAgent for PostgreSQL 9.6
=C2=A0=C2=A0 L= oaded: loaded (/usr/lib/systemd/system/pgagent_96.service; disabled; v= endor preset: disabled)
=C2=A0=C2=A0 Active: failed (Result: exit-code) = since 2017-10-16 16:42:56 KST; 4min 9s ago
=C2=A0 Process: 9507 ExecStar= t=3D/usr/bin/pgagent_96 -s ${LOGFILE} hostaddr=3D${DBHOST} dbname=3D${DBNAM= E} user=3D${DBUSER} port=3D${DBPORT} (code=3Dexited, status=3D0/SUCCESS)=C2=A0Main PID: 9510 (code=3Dexited, status=3D1/FAILURE)

16 Oct 16:= 42:11 web.frank.net = systemd[1]: Starting PgAgent for PostgreSQL 9.6...
16 Oct 16:42:11 web.frank.net systemd[1]:= Started PgAgent for PostgreSQL 9.6.
16 Oct 16:42:56 web.frank.net systemd[1]: pgagent_96.se= rvice: main process exited, code=3Dexited, status=3D1/FAILURE
16 Oct 16:= 42:56 web.frank.net = systemd[1]: Unit pgagent_96.service entered failed state.
16 Oct 16:42:5= 6 web.frank.net syst= emd[1]: pgagent_96.service failed.
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
4. I checked p= gagent log.
( Log in /var/log/pgagent_96.log )
WARNING: Co= uldn't create the primary connection (attempt 1): fe_sendauth: no passw= ord supplied
WARNING: Couldn't create the primary connection (attemp= t 2): fe_sendauth: no password supplied
WARNING: Couldn't create the= primary connection (attempt 3): fe_sendauth: no password supplied
WARNI= NG: Couldn't create the primary connection (attempt 4): fe_sendauth: no= password supplied
WARNING: Couldn't create the primary connection (= attempt 5): fe_sendauth: no password supplied
WARNING: Couldn't crea= te the primary connection (attempt 6): fe_sendauth: no password suppliedWARNING: Couldn't create the primary connection (attempt 7): fe_sendau= th: no password supplied
WARNING: Couldn't create the primary connec= tion (attempt 8): fe_sendauth: no password supplied
WARNING: Couldn'= t create the primary connection (attempt 9): fe_sendauth: no password suppl= ied
WARNING: Couldn't create the primary connection (attempt 10): fe= _sendauth: no password supplied
ERROR: Stopping pgAgent: Couldn't es= tablish the primary connection with the database server.

= 5. Checked my .pgpass file. ( .pgpass is in frank's home directory. /ho= me/frank )
[frank@web]$ ls -alZ .pgpass
-rw-------. frank frank uncon= fined_u:object_r:user_home_t:s0 .pgpass
[frank@web]$ ls -al .pgpass=
-rw-------. 1 frank frank 43 16 Oct 16:23 .pgpass
[frank@web]$ id -Z=
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[frank@we= b]$ id
uid=3D1000(frank) gid=3D1000(frank) groups=3D1000(frank),10(wheel= ) context=3Dunconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023=

6. Checked my pg_hba.conf.
[frank@web]$ su - postgre= s
-bash-4.2$ pwd
/var/lib/pgsql/9.6/data
-bash-4.2$ ls = -alZ pg_hba.conf
-rw-------. postgres postgres unconfined_u:object= _r:postgresql_db_t:s0 pg_hba.conf( pg_hba.conf )

( pg= _hba.conf )
# TYPE=C2=A0 DATABASE=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 USER=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 ADDRESS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 METHOD
# "local" is for U= nix domain socket connections only
#local=C2=A0=C2=A0 all=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 all=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 peer
local= =C2=A0=C2=A0 all=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 all=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 md5

#= IPv4 local connections:
#host=C2=A0=C2=A0=C2=A0 all=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 all=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 127.0.0.1/32=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ident
host=C2=A0=C2=A0=C2=A0 = all=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= all=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 122.32.2.21/32= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 md5=C2= =A0=C2=A0 (122.32.2.21=C2=A0 is my server's IP )

# IPv6 local co= nnections:
#host=C2=A0=C2=A0=C2=A0 all=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 all=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ::1/128=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 id= ent
host=C2=A0=C2=A0=C2=A0 all=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 all=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ::1/128=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 md5

= # Allow replication connections from localhost, by a user with the
# rep= lication privilege.
#local=C2=A0=C2=A0 replication=C2=A0=C2=A0=C2=A0=C2= =A0 postgres=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 peer
#host=C2=A0= =C2=A0=C2=A0 replication=C2=A0=C2=A0=C2=A0=C2=A0 postgres=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 = 127.0.0.1/32=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 ident
#host=C2=A0=C2=A0=C2=A0 replication=C2=A0=C2=A0=C2=A0=C2= =A0 postgres=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ::1/128=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 ident

7. I changed postgres user's password= like this.
postgres=3D# ALTER USER postgres WITH PASSWORD &#= 39;pwd';

These are all I did. I can't guess what= I should do. Help me please...




--001a1136f488cd1c20055ba5a5da--