Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UYGuy-0001FH-49 for pgsql-admin@arkaria.postgresql.org; Fri, 03 May 2013 14:25:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UYGux-0004MK-GD for pgsql-admin@arkaria.postgresql.org; Fri, 03 May 2013 14:24:59 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UYGuw-0004ME-5n for pgsql-admin@postgresql.org; Fri, 03 May 2013 14:24:58 +0000 Received: from mail-gh0-f181.google.com ([209.85.160.181]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UYGus-0004Ca-NQ for pgsql-admin@postgresql.org; Fri, 03 May 2013 14:24:57 +0000 Received: by mail-gh0-f181.google.com with SMTP id z12so275613ghb.40 for ; Fri, 03 May 2013 07:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:references:in-reply-to:subject:date:message-id :mime-version:content-type:x-mailer:content-language:thread-index; bh=abZppx0aOJ5lxtl9OrILjcad4WLjnWdfJDOocrCWXRk=; b=NYIwXSPs5DaUKnU9F9iSwCipmx+4NvnWONzqi0vkPRy8Fa91rEYkfBPl1YILI6Tzvd DPVVIoR4do7SshForfRgePwdZ2wXxnhU0w06eGJLTAaPgIO4+83nbTYPPXm22HVPNKpR JnWkAvyxosNc5Zg59Bq26hng5wJPXoIESKX9of70mC48TCYaEe2nJIaHeMjseHqlJD9e Xo1BVcSJMIEmCzEkg0A6by6gvCHAFBS2CeTcS1ONebtkd+l2sgrR4MbtIKm8TPTLkJ8q UOiF5IR1ooyG6ddnuNklfFQ4DgoWocsDAKWgajQxHOw3YuxoVEDloTCb7pYZxTkoY2Ws zbjA== X-Received: by 10.236.203.116 with SMTP id e80mr9262721yho.109.1367591093734; Fri, 03 May 2013 07:24:53 -0700 (PDT) Received: from verissimoPC ([187.58.191.43]) by mx.google.com with ESMTPSA id n15sm21587856yhi.2.2013.05.03.07.24.51 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 03 May 2013 07:24:52 -0700 (PDT) From: "Marcelo Verissimo" To: "'Nghia Truong'" , References: In-Reply-To: Subject: RES: Problem: pg_hba.conf is automatically rewritten every day Date: Fri, 3 May 2013 11:24:51 -0300 Message-ID: <003301ce4809$fb4a9e40$f1dfdac0$@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0034_01CE47F0.D6009A90" X-Mailer: Microsoft Outlook 14.0 Content-Language: pt-br Thread-Index: AQD+7aoHD2h+ncNnDxt7yExqiJ8cdpqSNGQg X-Pg-Spam-Score: -0.8 (/) 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 This is a multipart message in MIME format. ------=_NextPart_000_0034_01CE47F0.D6009A90 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi , i dont expert in postrgres , but i'll checked why=20 This server reload configuration every day ? after=20 Set permission the file on the her user and check the application = client , maybe has a new file or instrutions for rewritten =20 may solv ! De: pgsql-admin-owner@postgresql.org = [mailto:pgsql-admin-owner@postgresql.org] Em nome de Nghia Truong Enviada em: sexta-feira, 3 de maio de 2013 10:45 Para: pgsql-admin@postgresql.org Assunto: [ADMIN] Problem: pg_hba.conf is automatically rewritten every = day =20 Hi everyone, Every day, the file pg_hba.conf in my server is rewritten and postgresql = received a SIGHUP to reload configuration. The pg_hba.conf content is: =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ....... ...... local samerole all md5 =20 host samerole all 127.0.0.1 255.255.255.255 md5 =20 local all postgres md5 =20 host all postgres 127.0.0.1 255.255.255.255 md5 =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 As a result, my application cannot connect remotely to the database on = server. I have to manually modify the pg_hba.conf every day. I don't = know why that happens? Is there any way to get rid of it? Thank you very much for your help. =20 =20 ---------------------------------------------------- Nghia T. Truong ------=_NextPart_000_0034_01CE47F0.D6009A90 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi , i dont expert in postrgres , but i'll checked why =

This server reload configuration every day ?

after

Set permission the file on the her user=C2=A0 and check the = application client , maybe has a new file or instrutions for = rewritten

 

may solv !

De: = pgsql-admin-owner@postgresql.org = [mailto:pgsql-admin-owner@postgresql.org] Em nome de Nghia = Truong
Enviada em: sexta-feira, 3 de maio de 2013 = 10:45
Para: pgsql-admin@postgresql.org
Assunto: = [ADMIN] Problem: pg_hba.conf is automatically rewritten every = day

 

Hi = everyone,

Every day, the file = pg_hba.conf in my server is = rewritten and postgresql received a = SIGHUP to reload configuration. The pg_hba.conf content = is:

 

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

.......

......

=

local samerole all       =  md5   

host samerole all  127.0.0.1 =   255.255.255.255   md5 =   

local all postgres     =    md5   

host all postgres  127.0.0.1 =   255.255.255.255   md5 =  

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 

=

As a result, my application = cannot connect remotely to the database on server. I have to manually = modify the pg_hba.conf every = day. I don't know why that happens? Is there any way to get rid of = it?

Thank you very much for = your help.

 

=

 

=

---------------------------------------------= -------

=

Nghia T. = Truong

------=_NextPart_000_0034_01CE47F0.D6009A90--