Giter Club home page Giter Club logo

Comments (10)

ctrlaltdel-bb avatar ctrlaltdel-bb commented on August 16, 2024

Ok, so i do the following

service postgresql start
service metasploit start

all successful, then i type in #msfconsole , afew minutes later, it comes up with

"failed to connect to the database fe_sendauth no password supplied" ,

Please advise.
Thanks
Bhav

from kali-nethunter.

0E800 avatar 0E800 commented on August 16, 2024

What rom are you using? Did you install supersu? I would try re flashing nethunter.zip

from kali-nethunter.

ctrlaltdel-bb avatar ctrlaltdel-bb commented on August 16, 2024

Hi,

I am using Nexus 7 2012 8gb, Build KTU84P android 4.4.4 , have followed the process on nethunter's website... i reflashed, and am getting the same issue.

Thanks
Bhav

from kali-nethunter.

ctrlaltdel-bb avatar ctrlaltdel-bb commented on August 16, 2024

I also tried this

http://fl3x.us/blog/2013/01/11/solving-msfconsole-msfupdate-issue-after-update-metasploit-to-4-5-0/

from kali-nethunter.

offensive-security avatar offensive-security commented on August 16, 2024

bhavinjbhatt, not sure what your issues is, it works fine for me. See if you can update kali inside the chroot using apt-get update commands, then try again.

from kali-nethunter.

rummonkey avatar rummonkey commented on August 16, 2024

bhavinjbhatt - you said when you start it will sit there doing nothing. Give it 10min at least the first time you start it. There is a-lot of set-up that happens with the DB being created etc.. If you are still getting into the console and its complaining about no DB it sounds like perhaps that first time initialization never completed and you are missing some files. Here is a video showing the set-up and talking about the long first time start-up https://www.youtube.com/watch?v=Vb5tL3EV1eA

Perform apt-get update, then upgrade and you should see the new Metasploint come down and hopefully that will fix it. Report back your findings.

from kali-nethunter.

ctrlaltdel-bb avatar ctrlaltdel-bb commented on August 16, 2024

@rummonkey and @offensive-security - i reflashed the nexus 7, and then ran kali linux in shell, followed by apt-get update... once completed, i rebooted the tablet, and ran msfconsole in the kali shell, i did nothing for an hour, and then finally after the database error it gave the msf> console. i have run msfupdate, and am playing with it, but will reboot the tablet and report how long it takes to get to msf> after typing msfconsole. still, i am not sure why it took over 1 hour....

Thanks for you updates, will write back later today

from kali-nethunter.

Skycrazy avatar Skycrazy commented on August 16, 2024

Hey dont know if this is the same situation but i also had this problem. i updated and upgraded and still the problem persisted. I scrolled back through terminal and realised upgrade was showing an error about metasploit upgrade.

Setting up metasploit-framework (4.10.0-2014101601-1kali0) ...
Setting up metasploit (4.10.0-2014101501-1kali0) ...
skipping metasploit initialization: postgres not running
insserv: warning: current start runlevel(s) (empty) of script metasploit' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of scriptmetasploit' overrides LSB defaults (0 1 6).
[FAIL] Postgresql must be started before Metasploit ... failed!
invoke-rc.d: initscript metasploit, action "start" failed.
dpkg: error processing metasploit (--configure):
subprocess installed post-installation script returned error exit status 5
Setting up recon-ng (4.2.1-1kali1) ...
Setting up rsyslog (5.8.11-3+deb7u2) ...
[ ok ] Stopping enhanced syslogd: rsyslogd already stopped.
[ ok ] Starting enhanced syslogd: rsyslogd.
Setting up set (6.0.5-1kali1) ...
Errors were encountered while processing:
metasploit
E: Sub-process /usr/bin/dpkg returned an error code (1)

I started postgreql from terminal and re did upgrade. Which showed metasploit was not fully upgraded the first time . And metasploit connects to db fine now.

from kali-nethunter.

0E800 avatar 0E800 commented on August 16, 2024

OP most likely was not running metasploit from within the kalimenu; did not start postgresql before running msfconsole. OP's device is stated to be 8gb version of N7-2012. Possibility that device is not suitable for NH.

Possible that first run of metasploit was ended short and corrupted the msf database.

OP needs to run:
service postgresql start
service metasploit start
and then:
msfconsole
(wait, wait, wait...)
msfupdate

These devices are not going to run metasploit with the same performance and speed as candycrush.
Metasploit takes a while to load on first launch.
FYI.

from kali-nethunter.

AndyKr0p avatar AndyKr0p commented on August 16, 2024

When I check for updates I specifically for metasploit run postgresql in advance:

apt-get update && service postgresql start && apt-get dist-upgrade

from kali-nethunter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.