On Mon, Dec 03, 2007 at 01:34:30PM +0000, Mika Stenberg wrote:
> > On the local machine (as root) try running either
> >
> > lsof -i tcp:5432
> 
> This gives me a list of postgres processes, so I guess its working fine?

Yes, that means it's definitely listening on the correct port.

> > telnet localhost 5432
> 
> This one leaves me hanging, though since it does not fail I think there
> is someone listening on 5432, right?

That's strange. It should eventually connect with a message like this:

$ telnet localhost 5432
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

> > If either of those shows that postgres is indeed listening on that port,
> > try running the telnet command from the remote machine (something like
> > telnet otto.terkko.helsinki.fi 5432).
> 
> Trying telnet on another machine however, gives me:
> telnet: connect to address 128.214.167.212: Connection refused

Are you sure your firewall is set up correctly (/sbin/iptables -L)? If
so, try changing listen_addresses to '*' and see if that helps (after
restarting postgres, of course).

cheers,

Jim

-- 
James Rutherford          |  Hewlett-Packard Limited registered Office:
Research Engineer         |  Cain Road,
HP Labs                   |  Bracknell,
Bristol, UK               |  Berks
+44 117 312 7066          |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as "HP
CONFIDENTIAL".

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to