06-08-2014, 10:49 PM
Solusinya dong bro, punya ane muncul gini
Punya ane udah solved bro ternaya cara nya cuman edit /etc/postgresql/9.3/main/postgresql.conf trs search "localhost" yang ada di listen_addresses ganti jadi "127.0.0.1"
Quote:[root@Second][~]
[>] service postgresql start
[....] Starting PostgreSQL 9.3 database server: main[....] The PostgreSQL server failed to start. Please check the log output: 2014-06-08 21:37:29 UTC LOG: could not bind IPv4 socket: Tidak dapat menempatkan permintaan alamat 2014-06-08 21:37:29 UTC HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry. 2014-06-08 21:37:29 UTC WARNING: could not create listen socket for "localhost" 2014-06-08 21:37:29 UTC FATAL: could not create any TC[FAILsockets ... failed!
failed!
[root@Second][~]
[>] service postgresql stop
[ ok ] Stopping PostgreSQL 9.3 database server: main.
[root@Second][~]
[>] msfconsole
[-] Failed to connect to the database: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Punya ane udah solved bro ternaya cara nya cuman edit /etc/postgresql/9.3/main/postgresql.conf trs search "localhost" yang ada di listen_addresses ganti jadi "127.0.0.1"