8

A fresh metasploit on kalilinux 2016(latest stable)

systemctl start postgresql OK

On msfconsole

msf > db_status 
[*] postgresql connected to msf

When i launch search

msf > search samba
[!] Module database cache not built yet, using slow search

So i rebuild cache...

msf > db_rebuild_cache

And when i launch search

msf > search samba
[!] Module database cache not built yet, using slow search

Strange!How to fix this problem?

-1

I solved this error with this:

  1. open msfconsole
  2. type git init

done

| improve this answer | |
14

You juste need to type:

service postgresql start

(you already done this one)

msfdb init 

(I think you miss this one)

db_rebuild_cache

(and then in msfconsole)

Should be OK.

| improve this answer | |
  • 1
    this is the solution but db_rebuild_cache you just have to wait few minutes – SeanClt Jan 17 '18 at 12:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.