Dear All,
I recently installed Parrot os and updated. this is the output from uname command
5.10.0-6parrot1-amd64 #1 SMP Debian 5.10.28-6parrot1 (2021-04-12) x86_64 GNU/Linux.
I tried to start postgresql but I had some problems related to the socket. Fortunately I solved this problem by updating the /etc/hosts file. I don’t why but after the installation it is empty and then does not contain the localhost address. I suggest to update this file, since it might produce some errors with other tools, like nmap. Postgresql runs properly now and I can see it also through nmap.
However, some problems still persists when I try to configure it into metasploit. In particular, this is the output from the msfdb init command
msfdb init
[+] Starting database
[+] Creating database user ‘msf’
[+] Creating databases ‘msf’
[+] Creating databases ‘msf_test’
[+] Creating configuration file ‘/usr/share/metasploit-framework/config/database.yml’
[+] Creating initial database schema
rake aborted!
NoMethodError: undefined methodwithout' for #<Bundler::Settings:0x000055bd489b8858> Did you mean? with_options /usr/share/metasploit-framework/Rakefile:19:in
rescue in <top (required)>’
/usr/share/metasploit-framework/Rakefile:13:in<top (required)>' /usr/share/metasploit-framework/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/exe/rake:27:in
<top (required)>’
Caused by:
LoadError: cannot load such file – rspec/core
/usr/share/metasploit-framework/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:inrequire' /usr/share/metasploit-framework/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in
require’
/usr/share/metasploit-framework/Rakefile:14:in<top (required)>' /usr/share/metasploit-framework/vendor/bundle/ruby/2.7.0/gems/rake-13.0.3/exe/rake:27:in
<top (required)>’
(See full trace by running task with --trace)
I would really apprecciate if you can help me to fix this.
Thank you in advance