Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 227C2632FDD for ; Wed, 3 Mar 2010 13:12:01 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 45734-06 for ; Wed, 3 Mar 2010 17:11:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mail.postgresql.org (Postfix) with ESMTP id CB8CF632B8A for ; Wed, 3 Mar 2010 13:11:49 -0400 (AST) Received: by ey-out-2122.google.com with SMTP id 9so228546eyd.33 for ; Wed, 03 Mar 2010 09:11:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xqBQo7JuqAYjHwDZ18a5xRzZKfbTiIkURGGT7NMGAI0=; b=pU2dAMxfcmlZYUQrJQHPCRgEz55P1domwKZGoBE9A+nkK2ggX0F4gM6935yG/DR5wb d0VhiTz9We8+3Xv4LO0LnaoFF9Rp4cJz9C2sp1Jl/CPM12zFkbdeFKfaVgDpd2Gkc2eX czcR/Zn3W2L8P8TyU39o1+1onSrKqrxCu0iUc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=o7kZuyeovBS0kPIQRGZuhnNZ78Tx0m2FdnA53GIo4A/t49s8iSvQz+6B5dLYBn8jLY AF+KtXU9i307QTH2N1xxQBh5lwBFUA0Opbz4hU6FMVaVxoDoTpLgUrOFH0GKtOkMs1T3 7D6e9hlePj6DSVjliO+n4WMORX0u6+H2rJYEo= MIME-Version: 1.0 Received: by 10.216.88.65 with SMTP id z43mr102951wee.5.1267636308498; Wed, 03 Mar 2010 09:11:48 -0800 (PST) In-Reply-To: <1267629985.17535.175.camel@deimos> References: <375c2da1003020043v4c32fa69ga9ce937cf2c47f51@mail.gmail.com> <1267521253.2942.55.camel@deimos> <375c2da1003030637k6c3ffca6ma65651f1927c02eb@mail.gmail.com> <1267629985.17535.175.camel@deimos> Date: Wed, 3 Mar 2010 22:41:47 +0530 Message-ID: <375c2da1003030911o526a14f0hb9ee1cfcf99db6fa@mail.gmail.com> Subject: Re: password authentication failed for user postgres From: Major Services To: =?ISO-8859-1?Q?I=F1igo_Martinez_Lasala?= Cc: pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.705 tagged_above=-10 required=5 tests=AWL=-0.595, BAYES_05=-1.11 X-Spam-Level: X-Archive-Number: 201003/30 X-Sequence-Number: 33829 Thanks. I already have created a user. And can connect to the server through the PgAdmin on my local system. My query now is : Now when I try to connect to the server through DBWebAdmin (in Parallels Plesk Panel); I get the following : Error: FATAL: Ident authentication failed for user "postgres" (earlier, with this link I could reach the login screen for PgAdmin ) Do I need to remove the following from pg_hba.conf now? local all postgres ident sameuser Thanks for all your help & support. On Wed, Mar 3, 2010 at 8:56 PM, I=F1igo Martinez Lasala wrote: > Great. You managed to start server. :-) > > You are using user postgres and you shoudn't use it.I suggest you to crea= te > your own dbadmin... > > In your linux box, as root user: > > su - postgres > createuser -s dbadmin -P > > You will create a new user called dbadmin. It will ask you for a password > for this user and some extra options. Response YES to all. > > Now you can connect remotely with this dbadmin user. > > > > -----Original Message----- > From: Major Services > To: I=F1igo Martinez Lasala > Cc: pgsql-admin@postgresql.org > Subject: Re: [ADMIN] password authentication failed for user postgres > Date: Wed, 3 Mar 2010 20:07:23 +0530 > > > Finally, I am able to create a user. > > Now when I try to connect to the server through DBWebAdmin (in > Parallels Plesk Panel); I get the following : > Error: FATAL: Ident authentication failed for user "postgres" > > (earlier, with this link I could reach the login screen for PgAdmin ) > > Do I need to remove the following from pg_hba.conf now? > local all postgres ident sameuser > > > > > > On Tue, Mar 2, 2010 at 2:44 PM, I=F1igo Martinez Lasala > wrote: >> In order to lauch createuser you don't need to modify listen_address sin= ce >> you can use unix sockets. But anyway it's a requirement if you are goint >> to >> access remotely. >> >> Add this line in first place to your pg_hba.conf >> local=A0=A0 all=A0=A0=A0=A0=A0=A0=A0=A0 postgres=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ident sameuser >> >> >> Reload postgresql and launch createuser as postgres user. >> >> >> -----Original Message----- >> From: Major Services >> To: pgsql-admin@postgresql.org >> Subject: [ADMIN] password authentication failed for user postgres >> Date: Tue, 2 Mar 2010 14:13:10 +0530 >> >> Hi, >> >> 1. I have added listen_addresses =3D '*' ; in postgresql.conf >> >> 2. And have made the following changes to pg_hba.conf >> >> local DATABASE USER METHOD >> local samegroup all password >> host DATABASE USER CIDR-ADDRESS METHOD [OPTION] >> > >> hostssl all all 0.0.0.0/0 md5 >> >> 3. Have restarted the server >> >> 4. I can login to the server as user postgres. >> >> But while trying to createuser I get the following message : >> 'createuser: could not connect to database postgres: FATAL : >> password authentication failed for user "postgres" >> >> This is on Redhat running Plesk also. >> >> I am new to Linux as well as PostgreSQL. Help would be much appreciated. >> >> Thanks >> Viv >> >> >> > >