Hello all,
I'm new to pentest world and I am trying to figure out/learn how metasploit and armitage work on Kali.
I made a search about the steps to run Armitage and i found this: source
In order to run armitage i need to run this first:
service postgresql start
But I can't make it work. Every time I run the above command I am getting an error saying that it failed to run:
Code:
[....] Starting PostgreSQL 9.1 database server: main[....] The PostgreSQL server failed to start. Please check the log output:
2013-05-28 23:41:47 BST LOG: could not bind IPv6 socket: Address already in use
2013-05-28 23:41:47 BST HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2013-05-28 23:41:47 BST LOG: could not bind IPv4 socket: Address already in use
2013-05-28 23:41:47 BST HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2013-05-28 23:41:47 BST WARNING: could not create listen socket for "localhost"
2013-05-28 23:41:47 BST FAIL could not create any TCP/IP sockets ... failed!
Can someone explain me if I do something wrong or how can I fix this?
Thank you for your time.