ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Andrew Nazarkin <gnomik@mtv.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Postgresql не стартует
Date: Wed, 21 May 2003 17:46:02 +0400
Message-ID: <200305211746.02402.gnomik@mtv.ru> (raw)
In-Reply-To: <200305211730.05246.serpiph@entek.ru>

В сообщении от 21 Май 2003 17:29 Епифанов Сергей написал:
> В сообщении от 21 Май 2003 17:02 Andrew Nazarkin написал:
> > > touch /etc/localtime
> >
> > Нифига ((
>
> Давайте смотреть в файл /etc/chroot.d/postgresql.*
>
> Есть ли у вас такие файлы:
..skip..

Да, дело, похоже в локали. 
initdb от юзера постгрес выдает вот такие ошибки:

initdb --locale=C
The files belonging to this database system will be owned by user 
"postgres".
This user must also own the server process.

The database cluster will be initialized with locale C.

Fixing permissions on existing directory /var/lib/pgsql/data... ok
creating directory /var/lib/pgsql/data/base... ok
creating directory /var/lib/pgsql/data/global... ok
creating directory /var/lib/pgsql/data/pg_xlog... ok
creating directory /var/lib/pgsql/data/pg_clog... ok
creating template1 database in /var/lib/pgsql/data/base/1... Failed to 
initialize lc_messages to ''
ok
creating configuration files... ok
initializing pg_shadow... Failed to initialize lc_messages to ''
ok
enabling unlimited row size for system tables... Failed to initialize 
lc_messages to ''
ok
initializing pg_depend... Failed to initialize lc_messages to ''
ok
creating system views... Failed to initialize lc_messages to ''
ok
loading pg_description... Failed to initialize lc_messages to ''
ok
creating conversions... Failed to initialize lc_messages to ''
ok
setting privileges on built-in objects... Failed to initialize 
lc_messages to ''
ok
vacuuming database template1... Failed to initialize lc_messages to ''
ok
copying template1 to template0... Failed to initialize lc_messages to ''

Под тем же юзеом postgres:

-bash-2.05b$ locale
LANG=ru_RU.KOI8-R
LC_CTYPE=ru_RU.KOI8-R
LC_NUMERIC=ru_RU.KOI8-R
LC_TIME=ru_RU.KOI8-R
LC_COLLATE=ru_RU.KOI8-R
LC_MONETARY=ru_RU.KOI8-R
LC_MESSAGES=ru_RU.KOI8-R
LC_PAPER="ru_RU.KOI8-R"
LC_NAME="ru_RU.KOI8-R"
LC_ADDRESS="ru_RU.KOI8-R"
LC_TELEPHONE="ru_RU.KOI8-R"
LC_MEASUREMENT="ru_RU.KOI8-R"
LC_IDENTIFICATION="ru_RU.KOI8-R"
LC_ALL=

Буду разбираться с локалью...

-- 
With Best Regards
Andrew N. Nazarkin





  reply	other threads:[~2003-05-21 13:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-21 12:24 Andrew Nazarkin
2003-05-21 12:51 ` Епифанов Сергей
2003-05-21 12:51 ` Епифанов Сергей
2003-05-21 13:02   ` Andrew Nazarkin
2003-05-21 13:29     ` Епифанов Сергей
2003-05-21 13:46       ` Andrew Nazarkin [this message]
2003-05-21 13:58       ` Andrew Nazarkin
2003-05-21 14:08         ` Епифанов Сергей
2003-05-21 14:54           ` Andrew Nazarkin
2003-05-21 14:10         ` Епифанов Сергей
2003-05-21 14:17         ` Sergey Vlasov
2003-05-21 14:54           ` Andrew Nazarkin
2003-05-21 15:19             ` Alexander Bokovoy
2003-05-21 15:28               ` Andrew Nazarkin

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=200305211746.02402.gnomik@mtv.ru \
    --to=gnomik@mtv.ru \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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