X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 479798B9B4D for ; Mon, 21 Feb 2005 21:16:28 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 01261-06 for ; Mon, 21 Feb 2005 21:16:15 +0000 (GMT) Received: from mail.coretech.co.nz (coretech.co.nz [202.36.204.41]) by svr1.postgresql.org (Postfix) with ESMTP id CE34A8B9B2A for ; Mon, 21 Feb 2005 21:16:16 +0000 (GMT) Received: (qmail 3764 invoked from network); 21 Feb 2005 21:16:07 -0000 Received: from 218-101-14-65.paradise.net.nz (HELO ?192.168.1.11?) (218.101.14.65) by 0 with SMTP; 21 Feb 2005 21:16:07 -0000 Message-ID: <421A4F96.60803@coretech.co.nz> Date: Tue, 22 Feb 2005 10:16:06 +1300 From: Mark Kirkwood User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: amrit@health2.moph.go.th Cc: PGsql-performance Subject: Re: Problem with 7.4.5 and webmin 1.8 in grant function References: <1108914570.4218b18a2cf0d@webmail.moph.go.th> <42191623.7060401@coretech.co.nz> <1108949685.42193ab53e07c@webmail.moph.go.th> In-Reply-To: <1108949685.42193ab53e07c@webmail.moph.go.th> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.01 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/289 X-Sequence-Number: 10618 amrit@health2.moph.go.th wrote: >>I would suspect a DBI/DBD installation issue, either perl DBI cannot >>find DBD-Pg (not installed ?) or DBD-Pg cannot find your Pg 7.4.5. >> >>I note that FC3 comes with Pg 7.4.6 - did you installed 7.4.5 from >>source? If so this could be why the perl database modules cannot find it >>(you may need to rebuild DBD-Pg, telling it where your Pg install is). > > I installed FC3 from rpm kernel 2.6.9 which already included postgresql 7.4.5 . > Suppose that there were some missing component , what should be the missing rpm > component which I forgot to install ? > Ok - I must be looking at the *updated* FC3 distribution... I may have 'jumped the gun' a little - the situation I describe above will prevent *any* access at all to Pg from webmin. If this is the case then check you have (perl) DBI and (perl) DBD-Pg components installed. If on the other hand you can do *some* Pg admin from webmin, and you are only having problems with the grants then there is something it does not like about the *particular* statement. The way to debug this is to do a tiny perl DBI program that tries to execute the statement : select relname, relacl from pg_class where (relkind = 'r' OR relkind = 'S') and relname !~ '^pg_' order by relname So - sorry to confuse, but let us know which situation you have there :-) best wishes Mark