Ik ben hier ooit eens eerder mee aan het vechten geweest, en kwam er toen ook al niet uit. Toen heb ik wat ik wou doen op een andere manier opgelost, maar nu heb ik toch echt een postgres nodig die braafjes op poort 5432 luistert. Ik zal ongetwijfeld iets fout doen, maar wat? 
(jochem@mango)[~]$ telnet localhost 5432
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
(jochem@mango)[~]$
(jochem@mango)[~]$ netstat -a|grep 5432
c16c4dac stream 0 0 c1541880 0 0 0 /tmp/.s.PGSQL.5432
(jochem@mango)[~]$
syslog
Dec 14 11:07:57 mango postgres[9449]: [1-1] LOG: received fast shutdown request
Dec 14 11:07:57 mango postgres[17045]: [2-1] LOG: shutting down
Dec 14 11:08:00 mango postgres[17045]: [3-1] LOG: database system is shut down
Dec 14 11:08:02 mango postgres[17163]: [1-1] LOG: database system was shut down at 2005-12-14 11:08:00 CET
Dec 14 11:08:02 mango postgres[17163]: [2-1] LOG: checkpoint record is at 0/5B97A14
Dec 14 11:08:02 mango postgres[17163]: [3-1] LOG: redo record is at 0/5B97A14; undo record is at 0/0; shutdown TRUE
Dec 14 11:08:02 mango postgres[17163]: [4-1] LOG: next transaction ID: 399272; next OID: 67232
Dec 14 11:08:02 mango postgres[17163]: [5-1] LOG: database system is ready
postgresql.conf
tcpip_socket = true
listen_addresses = '127.0.0.1'
port = 5432
password_encryption = true
syslog_facility = 'LOCAL0'
syslog_ident = 'postgres'
log_connections = true
pg_hba.conf
# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
local all all trust
# IPv4-style local connections:
host all all 127.0.0.1 255.255.255.255 trust
# IPv6-style local connections:
host all all ::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff trust
(jochem@mango)[~]$ telnet localhost 5432
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
(jochem@mango)[~]$
(jochem@mango)[~]$ netstat -a|grep 5432
c16c4dac stream 0 0 c1541880 0 0 0 /tmp/.s.PGSQL.5432
(jochem@mango)[~]$
syslog
Dec 14 11:07:57 mango postgres[9449]: [1-1] LOG: received fast shutdown request
Dec 14 11:07:57 mango postgres[17045]: [2-1] LOG: shutting down
Dec 14 11:08:00 mango postgres[17045]: [3-1] LOG: database system is shut down
Dec 14 11:08:02 mango postgres[17163]: [1-1] LOG: database system was shut down at 2005-12-14 11:08:00 CET
Dec 14 11:08:02 mango postgres[17163]: [2-1] LOG: checkpoint record is at 0/5B97A14
Dec 14 11:08:02 mango postgres[17163]: [3-1] LOG: redo record is at 0/5B97A14; undo record is at 0/0; shutdown TRUE
Dec 14 11:08:02 mango postgres[17163]: [4-1] LOG: next transaction ID: 399272; next OID: 67232
Dec 14 11:08:02 mango postgres[17163]: [5-1] LOG: database system is ready
postgresql.conf
tcpip_socket = true
listen_addresses = '127.0.0.1'
port = 5432
password_encryption = true
syslog_facility = 'LOCAL0'
syslog_ident = 'postgres'
log_connections = true
pg_hba.conf
# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
local all all trust
# IPv4-style local connections:
host all all 127.0.0.1 255.255.255.255 trust
# IPv6-style local connections:
host all all ::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff trust