Metasploit mailing list archives

Error while running command db_hosts: can't convert String into Integer


From: axnjxnind at gmail.com (axn jxn)
Date: Mon, 16 Jul 2007 16:19:34 -0400

Were there any other actions that you performed in addition to
removing and reinstalling activerecord? I tried this solution before I
read your email and again after in addition to uninstalling and
reinstalling ruby gems and was unable to get it to work.

I have only been able to find these two posts concerning activerecord
and the "can't convert String into Integer" error message:
http://dev.rubyonrails.org/ticket/3272
http://dev.rubyonrails.org/ticket/4378

On 7/16/07, Qnix <qnix69 at gmail.com> wrote:
I have fixed the problem and i dont really know how i did ???
i just removed the 1.15.3 version of activerecord and i used 1.15.2 and i
got the same error
then i removed activerecord 1.15.2 and upgrade it to 1.15.3 and done .. i
dont get the error anymore
:S dunno what happened and dunno how it happened



On 7/16/07, Qnix <qnix69 at gmail.com> wrote:
i get the same problem with both activerecord 1.15.3 and 1.15.2
[-] Error while running command db_services: can't convert String into
Integer

Call stack:
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.2
/lib/active_record/connection_adapters/mysql_adapter.rb:389:in
`real_connect'
................etc





On 7/16/07, H D Moore < hdm at metasploit.com> wrote:
Still does not reproduce with 1.15.3 (using postgres).








Current thread: