From owner-freebsd-questions@FreeBSD.ORG Mon May 22 21:52:59 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91E0016A4DE for ; Mon, 22 May 2006 21:52:59 +0000 (UTC) (envelope-from freebsd@bsdserver.com.br) Received: from nitrobsd.bsdserver.com.br (dns.bsdserver.com.br [200.215.210.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id E958143D45 for ; Mon, 22 May 2006 21:52:58 +0000 (GMT) (envelope-from freebsd@bsdserver.com.br) Received: from webmail.bsdserver.com.br (localhost [127.0.0.1]) by nitrobsd.bsdserver.com.br (8.13.6/8.13.6) with ESMTP id k4MLqumT043633 for ; Mon, 22 May 2006 18:52:56 -0300 (BRT) (envelope-from freebsd@bsdserver.com.br) From: "Rafael Aquino" To: freebsd-questions@freebsd.org Date: Mon, 22 May 2006 19:52:56 -0200 Message-Id: <20060522214334.M4244@bsdserver.com.br> X-Mailer: Open WebMail 2.51 20050228 X-OriginatingIP: 200.96.72.178 (bsdserver) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: Locale problem after upgrade 5.4 to 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 21:53:00 -0000 Hello ALL, I use to set all my systems to pt_BR.ISO8859-1, and everytime works perfect. The ports that are sensible for locale always uses the correct language (Apache, Postgresql, etc). After upgrate from 5.4 to 6.1, I realize that postgresql wasnīt starting up with rc.d script. Trying to mannualy start it, the message was that my database couldnīt support LATIN-1 (witch was, before upgrade). Also the characters that used to work in console (į, ã, ...) donīt work anymore. Below is my profile, rc.conf, login.conf and master.passwd: #rc.conf ... keymap="br275.iso.acc" font8x8="cp437-8x8" font8x14="cp437-8x14" font8x16="cp437-8x16" scrnmap="iso-8859-1_to_cp437" ... #Profile ... export LC_ALL=pt_BR.ISO8859-1 export LC_TYPE=pt_BR.ISO8859-1 export LC_CTYPE=pt_BR.ISO8859-1 export MM_CHARSET=ISO-8859-1 export USE_LANG=pt_BR.ISO8859-1 export LANG=pt_BR.ISO8859-1 ... #login.conf ... portuguese|Portuguese:\ :charset=ISO-8859-1:\ :lang=pt_BR.ISO_8859-1:= :tc=default: ... #pw usershow root: root:*:0:0:portuguese:0:0:Charlie &:/root:/usr/local/bin/bash Before upgrade everything was fine. If I install it using 6.x CD sets also works fine with these parameters. Thanks a lot! -- Rafael Mentz Aquino BSDServer Ltda. 51 - 9847 8825