From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 4 Oct 2007 22:56:26 +0300 From: Michael Shigorin To: ALT Linux Community general discussions Message-ID: <20071004195626.GD26105@osdn.org.ua> Mail-Followup-To: ALT Linux Community general discussions , Denis Smirnov , Ivan Fedorov References: <4704EB67.70508@aaanet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4704EB67.70508@aaanet.ru> User-Agent: Mutt/1.4.2.1i Cc: Ivan Fedorov Subject: Re: [Comm] =?koi8-r?b?cGdzcWwg0MXS19nKINrB0NXTyw==?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: shigorin@gmail.com, ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2007 19:56:27 -0000 Archived-At: List-Archive: List-Post: On Thu, Oct 04, 2007 at 05:32:23PM +0400, altlinux@aaanet.ru wrote: > всем привет > [root@gate locale]# uname -a > Linux хххх.ru 2.6.18-ovz-smp-alt14 #1 SMP Wed May 2 15:41:34 MSD 2007 > x86_64 GNU/Linux На i586 -- то же. > установил и пытаюсь запустить > [root@gate pgsql]# service postgresql restart pan --inet|grep 54 > Service postgresql is not > running. > [PASSED] > Adjusting environment for > postgresql: > [ DONE ] > Creating default database: /bin/su: unrecognized option > `--pgdata=/var/lib/pgsql-root/var/lib/pgsql/data' > usage: su [-|-l] [-c "command"] [-s "shell"] [username] > > [FAILED > > если делаю руками то всё нормально > /bin/su -s /bin/sh -l postgres -c "/usr/bin/initdb > --pgdata=/var/lib/pgsql-root/var/lib/pgsql/data" > после создания БД сервис грузится нормально. > В чем может быть проблема? Похоже, кривой инитскрипт... а я наступил и думал -- в чём же бага, этой жалобы не видел. > И еще один вопрос если я в стартовом скрипте правлю > PG_CHROOT_DIR='мой путь' > то лезит ошибка > [root@gate init.d]# service postgresql restart > Service postgresql is not > running. > [PASSED] > Adjusting environment for > postgresql: > [ DONE ] > Starting postmaster service: FATAL: invalid value for parameter > "lc_monetary": "ru_RU.KOI8-R" > > [FAILED] > Пробывал сделать link непомогло > [root@gate locale]# ls -l|grep KOI8-R > lrwxrwxrwx 1 root root 29 Oct 4 16:31 ru_RU.KOI8-R -> > /usr/lib64/locale/ru_RU.koi8r > > Что можно подкрутить или как правильнее указать где лежать базе Сможете повесить багу на postgresql? http://www.freesource.info/wiki/BugzillaMiniHowto -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/ ---- Oct 26--27, Kiev, Ukraine: -- http://conference.osdn.org.ua