Re: postgresql dblink not working in FC5



Manish Gupta wrote:

bulbulbo=# select dblink_connect('hostaddr=127.0.0.1 dbname=bulbulfo user=bulbul password=password');
ERROR: could not establish connection
DETAIL: could not connect to server: Permission denied
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?

So... is postmaster listening on the TCP port? It would need to be, if you're specifying 'hostaddr'.

Use 'netstat -tlnp' to see if port 5432 is open. If not, you'll need to configure Postgres to listen on a TCP socket. You can either specify "PGOPTS=-i" in /etc/sysconfig/pgsql/postgresql, or "tcpip_socket = true" in /var/lib/pgsql/data/postgresql.conf

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Bug with instanceName property?
    ... first thing that stands out is that you are specifying a port number. ... When you specify a port it will take precedence over the instance name. ... Looking at the connection string another thing stands out. ... > requested in login 'cc'. ...
    (microsoft.public.sqlserver.jdbcdriver)
  • RE: Cant connect to WME over internet
    ... Hi Clarence, ... Tried specifying the port number (i.e., ... >>connection, but when i try to pull through the media ...
    (microsoft.public.windowsmedia.encoder)
  • RE: [PHP] MSSQL_CONNECT problem
    ... Server connection failed ... is that instance setup to use 1433 as the port? ... default port for MSSQL, but the majority of people change that. ... with and without specifying the port - but both ways don't work.... ...
    (php.general)
  • Re: I cant install "tomcat". please help!
    ... I get the message that the connection to that port is ... I use Mozilla web browser that came with my redhat 9. ... if there's no server running, then there is nothing to connect to. ...
    (comp.lang.java.programmer)
  • Re: Correction
    ... Normally to physically disconnect is just a matter of reaching for the ... >> I have an ADSL connection which polls my computer from time to time, ... > disallow each and every port with Windows Firewall? ...
    (microsoft.public.windowsxp.messenger)