Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 2D13C133798E for ; Tue, 11 Jan 2011 13:42:48 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 27080-02 for ; Tue, 11 Jan 2011 17:42:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 059FB1337B93 for ; Tue, 11 Jan 2011 13:42:39 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p0BHgc6J000703; Tue, 11 Jan 2011 12:42:38 -0500 (EST) To: "Daniel J. Summers" cc: somnathzankar , pgsql-admin@postgresql.org Subject: Re: problem about postgresql installation and user login In-reply-to: References: <1294725351273-3335952.post@n5.nabble.com> Comments: In-reply-to "Daniel J. Summers" message dated "Tue, 11 Jan 2011 10:07:16 -0700" Date: Tue, 11 Jan 2011 12:42:38 -0500 Message-ID: <702.1294767758@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/54 X-Sequence-Number: 36494 "Daniel J. Summers" writes: > On Mon, Jan 10, 2011 at 10:55 PM, somnathzankar wrote: >> >> $ sudo su - postgres >> No directory, logging in with HOME=/ >> >> so when I'm trying to install postgresql then above warning got to me and it >> install. >> but when I'm trying to login by postgres user then above error it shows. > This just means that the directory /home/postgres wasn't created > during installation. I wonder whether Ubuntu uses a separate postgresql-server subpackage for the server-side stuff. If so, that directory would likely belong to the server package not the core (client-side) package. regards, tom lane