ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Алексей Шенцев" <ashen@nsrz.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Сервер 1С версии 8.1  под AltLinux Server 4.0 ошибка ERROR: invalid value for parameter "lc_messages":        "en_US"
Date: Thu, 1 Nov 2007 12:33:23 +0300
Message-ID: <200711011233.23530.ashen@nsrz.ru> (raw)
In-Reply-To: <20071101091029.GA16682@localhost.localdomain>

В сообщении от Thursday 01 November 2007 12:10:29 Alexey Novikov написал(а):
> On Thu, Nov 01, 2007 at 11:34:43AM +0300, Алексей Шенцев wrote:
> > В сообщении от Thursday 01 November 2007 09:13:33 Alexey Novikov 
написал(а):
> > > On Wed, Oct 31, 2007 at 06:22:21PM +0300, Алексей Шенцев wrote:
> > > > В сообщении от Wednesday 31 October 2007 18:12:55 Алексей Шенцев
> >
> > написал(а):
> > > > > И ещё вот такое, от туда же:
> > > > >
> > > > > Используйте версии PostgreSQL 8.2.4-2.1C или 8.1.5-13.1C
> > > > >
> > > > > Может это связано с нашей сборкой PG-1C - postgresql8.2-8.2.5
> > > >
> > > > Вот решение для deebian:
> > > > http://itland.ru/forum/index.php?showtopic=19087
> > > > А как к нам это применить, что то не пойму.
> > >
> > > Если там рецепт правильный, то у нас это вроде так делается
> > >
> > > $ cat /etc/rpm/macros
> > > %_install_langs ru:en
> > >
> > > # apt-get install --reinstall glibc-locales
> >
> > Не помогло.
>
> А если в /etc/chroot.d/postgresql.conf
> строку
> locale_dir=`ls -d /usr/lib/locale/$locale* | /usr/bin/tr ' ' "\n" |
> /bin/awk -F '/' '{print $5}'` заменить на
> locale_dir=`ls -d /usr/lib/locale/{ru_RU,en_US}* | /usr/bin/tr ' ' "\n" |
> /bin/awk -F '/' '{print $5}'`

Такой строчки там нет, вот:
[root@oasu3 /]# cat /etc/init.d/postgresql | grep locale
                locale_list=`/bin/su -l 
postgres -s /bin/sh -c '/usr/bin/locale'`
                locale=`/bin/echo 
$locale_list | /usr/bin/tr ' ' "\n" | /bin/grep LANG | cut -f2 -d=`
                action "Creating default database:" /bin/su -s /bin/sh -l 
postgres -c "\"/usr/bin/initdb --pgdata=\"\"$PG_CHROOT_DIR$PGDATA\"\" --locale=\"\"$locale\"\" 
\""
            locale_list=`/bin/su -l postgres -s /bin/sh -c '/usr/bin/locale'`
            export `/bin/echo $locale_list | /usr/bin/tr ' ' "\n" | /bin/grep 
LANG`
[root@oasu3 /]#


-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845

  reply	other threads:[~2007-11-01  9:33 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-31  7:13 ` [Comm] Сервер 1С версии 8.1 под AltLinux Server 4.0 yandex
2007-10-31  8:29     ` Karavaev Pavel
2007-10-31  8:58         ` Karavaev Pavel
2007-10-31 10:23             ` Karavaev Pavel
2007-10-31 12:05                 ` Алексей Шенцев
2007-10-31 15:09                   ` [Comm] Сервер 1С версии 8.1 под AltLinux Server 4.0 ошибка ERROR: invalid value for parameter "lc_messages": "en_US" Алексей Шенцев
2007-10-31 15:12                     ` Алексей Шенцев
2007-10-31 15:22                       ` Алексей Шенцев
2007-11-01  6:13                         ` Alexey Novikov
2007-11-01  8:34                           ` Алексей Шенцев
2007-11-01  9:10                             ` Alexey Novikov
2007-11-01  9:33                               ` Алексей Шенцев [this message]
2007-11-01 10:15                                 ` Алексей Шенцев
2007-11-01 11:07                                   ` Dmitry Lebkov
2007-11-01 12:21                                     ` [Comm] Сервер 1С версии 8.1 под AltLinux Server 4.0 x86_64 Дмитрий
2007-11-01 12:35                                       ` Алексей Шенцев
2007-11-01 13:05                                           ` Алексей Шенцев
2007-11-02  5:50                                               ` Алексей Шенцев
2007-11-02  6:12                                                   ` Хихин Руслан
2007-11-02  6:29                                                   ` Алексей Шенцев
2007-11-08  7:58                                                   ` [Comm] Сервер 1С версии 8.1 в 64-х битном контейнере Дмитрий
2007-11-08  8:22                                                     ` Алексей Шенцев
2007-11-08  8:29                                                       ` Sergey Alembekov
2007-11-08  8:39                                                         ` Алексей Шенцев
2007-11-08 11:04                                                             ` Алексей Шенцев
2007-11-08 11:39                                                                 ` Алексей Шенцев
2007-11-09  7:09                                                                     ` [Comm] Сервер 1С версии 8.1 и Samba " Алексей Шенцев
2007-11-09 10:45                                                                       ` Kostarev Alexey
2007-11-09 10:57                                                                         ` Алексей Шенцев
2007-11-12  5:10                                                                         ` Дмитрий
2007-11-21  7:25                                                                         ` [Comm] Проблема широковещательного PING'а из контейнера Kostarev Alexey
2007-11-12  5:18                                                               ` [Comm] Samba в контейнере OpenVZ Дмитрий
2007-11-12  8:26                                                                 ` Slava Dubrovskiy
2007-11-12 19:51                                                                   ` Michael Shigorin
2007-11-01 10:17                                 ` [Comm] Сервер 1С версии 8.1 под AltLinux Server 4.0 ошибка ERROR: invalid value for parameter "lc_messages": "en_US" Alexey Novikov
2007-11-01 10:24                                   ` Алексей Шенцев
2007-11-01  8:42           ` [Comm] Сервер 1С версии 8.1 под AltLinux Server 4.0 Дмитрий
2007-11-01 16:30             ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200711011233.23530.ashen@nsrz.ru \
    --to=ashen@nsrz.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git