Search Postgresql Archives

Re: 60 Seconds to connected to Postgresql using ODBC or PGAdmin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Or you can try using a simple packet sniffer, maybe ,ethereal , to see if name resolution is going on, i had similar problems with MySQL name resolution in the past and they generally went away after disabling its name resolution and just use IPs

On Nov 29, 2007 1:23 PM, Shane Ambler <pgsql@xxxxxxxxxx> wrote:
Richard Broersma Jr wrote:
> --- On Wed, 11/28/07, Richard Huxton <dev@xxxxxxxxxxxx> wrote:
>> Name lookups. Something is trying to look up a name,
>> failing and it's
>> timing out after 60 seconds.
>
> It seems the OP's connection string was set to localhost.  Would this still indicate a Name Loopup problem?
>

If there is no entry (or an incorrect one) in /etc/hosts for localhost -
then yes - try to connect to 127.0.0.1 and see if that makes a difference.

Also if it is set to do namelookup before referring to /etc/hosts it can
have similar probs.


--

Shane Ambler
pgSQL@xxxxxxxxxx

Get Sheeky @ http://Sheeky.Biz

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
      message can get through to the mailing list cleanly


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux