pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedversion:8.2.6 pg_hda.conf problem
5+ messages / 5 participants
[nested] [flat]
* version:8.2.6 pg_hda.conf problem
@ 2008-02-29 02:57 李国庆 <leekooqi@gmail.com>
0 siblings, 3 replies; 5+ messages in thread
From: 李国庆 @ 2008-02-29 02:57 UTC (permalink / raw)
To: pgsql-admin
Hi Everybody,
I started running 8.2.6 recently on redhat 5.0 es, installed pgadmin3 and phppgadmin ,both them can correct connect by localhost,but can not from other , I had these in my pd_hda.conf :
host all all 192.168.2.1/254 trust
and listen_address=* in postgresql.conf, but it still not work .
ps: I can not find tcpip_ ...in postgresql.conf.
how can i do now ?
ths a lot!
leekooqi
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: version:8.2.6 pg_hda.conf problem
@ 2008-02-29 04:06 Robins Tharakan <tharakan@gmail.com>
parent: 李国庆 <leekooqi@gmail.com>
2 siblings, 0 replies; 5+ messages in thread
From: Robins Tharakan @ 2008-02-29 04:06 UTC (permalink / raw)
To: leekooqi@gmail.com; +Cc: pgsql-admin
To allow this ip address(192.168.2.1) to work without a password, you may
want to try this instead:
host all all 192.168.2.1/32 <http://192.168.2.1/254; trust
*Robins Tharakan*
On Fri, Feb 29, 2008 at 8:27 AM, 李国庆 <leekooqi@gmail.com> wrote:
> Hi Everybody,
> I started running 8.2.6 recently on redhat 5.0 es, installed pgadmin3
> and phppgadmin ,both them can correct connect by localhost,but can not from
> other , I had these in my pd_hda.conf :
>
> host all all 192.168.2.1/254 trust
>
> and listen_address=* in postgresql.conf, but it still not work .
>
> ps: I can not find tcpip_ ...in postgresql.conf.
>
> how can i do now ?
>
> ths a lot!
>
> leekooqi
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: version:8.2.6 pg_hda.conf problem
@ 2008-02-29 04:48 Phillip Smith <phillip.smith@weatherbeeta.com.au>
parent: 李国庆 <leekooqi@gmail.com>
2 siblings, 1 reply; 5+ messages in thread
From: Phillip Smith @ 2008-02-29 04:48 UTC (permalink / raw)
To: pgsql-admin
> I had these in my pd_hda.conf :
>
> host all all 192.168.2.1/254 trust
>
> and listen_address=* in postgresql.conf, but it still not work .
>
> ps: I can not find tcpip_ ...in postgresql.conf.
>
> how can i do now ?
Have you started the Postmaster in 'interactive' mode? You need to pass the
-i option to it.
If you are using pg_ctl:
pg_ctl -D /path/to/data/dir -o "-i" start
THINK BEFORE YOU PRINT - Save paper if you don't really need to print this
*******************Confidentiality and Privilege Notice*******************
The material contained in this message is privileged and confidential to
the addressee. If you are not the addressee indicated in this message or
responsible for delivery of the message to such person, you may not copy
or deliver this message to anyone, and you should destroy it and kindly
notify the sender by reply email.
Information in this message that does not relate to the official business
of Weatherbeeta must be treated as neither given nor endorsed by Weatherbeeta.
Weatherbeeta, its employees, contractors or associates shall not be liable
for direct, indirect or consequential loss arising from transmission of this
message or any attachments
e-mail.
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: version:8.2.6 pg_hda.conf problem
@ 2008-02-29 06:07 Devi <devi@visolve.com>
parent: Phillip Smith <phillip.smith@weatherbeeta.com.au>
0 siblings, 0 replies; 5+ messages in thread
From: Devi @ 2008-02-29 06:07 UTC (permalink / raw)
To: Phillip Smith <phillip.smith@weatherbeeta.com.au>; pgsql-admin
Hi,
I suppose the CIDR-ADDRESS mask length needs more attention. You have
specified it as 254 and you IP says it as a single host. Why cant you try
with 32 as the mask length.
Try replacing listen_address=* with listen_addresses=<hostname> in
postgresql.conf
FYI:
http://www.postgresql.org/docs/8.0/interactive/client-authentication.html
Try starting the server process ./postmaster -i -D datadir path &
For instance, i have set it as
host test test 192.16.1.1/32 trust
Thanks,
ViSolve DB Team
----- Original Message -----
From: "Phillip Smith" <phillip.smith@weatherbeeta.com.au>
To: "'pgsql-admin'" <pgsql-admin@postgresql.org>
Sent: Friday, February 29, 2008 10:18 AM
Subject: Re: [ADMIN] version:8.2.6 pg_hda.conf problem
>> I had these in my pd_hda.conf :
>>
>> host all all 192.168.2.1/254 trust
>>
>> and listen_address=* in postgresql.conf, but it still not work .
>>
>> ps: I can not find tcpip_ ...in postgresql.conf.
>>
>> how can i do now ?
>
> Have you started the Postmaster in 'interactive' mode? You need to pass
> the
> -i option to it.
>
> If you are using pg_ctl:
> pg_ctl -D /path/to/data/dir -o "-i" start
>
>
> THINK BEFORE YOU PRINT - Save paper if you don't really need to print this
>
> *******************Confidentiality and Privilege Notice*******************
>
> The material contained in this message is privileged and confidential to
> the addressee. If you are not the addressee indicated in this message or
> responsible for delivery of the message to such person, you may not copy
> or deliver this message to anyone, and you should destroy it and kindly
> notify the sender by reply email.
>
> Information in this message that does not relate to the official business
> of Weatherbeeta must be treated as neither given nor endorsed by
> Weatherbeeta.
> Weatherbeeta, its employees, contractors or associates shall not be liable
> for direct, indirect or consequential loss arising from transmission of
> this
> message or any attachments
> e-mail.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.21.1/1302 - Release Date: 2/27/2008
> 4:34 PM
>
>
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: version:8.2.6 pg_hda.conf problem
@ 2008-02-29 09:17 Mehlape, Makgati <MMehlape1@fnb.co.za>
parent: 李国庆 <leekooqi@gmail.com>
2 siblings, 0 replies; 5+ messages in thread
From: Mehlape, Makgati @ 2008-02-29 09:17 UTC (permalink / raw)
To: leekooqi@gmail.com; pgsql-admin
Also, put listen_address ='*' instead of listen_address = * (Put the
sigle quotes)
If you opt for listen_address = '<hostname_ip', <hostname_ip> must be
the IP address of the machine where your PostgreSQL server is running
on.
Hope u get sorted
Makgati.
-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of ???
Sent: Friday, February 29, 2008 4:57 AM
To: pgsql-admin
Subject: [ADMIN] version:8.2.6 pg_hda.conf problem
Hi Everybody,
I started running 8.2.6 recently on redhat 5.0 es, installed
pgadmin3 and phppgadmin ,both them can correct connect by localhost,but
can not from other , I had these in my pd_hda.conf :
host all all 192.168.2.1/254 trust
and listen_address=* in postgresql.conf, but it still not work .
ps: I can not find tcpip_ ...in postgresql.conf.
how can i do now ?
ths a lot!
leekooqi
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly
To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser:
https://www.fnb.co.za/disclaimer.html
If you are unable to access the Disclaimer, send a blank e-mail to
firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the Disclaimer.
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2008-02-29 09:17 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-02-29 02:57 version:8.2.6 pg_hda.conf problem 李国庆 <leekooqi@gmail.com>
2008-02-29 04:06 ` Robins Tharakan <tharakan@gmail.com>
2008-02-29 04:48 ` Phillip Smith <phillip.smith@weatherbeeta.com.au>
2008-02-29 06:07 ` Devi <devi@visolve.com>
2008-02-29 09:17 ` Mehlape, Makgati <MMehlape1@fnb.co.za>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox