If you tried to start armitage on Kali Linux, it will show you the following error.
The error says that the service cannot connect to the database. Now let’s see how to configure armitage on Kali Linux. First, lets check if armitage is installed on our machine or not. Open terminal and type the command “apt-cache search armitage”. Then type the command “apt-get install armitage”. If everything is right, it tells you that armitage is already installed.
Now let’s rectify the database connection problem. Type the command “service postgresql start”. This will start our database service. Then start metasploit service by typing the command “service metasploit start”.
Then type the command “armitage”. You should successfully see armitage working.