Re: No entry to pg_hba.conf 10.17.11.16

Поиск
Список
Период
Сортировка
От Roman Fail
Тема Re: No entry to pg_hba.conf 10.17.11.16
Дата
Msg-id 9B1C77393DED0D4B9DAA1AA1742942DA3BCABA@pos_pdc.posportal.com
обсуждение исходный текст
Ответ на No entry to pg_hba.conf 10.17.11.16  (Fabiano <fcostola@osite.com.br>)
Ответы Re: No entry to pg_hba.conf 10.17.11.16  (Lamar Owen <lamar.owen@wgcr.org>)
Список pgadmin-support
I'm not a TCP/IP networking expert, but I'm pretty certain that 10.x.x.x addresses are the very definition of a private
non-routableClass A network.  Which means the subnet mask should be 255.0.0.0.  
 
 
255.255.255.0 is the mask for Class C networks, which for private networks are generally defined as 192.168.x.x.   
 
The first big question is can you ping the server from another machine on your private network? (Assuming ICMP8 is not
blockedby a software firewall).  If you can't ping it, then something is wrong with your network configuration. Are you
ableto access the server at the specified IP address through other services, such as telnet, ssh, ftp? (assumes that
someof those daemons are running on the server)
 
 
Can the server ping itself?  Does it's ethernet interface even work?  Can it ping other hosts on the network?  Keep
askingquestions like this and sooner or later you'll have your answer.
 
 
IP References:
http://www.oreilly.com/catalog/coreprot/chapter/appb.html
http://questy.com/tech/netw62.htm
http://www.sangoma.com/fguide.htm
 
Roman

    >I do not know why the others has "USER" at pg_hba.conf. Maybe your
    >version is 7.3. Mine is 7.2.
    >
    >Thanks for your suggestion but it have not worked. The mask I use is
    >from my local network, and all the stations is with the same mask.
    >
    >I restarted the server many times using pg_ctl restart or stop and then
    >start. I do not know what can I do.
    
    >>>I put the following line at pg_hba.conf:
    >>>
    >>>local all     10.17.11.0      255.255.255.0   trust
    >>>   
    >>>
    >>
    >>Mine has a "user" column, which yours skipped. It would be:
    >>
    >>local all all 10.17.11.0 255.255.255.0 trust
    >>
    >>You must also make sure you restart the server. Try connecting on localhost
    >>or 127.0.0.1.
    >>
    >>PS, are you actually on a Class C network? If you are, then your subnet mask
    >>might be 255.0.0.0, or something else entirely.
    >>
    >>-Keith
    


В списке pgadmin-support по дате отправления:

Предыдущее
От: Erich Titl
Дата:
Сообщение: Info
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: No entry to pg_hba.conf 10.17.11.16