Fixed Failed to Connect to the Database Metasploit - Printable Version +- Indonesian Back|Track Team (https://www.indonesianbacktrack.or.id/forum) +-- Forum: Attacker Zone (https://www.indonesianbacktrack.or.id/forum/forum-169.html) +--- Forum: Exploitation (https://www.indonesianbacktrack.or.id/forum/forum-43.html) +---- Forum: Metasploit (https://www.indonesianbacktrack.or.id/forum/forum-122.html) +---- Thread: Fixed Failed to Connect to the Database Metasploit (/thread-5848.html) Pages:
1
2
|
Failed to Connect to the Database Metasploit - Clound_Carbelius - 06-02-2014 Sblum nya mohon maaf klo repsol maklum ilmu ku blom tinggi \m/ oke,langsung aja Mungkin dari beberapa orang yg baru belajar Metasploit, pernah ngalamain error database metasploit seperti ini Failed to connect to the database: could not connect to server: connection refused Udah Jelas banget dari Pesan nya, Database nya gak connected [hide] Ok, Bgini cara Fix nya 1. Pastikan service postgresql, kalian berjalan 2. cek file config database metasploit nya ( /opt/metasploit-4.4.0/config/database.yml ) Jalankan Service Postgresql nya. $ service postgresql start Masih ada error ?? bisa jadi itu karna masalah config dengan dengan database msf kalian, dan ini cara untuk setup new database msf dengan postgresql Quote:root@Ganteng:# su - postgres setelah membuat user di posgresql next kita membuat file configure database Metasploiut nya. kalian bisa liat contoh file nya di "/usr/share/metasploit-framework/config/database.yml.example" edit aja langsung itu file example nya.. kemudian save copy dan rename file tersebut $ sudo cp database.yml.example database.yml Ok, Next.. Buka msfconsole Jika masih belum connected.. coba di connect'kan langsung di metasploit console nya msf > db_connect NamaUser[email protected]:5432/name_database Ok,Done.. :-bd [/hide] Postingan ini boleh di share/di perbanyak,dengan menyertai link sumber dibawah : http://carbelius.blogspot.com/2014/06/fixed-failed-to-connect-to-database.html ok,thank all :-bd RE: Failed to Connect to the Database Metasploit - sonyrimawan - 06-04-2014 nice share om. kebetulan dulu ane pernah ngalamin hal yang sama waktu gagal upgrade RE: Failed to Connect to the Database Metasploit - dimascyber4rt - 06-05-2014 thanks bro ilmunya hehehe..... :-bd RE: Failed to Connect to the Database Metasploit - iKONspirasi - 06-06-2014 nice share bro, +1 dari gw biasanya errornya ini abis update OS, kemudian metasploitnya kena update dan file database.yml-nya ketimpa. RE: Failed to Connect to the Database Metasploit - Clound_Carbelius - 06-06-2014 (06-06-2014, 07:11 AM)iKONspirasi Wrote: nice share bro, +1 dari gw iyap..bener banget om :-bd RE: Failed to Connect to the Database Metasploit - dunkenciels - 06-07-2014 Deleted RE: Failed to Connect to the Database Metasploit - Rvz_Venom - 06-08-2014 wah mantep nih post, ane sering gini waktu pake metasploit di ubuntu raring ane,, RE: Failed to Connect to the Database Metasploit - Clound_Carbelius - 06-08-2014 (06-08-2014, 11:53 AM)Rvz_Venom Wrote: wah mantep nih post, ane sering gini waktu pake metasploit di ubuntu raring ane,, hehehe :d sama" om, skarang msh error ndak ? RE: Failed to Connect to the Database Metasploit - Arief.Kresna - 06-08-2014 Solusinya dong bro, punya ane muncul gini Quote:[root@Second][~] Punya ane udah solved bro ternaya cara nya cuman edit /etc/postgresql/9.3/main/postgresql.conf trs search "localhost" yang ada di listen_addresses ganti jadi "127.0.0.1" RE: Failed to Connect to the Database Metasploit - RobotBernyawa - 06-17-2014 weleh karena saya sering ngalamin jadi penasaran juga, hehehhe ijin baca-baca mas Clound |