Error starting postgresql server on ubuntu

Posted by xain on Server Fault See other posts from Server Fault or by xain
Published on 2011-01-04T03:07:47Z Indexed on 2011/01/04 3:55 UTC
Read the original article Hit count: 270

Filed under:
|
|
|

Hi, I recently stopped the postgresql database (that was working perfectly), and after a couple of days, when I try to start it, I get the errors:

2011-01-03 23:56:27 CLST LOG:  could not translate host name "localhost", service "5432" to address: Name or service not known
2011-01-03 23:56:27 CLST WARNING:  could not create listen socket for "localhost"
2011-01-03 23:56:27 CLST FATAL:  could not create any TCP/IP sockets

I'm running Ubuntu 9.1, and I'm using the usuals

/etc/init.d/postgresql-8.4 start and stop

Any hints ?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about postgresql