Comments (10)
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.
What rom are you using? Did you install supersu? I would try re flashing nethunter.zip
from kali-nethunter.
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.
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.
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.
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.
@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.
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 script
metasploit' 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.
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.
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)
- Missing /dev/shm HOT 5
- Not working hid attacks winth NetHunter HOT 1
- Burp suit does not start and how to fixx??
- Kali Nethunter Terminal not working HOT 9
- Nethunter Kernel Opx Stuck on Boot HOT 1
- Confused as to what my sources.list should be on older Nexus 7 HOT 86
- Unfortunately setting (or many other services ) has stopped. HOT 4
- TP LINK WN722N v1 not detected HOT 46
- SearchSploit First Start HOT 6
- Edit: New Situation, clean install went fine, App and several services, like terminal, keep crashing.. HOT 20
- Question kalifs-minimal and HID Duckhunter HOT 2
- /system is not mounted in chroot HOT 6
- Linux headers error in nethunter HOT 17
- custom command shortcut
- shortcut custom command in nethunter
- Internet connection from kali nethunter to android
- Nexus 6p Oreo 8.1 External network card is not supported HOT 12
- Nethunter Nexus 6 (shamu) lineageOS kernel HOT 2
- nethunter for nexus 5x
- Bliss OS / Phoenix / Maru / Android_x86_64 builds? Devs?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kali-nethunter.