permisi sobat sekalian tolong dong armitage eroro nhi minta pencerahanya para suhu2 se
#1
[-] Error while running command db_connect:Failed to connect to the database: uninitialized constant MysqlCompat::MysqlRes

Call stack:
/opt/framework3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1828:in 'db_connect_mysql'
/opt/framework3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1711:in 'cmd_db_connect'
/opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:380:in r'un_command'
/opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:342:in 'block in run_single'
/opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:336:in 'each'
/opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:336:in 'run_single'
/opt/framework3/msf3/lib/rex/ui/text/shell.rb:199:in 'run'
/opt/framework3/msf3/lib/msf/ui/web/console.rb:65:in 'block in initialize'
/opt/framework3/msf3/lib/msf/core/thread_manager.rb:64:in 'call'
/opt/framework3/msf3/lib/msf/core/thread_manager.rb:64:in 'block in spawn'

#2
coba lihat disini bro, udh ada fix dr om zee:
http://forum.indonesianbacktrack.or.id/s...hp?tid=181

#3
maaf sebelum nya konspirasi.

RE: permisi sobat sekalian tolong dong armitage eroro nhi minta pencerahanya para suhu2 se
coba lihat disini bro, udh ada fix dr om zee:
http://forum.id-backtrack.com/showthread.php?tid=181 --> eror
Error
Guests cannot view threads.

mohon sejelasan sedetail2 ane mengalami kasus di atas

sebelumnya pernah mengalami conected refused bro , tp setelah ketik
#lsof -i :5553
berhasil --> sekrng pake cara tersebut mlh da tulisan :
] Error while running command db_connect:Failed to connect to the database: uninitialized constant MysqlCompat::MysqlRes

Call stack:
/opt/framework3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1828:in 'db_connect_mysql'
/opt/framework3/msf3/lib/msf/ui/console/command_dispatcher/db.rb:1711:in 'cmd_db_connect'
/opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:380:in r'un_command'
/opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:342:in 'block in run_single'
/opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:336:in 'each'
/opt/framework3/msf3/lib/rex/ui/text/dispatcher_shell.rb:336:in 'run_single'
/opt/framework3/msf3/lib/rex/ui/text/shell.rb:199:in 'run'
/opt/framework3/msf3/lib/msf/ui/web/console.rb:65:in 'block in initialize'
/opt/framework3/msf3/lib/msf/core/thread_manager.rb:64:in 'call'
/opt/framework3/msf3/lib/msf/core/thread_manager.rb:64:in 'block in spawn'

gmn bro tanks bantuan nya .

#4
coba lakukan ini di konsol bro:
Code:
gem install --no-rdoc --no-ri -v=2.7 mysql -- --with-mysql-dir=/usr/local/mysql --with-mysql-config=/usr/bin/mysql_config

ntar lihat ada errornya lagi ato ga

selamat mencoba

#5
masih eror nie om.

gem install --no-rdoc --no-ri -v=2.7 mysql -- --with-mysql-dir=/usr/local/mysql --with-mysql-config=usr/bin/mysql_config
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9.2 extconf.rb --with-mysql-dir=/usr/local/mysql --with-mysql-config=usr/bin/mysql_config
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby1.9.2
--with-mysql-config
extconf.rb:5:in ``': No such file or directory - usr/bin/mysql_config --cflags (Errno::ENOENT)
from extconf.rb:5:in `<main>'


Gem files will remain installed in /var/lib/gems/1.9.2/gems/mysql-2.7 for inspection.
Results logged to /var/lib/gems/1.9.2/gems/mysql-2.7/gem_make.out

#6
ika anda mendapatkan pesan error pada saat menjalankan metasploit autopwn module. Seperti pengalaman gw pribadi , error pertama pada saat metasploit akan meload db_driver. kira-kira errornya seperti ini :

Ketika ane mau memasang db_nmap.. weeek error

msf > db_nmap 192.168.1.1-254 -n -P0
[-] Database not connected
msf >
msf > db_create test
[-] No database driver has been specified

nah pas ane cek db_driver ternyata ?

msf > db_driver[*] No Active Driver[*] Available:
[*] DB Support: Enable the mysql driver with the following command:[*] $ gem install mysql[*] This gem requires mysqlclient headers, which can be installed on Ubuntu with:[*] $ sudo apt-get install libmysqlclient-dev
[*] DB Support: Enable the postgresql driver with the following command:[*] * This requires libpq-dev and a build environment[*] $ gem install postgres[*] $ gem install pg # is an alternative that may work

ane tes cek db aktif..

msf > db_driver[*] No Active Driver

akhirnya nemu jalan keluar setelah googling hehehe

yang pertama install dulu postgresql libpq-dev
apt-get install postgresql libpq-dev

langkah berikutnya kita masuk ke postgresql

sudo su postgres -c psql ALTER USER postgres WITH PASSWORD ‘password ente’;
#dalam hal ini gw gk ngeset pass jadi gw gk pake with password...
\q
sudo passwd -d postgres sudo su postgres -c passwd

kemudian buka tab baru pada console terus ketik

gem install pg

hasilnya mantap sekali .. and work with backtrack 5 ...
hasil setelah ane test....

msf > db_driver
[*]Active Driver: postgresql
[*]Available: postgresql, mysql

msf > db_driver postgresql
[*] Using database driver postgresql

klo ente mau agar gk capek2 mengulangi hal-hal tersebut di atas.. bikin file di /root/.msf3/msfconsole.rc isi dengan :

db_driver postgresql
db_connect postgres:”postgreSQL password”@127.0.0.1:5322/metasploit
db_workspace -a PWBv3

ane pake port 5322 nah .. klo ente mau ganti port tinggal edit file postgresql yang dapat ente temukan secara default pada :

gedit /etc/postgresql/8.4/main/postgresql.conf

kemudian restart serverpostgresql-8.4 nya

/etc/init.d/postgresql-8.4 restart

http://forum.id-backtrack.com/showthread.php?tid=181
Yang putih, yang seharusnya ber-aksi dan berbakat!
Linuxtivist blog

#7
udah banyak thread fix nya om
root@nosetrave:~# ./plagiat.sh
English motherfucker, do you speak it ?
root@nosetrave:~#







Users browsing this thread: 1 Guest(s)