X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 6CBFDD1B550 for ; Tue, 2 Sep 2003 20:21:30 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 99756-03 for ; Tue, 2 Sep 2003 17:21:21 -0300 (ADT) Received: from ganymede.hub.org (u173n10.eastlink.ca [24.224.173.10]) by svr1.postgresql.org (Postfix) with ESMTP id BE75DD1B8B1 for ; Tue, 2 Sep 2003 17:21:19 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id EBF9534204; Tue, 2 Sep 2003 17:21:05 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id EA79333CA1; Tue, 2 Sep 2003 17:21:05 -0300 (ADT) Date: Tue, 2 Sep 2003 17:21:05 -0300 (ADT) From: "Marc G. Fournier" To: Somasekhar Bangalore Cc: Andrew Sullivan , pgsql-admin@postgresql.org Subject: Re: postgresql and replication In-Reply-To: Message-ID: <20030902171917.Q803@ganymede.hub.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/27 X-Sequence-Number: 10115 On Tue, 2 Sep 2003, Somasekhar Bangalore wrote: > Hi, > > My installation went through fine but while setting up the ers_setup > > ers_setup --masterserver=servername --masterdb=accounts \ > --masteruser=someuser --masterpass=apasswd \ > --slaveserver=otherserver --slavedb=erp \ > --slaveuser=anotheruser --slavepass=foo > > I am getting below error > > Can't locate object method "connect" via package "DBI" (perhaps you > forgot to load "DBI"?) at ./ers_setup line 73. > > I would be very thankful if any one can give the solution. do you have DBI installed? and DBD::Pg? Taking a look at the code, 'use DBI' is right at the top, so there should be no reason to get that error ...