View Issue Details

IDProjectCategoryView StatusLast Update
0002699Kali LinuxGeneral Bugpublic2016-03-05 14:16
Reporterr23f23 Assigned Tomuts  
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Versionkali-dev 
Fixed in Version2016.2 
Summary0002699: problem with metasploit postgresql db
Description

every time msfconsole is started it thinks database cache is not built and uses slow search. if i db_rebuild_cache it doesnt use slow search until i exit msfconsole. if i start msfconsole again, it goes back to using slow search when it normally shouldn't.

Steps To Reproduce

msfconsole
msf > search SOMETHING
[!] Database not connected or cache not built, using slow search
msf > db_rebuild_cache
[*] Purging and rebuilding the module cache in the background...
msf > search SOMETHING
<RESULTS>
msf > exit
msfconsole
msf > search SOMETHING
[!] Database not connected or cache not built, using slow search

Additional Information

root@kali:~# msfconsole

cowsay++


< metasploit >

   \   ,__,
    \  (oo)____
       (__)    )\
          ||--|| *

Trouble managing data? List, sort, group, tag and search your pentest data
in Metasploit Pro -- learn more on http://rapid7.com/metasploit

   =[ metasploit v4.11.4-2015092301                   ]
  • -- --=[ 1485 exploits - 857 auxiliary - 250 post ]
  • -- --=[ 432 payloads - 37 encoders - 8 nops ]
  • -- --=[ Free Metasploit Pro trial: http://r-7.co/trymsp ]

msf > db_status
[] postgresql connected to msf
msf > search java
[!] Database not connected or cache not built, using slow search
^C[-] Error while running command search:
msf > db_rebuild_cache
[
] Purging and rebuilding the module cache in the background...
msf > search java

Matching Modules

Name Disclosure Date Rank Description


auxiliary/admin/http/arris_motorola_surfboard_backdoor_xss 2015-04-08 normal Arris / Motorola Surfboard SBG6580 Web Interface Takeover

msf > exit
root@kali:~# msfconsole

 ,           ,
/             \
((---,,,---))
() O O ()____
\
/
\
o_o \ M S F
\
\ _____
* WW

Save 45% of your time on large engagements with Metasploit Pro
Learn more on http://rapid7.com/metasploit

   =[ metasploit v4.11.4-2015092301                   ]
  • -- --=[ 1485 exploits - 857 auxiliary - 250 post ]
  • -- --=[ 432 payloads - 37 encoders - 8 nops ]
  • -- --=[ Free Metasploit Pro trial: http://r-7.co/trymsp ]

msf > search java
[!] Database not connected or cache not built, using slow search
^C[-] Error while running command search:
msf >

Activities

r23f23

r23f23

2015-10-01 11:46

reporter   ~0004040

same issue as https://github.com/rapid7/metasploit-framework/issues/5954

Reality-Labs

Reality-Labs

2015-10-21 21:57

reporter   ~0004059

it's fixed now mate run
apt-get update && apt-get upgrade

r23f23

r23f23

2016-03-05 03:04

reporter   ~0004816

Please change this issue's status to FIXED

muts

muts

2016-03-05 14:16

reporter   ~0004817

Reported as fixed.

Issue History

Date Modified Username Field Change
2015-10-01 11:42 r23f23 New Issue
2015-10-01 11:46 r23f23 Note Added: 0004040
2015-10-21 21:57 Reality-Labs Note Added: 0004059
2015-11-06 23:44 bhjr Issue cloned: 0002747
2016-03-05 03:04 r23f23 Note Added: 0004816
2016-03-05 14:16 muts Note Added: 0004817
2016-03-05 14:16 muts Status new => closed
2016-03-05 14:16 muts Assigned To => muts
2016-03-05 14:16 muts Resolution open => fixed
2016-03-05 14:16 muts Fixed in Version => 2016.2