ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: pvl <pvl@pskb.com>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Postgresql
Date: Mon Jun  4 02:49:01 2001
Message-ID: <01060409573200.24732@rescue.pskb.int> (raw)
In-Reply-To: <01060312071200.07663@pif.b5.mephi.ru>

 3 Июнь 2001 19:07, Вы написали:

> У меня работает сервер postgresql 7.1.1 из Сизифа. Почему-то он не хочет
> запускаться при запуске системы, хотя при этом есть сообщения "adjusting
> enviroment..." и "starting postgresql". Потом в командной строке по команде
> /etc/rc.d/init.d/postgresql start
> его можно запустить. В чем может быть проблема?

У меня была аналогичная ситуация. Проблема в том, что основная база инитилась 
в KOI8-R (или другой, отличной от EN). А на момент запуска системы такой 
локали ещё нету. 

Вылечилось путём простановки в /etc/init.d/postgresql двух строк:
    LANG=ru_RU.KOI8-R
    export LANG
перед запуском демона:
    daemon /usr/bin/postmaster -D $PGDATA -S -i -r $PG_CHROOT_DIR

Хоть и криво, но зато дешево и сердито! :)))

С наилучшими пожеланиями,
Аркадий Павлик



  parent reply	other threads:[~2001-06-04  2:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-03 11:51 Sergei
2001-06-03 11:57 ` Sergey Krivulja
2001-06-04  3:12   ` Sergei
2001-06-04  7:31     ` Re[2]: " Sergey Krivulja
2001-06-04  2:49 ` pvl [this message]
2001-06-04  7:37   ` Sergey Krivulja
2001-06-04  7:52     ` Аркадий Павлик
2001-06-04  8:30       ` Re[4]: " Sergey Krivulja
2001-06-04  8:43         ` Аркадий Павлик
2001-06-04  8:52           ` Re[6]: " Sergey Krivulja
2001-06-04  8:57             ` Аркадий Павлик

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=01060409573200.24732@rescue.pskb.int \
    --to=pvl@pskb.com \
    --cc=mandrake-russian@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 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