Metasploit mailing list archives

Error while running command db_add_host: no such file to load -- postgres


From: tim.e.mcguire at gmail.com (Timothy McGuire)
Date: Thu, 22 May 2008 17:35:19 -0500

Hi,

In getting the db up and running, I'm seeing an error:
*Error while running command db_add_host: no such file to load -- postgres
*
using msfconsole and following the instructions at
http://en.wikibooks.org/wiki/Metasploit/UsingMetasploit,

I did

load db_postgres

db_create

db_add_host

and so got the error.  same thing with any db command.  I can go directly to
postgres and enter records in the table, but not through metasploit

there is nothing in either the postgres logs or the metasploit
production.log

environment:
Suse 10.2
postgres 815
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.metasploit.com/pipermail/framework/attachments/20080522/ba2b8a06/attachment.htm>


Current thread: