Metasploit mailing list archives

Metasploit Exploit Automation [on Windows]


From: yeah3k at gmx.net (yeah3k)
Date: Fri, 22 Sep 2006 20:02:19 +0200

Hi, thanks for help now I get this error

msf > db_hosts
[-] Error while running command db_hosts: FATAL C28000  Mno PostgreSQL user 
name
 specified in startup packet    Fpostmaster.c   L1536 
RProcessStartupPacket



----- Original Message ----- 
From: "Jerome Athias" <jerome.athias at free.fr>
To: <framework at metasploit.com>
Sent: Friday, September 22, 2006 7:26 PM
Subject: Re: [framework] Metasploit Exploit Automation [on Windows]


H D Moore a ?crit :
Hello,

The problem is that either ActiveRecord or the Postgres database driver 
for Ruby has not been installed. Try opening a Cygwin shell prompt and 
running the following command:

$ gem install activerecord
$ gem install postgres-pr

-HD


Note that if you get this common error with win32-ruby:

$ gem install activerecord
ERROR:  While executing gem ... (SocketError)
  getaddrinfo: no address associated with hostname.


a quick workaround is to download this file:
http://rubyforge.vm.bytemark.co.uk/gems/activerecord-1.9.1.gem
(actually the last version)

in your path and then run again:

$ gem install activerecord


(you'll also find other packages like postgres-pr ... at the same location 
;-)


/JA





Current thread: