Hi
First i run :
and then:Code:/etc/init.d/postgresql start
and i got:Code:msfdbinit
Code:bash: msfdbinit: command not found
* Please delete this topic as i forgot to add a space here msfdbinit (msfdb init) that's why was not working !
Hi
First i run :
and then:Code:/etc/init.d/postgresql start
and i got:Code:msfdbinit
Code:bash: msfdbinit: command not found
* Please delete this topic as i forgot to add a space here msfdbinit (msfdb init) that's why was not working !
Last edited by pamamolf; 2015-08-12 at 00:12.
Umm...I actually typed it correctly in my terminal and I still get an error.
I first ran my bash script to start postgresql and I see the message that it's started. I even ran ss -ant to make sure the service was listening.
root@kali:~# msfdb init
bash: msfdb: command not found
has anyone else had this problem?
Same think here
I have this problem :
sudo msfdb init
A database appears to be already configured, skipping initialization
Or is not a problem? ))
Make sure metasploit-framework package is installed
apt-get install -y metasploit-framework
Note, there is no more 'metasploit' package - but just 'metasploit-framework'
This is a Kali-Linux support forum - not general IT/infosec help.
Useful Commands: OS, Networking, Hardware, Wi-Fi
Troubleshooting: Kali-Linux Installation, Repository, Wi-Fi Cards (Official Docs)
Hardware: Recommended 802.11 Wireless Cards
Documentation: http://docs.kali.org/ (Offline PDF version)
Bugs Reporting & Tool Requests: https://bugs.kali.org/
Kali Tool List, Versions & Man Pages: https://tools.kali.org/
What am I doing wrong?
etc/init.d/postgresql start
[ ok ] Starting postgresql (via systemctl): postgresql.service.
msfdb init
A database appears to be already configured skipping initialization
service metasploit start
Failed to start metasploit.service: Unit metasploit.service failed to load: No such file or directory. <<<<
After you initialize the database, you run:
Since Kali 2.0 they removed Metasploit and instead use the metasploit framework with native tools.Code:msfconsole
The problem is not with metasploit, it is with Armitage!
Kali 2.0 used an older version and Armitage is not available for an upgrade thru apt-get
Go to the armitage website, www.fastandeasyhacking.com, download the .tgz, and replace the armitage folder in /usr/share with the armitage folder from the tgz.
(I just renamed the original folder and dragged the new folder into /usr/share)
Then, all was good!
It doesn't work in Kali v2.0
I've updated and upgraded all modules
Anyone knows how to fix this ?
Armitage Error.jpgCode:root@kali:~# apt-get clean && apt-get update && apt-get upgrade ... root@kali:~# /etc/init.d/postgresql start [ ok ] Starting postgresql (via systemctl): postgresql.service. root@kali:~# msfdb reinit psql: 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"? root@kali:~# netstat -nlp | grep 5432 root@kali:~# root@kali:~# armitage [*] Starting msfrpcd for you. [*] MSGRPC starting on 127.0.0.1:55553 (NO SSL):Msg...
Last edited by brunoaduarte; 2015-12-30 at 04:04.
https://github.com/rapid7/metasploit...ads-by-Version
download the latest metaslpoit community verson setup from above link.
after that go to your Downloads directory usin "cd Dowloads"
then right click on the downloaded file and click on permissions.grant the read and write permissions for both and also check the box "allow execution"
now go to your terminal,in the Dowloads directory (or wherever the downloaded file is" and type "./<nameofthefile>".
Now the setup wizard will start.
Select agree and continue.
In the final step for "thin ports" try some port numbers(i don't know ) I used the same which is for metasploit service i.e "3790".
DONE!