* [sisyphus] postgresql
@ 2002-11-14 11:50 Artem K. Jouravsky
0 siblings, 0 replies; only message in thread
From: Artem K. Jouravsky @ 2002-11-14 11:50 UTC (permalink / raw)
To: ALT sisyphus; +Cc: Konstantin Timoshenko
[-- Attachment #1: Type: text/plain, Size: 1498 bytes --]
Доброго времени суток!
Понадобилось вот запустить PostgreSQL в локали CP1251. Скопировал
/etc/skel.ru_RU.CP1251/.i18n в ~postgres
не запускается. Препарирование с помощью strace показало, что postgres не
может найти папки
4819 close(5) = 0
4819 open("/usr/lib/locale/ru_RU.KOI8-R/LC_COLLATE", O_RDONLY) = -1
ENOENT (No
such file or directory)
4819 open("/usr/lib/locale/ru_RU.koi8r/LC_COLLATE", O_RDONLY) = -1 ENOENT
(No s
uch file or directory)
4819 open("/usr/lib/locale/ru_RU/LC_COLLATE", O_RDONLY) = -1 ENOENT (No such fi
le or directory)
4819 open("/usr/lib/locale/ru.KOI8-R/LC_COLLATE", O_RDONLY) = -1 ENOENT
(No suc
h file or directory)
4819 open("/usr/lib/locale/ru.koi8r/LC_COLLATE", O_RDONLY) = -1 ENOENT (No such
file or directory)
4819 open("/usr/lib/locale/ru/LC_COLLATE", O_RDONLY) = -1 ENOENT (No such file
or directory)
4819 write(2, "FATAL 2: The database cluster w"..., 155) = 155
4819 shmdt(0x2ae93000) = 0
4819 shmctl(10420226, IPC_RMID, 0) = 0
4819 unlink("/tmp/.s.PGSQL.5432") = 0
4819 unlink("/tmp/.s.PGSQL.5432.lock") = 0
4819 unlink("/var/lib/pgsql/data//postmaster.pid") = 0
4819 _exit(2) = ?
Если упразднить переменную PG_CHROOT_DIR, то всё запускается, как и
ожидалось.
BTS?
--
Best wishes, | ICQ 103399444
Artem K. Jouravsky, | JID ujo@jabber.ru
iFirst Ltd, System Administrator.
-----------------------
Noone ever built a statue to a critic.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-14 11:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-14 11:50 [sisyphus] postgresql Artem K. Jouravsky
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