-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
msfdb init failing to start the database #53
Comments
edit c:\metasploit-framework\embedded\framework\msfdb In the 'run_cmd' function, comment out the 'err = stderr.read' and 'out = stdout.read' calls like this:
|
Just tested and that fixes it. Thanks. -- Note: I had to run |
Hello I have same troublem I try setting msfdb from termux wiki but why fail?
The database cluster will be initialized with locale "C.UTF-8". Data page checksums are disabled. creating directory /data/data/com.termux/files/usr/var/lib/postgresql ... ok WARNING: enabling "trust" authentication for local connections Success. You can now start the database server using:
Mr.XSecr3t@localhost:
createuser: could not connect to database postgres: could not connect to server: Connection refused Is this something wrong? |
Me too bro...... I'm facing the same problem |
When tickets are closed, please open a new one rather than commenting on existing ones. Thanks. |
I'm having trouble getting the latest build of metasploit to run properly. After installation, I ran
msfdb init
and I got the following output:and it hangs on this screen indefinitely. During this time, a process 'postgres.exe' is spawned but the command remains hanging. If I run
msfconsole
, I get the following output:Also, running
db_status
inside ofmsfconsole
prints this stack trace:The text was updated successfully, but these errors were encountered: