Metasploit mailing list archives
(no subject)
From: eakemu at hotmail.com (Eddie Akemu)
Date: Mon, 27 Apr 2009 09:23:19 +0000
Hi I am trying to use postgressql as a backend when I use db_autopwn. But I get this error message ... msf > load db_postgres [*] Successfully loaded plugin: db_postgres msf > db_create CREATE DATABASE ERROR: table "hosts" does not exist NOTICE: CREATE TABLE will create implicit sequence "hosts_id_seq" for serial column "hosts.id" NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "hosts_pkey" for table "hosts" NOTICE: CREATE TABLE / UNIQUE will create implicit index "hosts_address_key" for table "hosts" ERROR: table "services" does not exist NOTICE: CREATE TABLE will create implicit sequence "services_id_seq" for serial column "services.id" NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "services_pkey" for table "services" ERROR: table "vulns" does not exist NOTICE: CREATE TABLE will create implicit sequence "vulns_id_seq" for serial column "vulns.id" NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "vulns_pkey" for table "vulns" ERROR: table "refs" does not exist NOTICE: CREATE TABLE will create implicit sequence "refs_id_seq" for serial column "refs.id" NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "refs_pkey" for table "refs" ERROR: table "vulns_refs" does not exist ERROR: table "notes" does not exist NOTICE: CREATE TABLE will create implicit sequence "notes_id_seq" for serial column "notes.id" NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "notes_pkey" for table "notes" [*] Database creation complete (check for errors) [-] Error while running command db_create: This plugin failed to load: Failed to connect to the database Call stack: /root/framework-3.2/plugins/db_postgres.rb:130:in `cmd_db_create' /root/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:234:in `send' /root/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:234:in `run_command' /root/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:196:in `run_single' /root/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:191:in `each' /root/framework-3.2/lib/rex/ui/text/dispatcher_shell.rb:191:in `run_single' /root/framework-3.2/lib/rex/ui/text/shell.rb:127:in `run' ./msfconsole:78 Can you tell me what I am doing wrong. Thanks for your help in advance Kind regards Eddie Akemu CISSP _________________________________________________________________ Share your photos with Windows Live Photos ? Free. http://clk.atdmt.com/UKM/go/134665338/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.metasploit.com/pipermail/framework/attachments/20090427/d688c130/attachment.htm>
Current thread:
- (no subject) Eddie Akemu (Apr 27)
- <Possible follow-ups>
- (no subject) Mr. Orion_else (Jun 05)