ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Konstantin Timoshenko <kt@tura.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Re: [sisyphus] postgresql из sisyphus, установка?
Date: Mon, 15 Apr 2002 18:02:58 +0600
Message-ID: <20020415180258.7e0f9107.kt@tura.ru> (raw)
In-Reply-To: <m34rihclsw.fsf@pc313.belcaf.minsk.by>

On 12 Apr 2002 12:23:43 +0300
Sergey Bolshakov <s.bolshakov@belcaf.com> wrote:

> 
> ## On Fri, 12 Apr 2002 15:13:54 +0600
> ## you wrote:
> 
>  >>> > [FAILED]
>  >>> > ls: /var/lib/pgsql-root/tmp/.s.PGSQL.*: No such file or directory
>  >>> > 
>  >>> > Это что?
>  >>> какая версия стояла и на какую менял можно узнать?
> 
>  MD>> Кстати, у меня postgresql так и не старует при запуске системы -
>  MD>> выводит вышеуказанное сообюшение,
>  MD>> а вот при /etc/rc.d/init.d/postrgesql  start/stop/restart все
>  нормально MD>> Это я один такой несчастливый? 
>  MD>> Может ему чего-то не хватает, что запускается позже?
> 
>  MD>> Для справки обновлял 7.2 - 7.2.1 init.d/postgresql.rpmnew менял на
>  posgtresql AV>     У меня было то же самое. Версия 7.2-alt5. IMHO это
>  из-за того, что AV> скрипт пытается создать симлинк для сокета из
>  chroot tmp в /tmp, а AV> сервер еще не поднялся и сокета в chroot'е нет
>  :) Свой я вылечил так:
> 
>  AV> --- postgresql  Thu Mar  7 14:38:17 2002
>  AV> +++ postgresql-new      Thu Mar 28 09:10:22 2002
>  AV> @@ -108,7 +108,7 @@
>  AV>                     echo `pidofproc postmaster` >
>  /var/run/postmaster.pid AV>                     if [ $PG_CHROOT_DIR ];
>  AV>                      then
>  AV> -                     filelist=`ls $PG_CHROOT_DIR/tmp/.s.PGSQL.*`
>  AV> +                     until filelist=`ls
>  $PG_CHROOT_DIR/tmp/.s.PGSQL.*`; do sleep 1s; done AV>                  
>      for f in $filelist; do AV>                         if [ -S "$f" ];
>      then AV>                         ln -s $f /tmp/${f##*/} >/dev/null
>      2>&1
> 
>  AV> Потестите на своих системах, авось поможет :-)
> Было замечено также следующее: после издыхания постгреса (причины не
> рассматриваем :) перезапустить его возможно только после прибития
> ручками файлика /var/lib/pgsql/data/postmaster.pid.
исправленно в 7.2.1-alt2, также исправленно ошибка при запуске из под service.
-- 
Kostya.
mailto:kt@tura.ru



  reply	other threads:[~2002-04-15 12:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-11 21:53 Anton Farygin
2002-04-12  3:38 ` Konstantin Timoshenko
2002-04-12  5:22   ` Anton Farygin
2002-04-12  5:29   ` Anton Farygin
2002-04-12  5:59   ` Anton Farygin
2002-04-12  8:29   ` Maxim Dzumanenko
2002-04-12  9:13     ` [sisyphus] " Alex Volkov
2002-04-12  9:23       ` Sergey Bolshakov
2002-04-15 12:02         ` Konstantin Timoshenko [this message]
2002-04-13  8:30       ` Maxim Dzumanenko

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=20020415180258.7e0f9107.kt@tura.ru \
    --to=kt@tura.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