Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a4aEZ-0002wg-Tl for pgsql-sql@arkaria.postgresql.org; Thu, 03 Dec 2015 20:12:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a4aEZ-0004QA-B3 for pgsql-sql@arkaria.postgresql.org; Thu, 03 Dec 2015 20:12:07 +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 1a4aEX-0004OS-Eg for pgsql-sql@postgresql.org; Thu, 03 Dec 2015 20:12:05 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a4aET-0000vQ-KZ for pgsql-sql@postgresql.org; Thu, 03 Dec 2015 20:12:04 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 23EAA2086B for ; Thu, 3 Dec 2015 15:12:00 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Thu, 03 Dec 2015 15:12:00 -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=oO8+IyemwvJFq0Aa48nvTlDEuTM=; b=TtOftO CSytobU0d9cPK8NPkTkK5jYiIh7nvGLjHDUhnfdZ8Qc1PQtlzgA0sHDtzlh9cO0m AWn9+cOCf5q+iPjvg9Y8orrbGy1IFZuFZaRuZb8IQyq3TpR18oD9Q0lI2jiSifDk S5Vh+ps8XveP7LNoAwvFen9yIHgZmOA5zFaL0= 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=oO8+IyemwvJFq0A a48nvTlDEuTM=; b=W4ZYw6HSGBK6ETm/ozjfbDUdLyhdfDYno8LhOHRZvu1GkY/ Bj7HKFXYt3oxpstJoJiGfW8d/8klNXchMjGanYCgT3edfMdu1mrqrQtY6aoFi6RS 1qzQej0HN4cXRAmqObGN2J9cONKxe9qrXdvGGOwCcbG3BJrtqRT4dcFfoGJs= X-Sasl-enc: NF6mx7N1bOHSIN2xNGVIZ9EXJJ3+7Oth5bSgYH6rpaB4 1449173519 Received: from [192.168.1.2] (65-102-182-223.tukw.qwest.net [65.102.182.223]) by mail.messagingengine.com (Postfix) with ESMTPA id 7A120C016F5; Thu, 3 Dec 2015 15:11:59 -0500 (EST) Subject: Re: Re: ERROR while creating new user - could not open relation mapping file global/pg_filenode.map To: Sribeiro , pgsql-sql@postgresql.org References: <1449103913630-5876012.post@n5.nabble.com> <565F9916.8050800@aklaver.com> <1449107178100-5876028.post@n5.nabble.com> <565FCD37.3080804@aklaver.com> <1449147608774-5876118.post@n5.nabble.com> <566060E1.6070808@aklaver.com> <1449160418085-5876161.post@n5.nabble.com> <56607275.4060404@aklaver.com> <1449167361158-5876168.post@n5.nabble.com> <56609751.1000500@aklaver.com> <1449171498579-5876183.post@n5.nabble.com> From: Adrian Klaver Message-ID: <5660A1F3.1080408@aklaver.com> Date: Thu, 3 Dec 2015 12:11:31 -0800 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1449171498579-5876183.post@n5.nabble.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 12/03/2015 11:38 AM, Sribeiro wrote: > 1st command I get: > /[~ (master)]$ ls -al /Users/Serge/Desktop/ > total 77392 > drwx------+ 13 Serge staff 442 Dec 3 14:35 . > drwxr-xr-x+ 43 Serge staff 1462 Nov 1 00:04 .. > -rw-r--r--@ 1 Serge staff 10244 Dec 3 14:35 .DS_Store > drwxr-xr-x 8 Serge staff 272 Dec 3 11:35 Adobe CC > -rw-r--r--@ 1 Serge staff 275 Nov 23 21:00 Could not open relation > mapping file "global-pg_filenode.map" · .webloc > -rw-r--r--@ 1 Serge staff 1650428 Dec 3 01:46 IMG_0568.JPG > -rw-r--r--@ 1 Serge staff 2161564 Dec 3 01:51 IMG_0569.JPG > -rw-r--r--@ 1 Serge staff 280 Nov 23 21:00 PostgreSQL - PostgreSQL - > sql | Mailing List Archive.webloc > -rw-r--r--@ 1 Serge staff 277 Nov 23 21:00 PostgreSQL | dBforums – > Everything on Databases, Design, Develop.webloc > -rw-r--r--@ 1 Serge staff 483734 Dec 2 14:28 TST_HeadSection_2015.jpg > -rw-r--r--@ 1 Serge staff 6532736 Nov 29 12:24 emt_Home.psd > drwx------ 27 Serge staff 918 Dec 1 21:57 postgres > -rw-r--r--@ 1 Serge staff 28683898 Dec 3 11:20 x-mas_card.ai/ > > 2nd command i get: > /[~ (master)]$ ps ax| grep post > 303 ?? S 0:00.07 /usr/local/opt/postgresql/bin/postgres -D > /usr/local/var/postgres -r /usr/local/var/postgres/server.log > 387 ?? Ss 0:00.02 postgres: checkpointer process > 388 ?? Ss 0:00.44 postgres: writer process > 389 ?? Ss 0:00.44 postgres: wal writer process > 390 ?? Ss 0:00.22 postgres: autovacuum launcher process > 391 ?? Ss 0:00.39 postgres: stats collector process > 3922 s000 R+ 0:00.00 grep post/ > From a previous post: "After running your command i get: PATH=/Users/Serge/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" All I got left is that the postgres/ in /Users/Serge/Desktop/ is causing the problem. I would get rid of that directory, you said previously there was nothing important in it. Either just delete it or if move it off the machine onto a USB drive, etc. I would then restart the Postgres server and try connecting with psql. > > > -- > View this message in context: http://postgresql.nabble.com/ERROR-while-creating-new-user-could-not-open-relation-mapping-file-global-pg-filenode-map-tp5874842p5876183.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