Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a0xrO-0006Bn-Ji for pgsql-sql@arkaria.postgresql.org; Mon, 23 Nov 2015 20:37:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a0xrO-0005Re-6G for pgsql-sql@arkaria.postgresql.org; Mon, 23 Nov 2015 20:37:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a0xqP-0004LN-7n for pgsql-sql@postgresql.org; Mon, 23 Nov 2015 20:36:13 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a0xqL-0002Gp-Hb for pgsql-sql@postgresql.org; Mon, 23 Nov 2015 20:36:12 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id EA046203FC for ; Mon, 23 Nov 2015 15:36:07 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Mon, 23 Nov 2015 15:36:07 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=tPaBoEzGCWiSXg53G/1wTus0V5g=; b=fRNWdC jEAAJ/xXNznFOXH2KDmp/DngB4IgGLwN1Vt1/LLIxoCvFN0m9CpdZpRZ1+g0LRCp CtR1eT5RtvA0R77FfICTMkJioawHSAvzXXbmtBblCF508I60IXpHuL+5AJbVUtci JYbtZ5SIiCWc6B8aZWW3OIGkgrSJLpdCLmgFQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=tPaBoEzGCWiSXg5 3G/1wTus0V5g=; b=VggT/KLExfIcjRFJMOkKsQoVjB9r6TVTQt9rRdOqRonnxMe Y6PrCnQTYRyy+SOJeaTCzgASrVIRBIsNuJobkacCtGyf1XL/CfpshCWiu2Fj707T fDdHRMqV4XS31/wGZSFpv+WL+grYCGRpQxllM7hSADqymVjebL3yhjsO3J/U= X-Sasl-enc: iZZ/FT6apk33C9sSBoeLZ8e6lxaBnohT2K7tm14nlC0y 1448310967 Received: from killi.site (unknown [74.94.73.222]) by mail.messagingengine.com (Postfix) with ESMTPA id 2E3946800CE; Mon, 23 Nov 2015 15:36:07 -0500 (EST) Subject: Re: ERROR while creating new user - could not open relation mapping file global/pg_filenode.map To: Sribeiro , pgsql-sql@postgresql.org References: <1448307482990-5874842.post@n5.nabble.com> From: Adrian Klaver Message-ID: <565378B4.5080801@aklaver.com> Date: Mon, 23 Nov 2015 12:36:04 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1448307482990-5874842.post@n5.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org On 11/23/2015 11:38 AM, Sribeiro wrote: > Hi All, > > I am trying to use postgresql with a Rails app, and I am having an issue > creating a new user/password. > I get the following message: > createuser: could not connect to database postgres: FATAL: could not open > relation mapping file "global/pg_filenode.map": No such file or directory > > I believe I might of accidentally deleted this file and after sudo > uninstalling Postgres with Brew and re-installing I still cannot get it back > or to work. > > I am using the latest version of Postgres and I'm on Mac OS X 10.10.4 > > Any idea on how I can fix this issue? Thanks so much in advance. Hmm, this does not look promising: http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/backend/utils/cache/relmapper.c;h=c151b92dfc3d795aaa9455022512a2ba3479d7eb;hb=HEAD "/* * The map file is critical data: we have no automatic method for recovering * from loss or corruption of it. ..." > > Sergio > > > > -- > View this message in context: http://postgresql.nabble.com/ERROR-while-creating-new-user-could-not-open-relation-mapping-file-global-pg-filenode-map-tp5874842.html > Sent from the PostgreSQL - sql mailing list archive at Nabble.com. > > -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql