From: "Artem K. Jouravsky" <ujo@ifirst.ru> To: ALT sisyphus <sisyphus@altlinux.ru> Cc: Konstantin Timoshenko <kt@altlinux.ru> Subject: [sisyphus] postgresql Date: Thu, 14 Nov 2002 14:50:39 +0300 Message-ID: <20021114115039.GA9413@ifirst.ru> (raw) [-- 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 --]
reply other threads:[~2002-11-14 11:50 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20021114115039.GA9413@ifirst.ru \ --to=ujo@ifirst.ru \ --cc=kt@altlinux.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