Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XV3Oj-0001Ay-SO for pgsql-admin@arkaria.postgresql.org; Fri, 19 Sep 2014 18:59:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XV3Oj-0004NO-4e for pgsql-admin@arkaria.postgresql.org; Fri, 19 Sep 2014 18:59:13 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XV3Oi-0004NH-A2 for pgsql-admin@postgresql.org; Fri, 19 Sep 2014 18:59:12 +0000 Received: from mail-yk0-x22d.google.com ([2607:f8b0:4002:c07::22d]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XV3Of-0004ao-4F for pgsql-admin@postgresql.org; Fri, 19 Sep 2014 18:59:10 +0000 Received: by mail-yk0-f173.google.com with SMTP id 131so168883ykp.32 for ; Fri, 19 Sep 2014 11:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=/WJbG7k6SkguRfP+rUdH3JKfSOdH7JFuz723mKdaywo=; b=CtbFBFq+rLsUHH3GaaZCtMFFceP4E0VxPtxtfuThRvE6RleFgUBMnCS4V8Qwo23t1t pEv884uniuFGVR46TiMArByuQ+W1ALupWF6+3vlmbrdGMpcm0qRBCbl4M3E4Qu+f5NPx eBiBYlv0xyX53iuI9Wa1CaqBw5sGPlJqmyRvXkbAaWLr243Y+eXUFttjAOoa1O2oD9Ny JrIq6cb2bKpKVh1Vr8UbLPSQPoYvxSl45RJX/XHdzpr2Kw1TU99EsEH27ZPvtPd80LSD LSqqOYm3gZ5EIMAYaMqcGW0OegZ6/2Y3z1Vcu5FDDu8ijKPidybeT2pLxFNvHL+xYZem XCIA== X-Received: by 10.236.80.8 with SMTP id j8mr2724550yhe.130.1411153147888; Fri, 19 Sep 2014 11:59:07 -0700 (PDT) Received: from [192.168.254.1] (h77.89.102.166.static.ip.windstream.net. [166.102.89.77]) by mx.google.com with ESMTPSA id o40sm1132710yha.37.2014.09.19.11.59.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 19 Sep 2014 11:59:07 -0700 (PDT) Message-ID: <541C7CF3.2070204@gmail.com> Date: Fri, 19 Sep 2014 14:58:59 -0400 From: John Scalia User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: "pgsql-admin@postgresql.org" Subject: Missing locale files according to psql Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org I've been troubleshooting some connection problems with one of our servers recently, and as part of the effort, I ran psql through strace in order to see what was going on. Oddly enough, I saw a bunch of "problems". The output contained: open("/usr/pgsql-9.3/share/locale/en_US.UTF-8/LC_MESSAGES/pgsql-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/pgsql-9.3/share/locale/en_US.utf8/LC_MESSAGES/pgsql-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/pgsql-9.3/share/locale/en_US/LC_MESSAGES/pgsql-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/pgsql-9.3/share/locale/en.UTF-8/LC_MESSAGES/pgsql-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/pgsql-9.3/share/locale/en.utf8/LC_MESSAGES/pgsql-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/pgsql-9.3/share/locale/en/LC_MESSAGES/pgsql-9.3.mo", O_RDONLY) = -1 ENOENT (No such file or directory) I looked in /usr/pgsql-9.3/share/locale and only saw "cs de es fr it ja pl pt_BR ro ru sv tr zh_CN zh_TW" but nothing looking like en* anything. Now, my connection problem is only with one server, and psql works to other 2 servers, but what should I have in the locale directory? After the above error block, it appears that psql gives up and just continues initializing. I don't see any more attempts to load an locale files. If it makes a difference, this is postgreSQL 9.3.3 on CentOS 6.5 loaded via yum installs. -- Jay -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin