[help] msfconsole error
#1
Quote:mi7@bt:~$ sudo msfconsole
[sudo] password for mi7:
[-] Failed to connect to the database: could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 7337?
could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 7337?
{"adapter"=>"postgresql", "database"=>"msf3dev", "username"=>"msf3", "password"=>"65564c58", "port"=>7337, "host"=>"localhost", "pool"=>256, "timeout"=>5} ["/opt/metasploit/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:968:in `initialize'", "/opt/metasploit/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:968:in `new'", "/opt/metasploit/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:968:in `connect'", "/opt/metasploit/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:217:in `initialize'", "/opt/metasploit/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `new'", "/opt/metasploit/msf3/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection'", "/opt/metasploit/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection'", "/opt/metasploit/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in `checkout_new_connection'", "/opt/metasploit/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:188:in `block (2 levels) in checkout'", "/opt/metasploit/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `loop'", "/opt/metasploit/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in `block in checkout'", "/opt/metasploit/ruby/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'", "/opt/metasploit/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:183:in `checkout'", "/opt/metasploit/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in `connection'", "/opt/metasploit/msf3/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection'", "/opt/metasploit/msf3/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in `retrieve_connection'", "/opt/metasploit/msf3/lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in `connection'", "/opt/metasploit/msf3/lib/active_record/base.rb:1271:in `columns'", "/opt/metasploit/msf3/lib/active_record/base.rb:1284:in `column_names'", "/opt/metasploit/msf3/lib/active_record/base.rb:1297:in `column_methods_hash'", "/opt/metasploit/msf3/lib/active_record/base.rb:1986:in `block in all_attributes_exists?'", "/opt/metasploit/msf3/lib/active_record/base.rb:1986:in `each'", "/opt/metasploit/msf3/lib/active_record/base.rb:1986:in `all?'", "/opt/metasploit/msf3/lib/active_record/base.rb:1986:in `all_attributes_exists?'", "/opt/metasploit/msf3/lib/active_record/base.rb:1842:in `method_missing'", "/opt/metasploit/msf3/lib/msf/core/model/workspace.rb:70:in `default'", "/opt/metasploit/msf3/lib/msf/core/db.rb:197:in `default_workspace'", "/opt/metasploit/msf3/lib/msf/core/db_manager.rb:161:in `connect'", "/opt/metasploit/msf3/lib/msf/ui/console/driver.rb:195:in `initialize'", "/opt/metasploit/msf3/msfconsole:134:in `new'", "/opt/metasploit/msf3/msfconsole:134:in `<main>'"]

+-------------------------------------------------------+
| METASPLOIT by Rapid7 |
+---------------------------+---------------------------+
| __________________ | |
| ==c(______(o(______(_() | |""""""""""""|======[*** |
| )=\ | | EXPLOIT \ |
| // \\ | |_____________\_______ |
| // \\ | |==[msf >]============\ |
| // \\ | |______________________\ |
| // RECON \\ | \(@)(@)(@)(@)(@)(@)(@)/ |
| // \\ | ********************* |
+---------------------------+---------------------------+
| o O o | \'\/\/\/'/ |
| o O | )======( |
| o | .' LOOT '. |
| |^^^^^^^^^^^^^^|l___ | / _||__ \ |
| | PAYLOAD |""\___, | / (_||_ \ |
| |________________|__|)__| | | __||_) | |
| |(@)(@)"""**|(@)(@)**|(@) | " || " |
| = = = = = = = = = = = = | '--------------' |
+---------------------------+---------------------------+



=[ metasploit v4.2.0-release [core:4.2 api:1.0]
+ -- --=[ 802 exploits - 450 auxiliary - 135 post
+ -- --=[ 246 payloads - 27 encoders - 8 nops
=[ svn r15157 updated 59 days ago (2012.02.22)

Warning: This copy of the Metasploit Framework was last updated 59 days ago.
We recommend that you update the framework at least every other day.
For information on updating your copy of Metasploit, please see:
https://community.rapid7.com/docs/DOC-1306

msf >

kira-kira ada yang bisa kasih solusi tentang error

[-] Failed to connect to the database: could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 7337?
could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 7337?


Messages In This Thread
[help] msfconsole error - by Alexander.inc - 04-21-2012, 04:26 PM
RE: [help] msfconsole error - by Al - Ayyubi - 05-24-2012, 11:38 AM
RE: [help] msfconsole error - by viruz - 11-25-2012, 06:42 AM
RE: [help] msfconsole error - by blackfruit - 02-06-2013, 12:41 AM
RE: [help] msfconsole error - by blizter - 02-24-2013, 04:09 PM
RE: [help] msfconsole error - by 2s4u4b3h4an - 11-25-2012, 07:02 AM
RE: [help] msfconsole error - by mitunz - 11-25-2012, 01:36 PM
RE: [help] msfconsole error - by MONO-X - 02-06-2013, 10:01 PM
RE: [help] msfconsole error - by jboxxpradhana - 02-07-2013, 09:14 AM




Users browsing this thread: 1 Guest(s)