ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Aleksandr Blokhin <sass@uustoll.ee>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Zope 2.6.1. Ошибка в  /etc/init.d/zope
Date: Tue, 1 Jul 2003 12:52:15 +0300
Message-ID: <20030701125215.170ccede.sass@uustoll.ee> (raw)
In-Reply-To: <3F014EA8.3010105@l14.ru>

On Tue, 01 Jul 2003 13:04:40 +0400
"avl@l14.ru" <avl@l14.ru> wrote:

Это от какого Zope?
Если из Дедала, то я могу внести изменения.

A> В срипте zope допущено две ошибки из за которых сервис не гасится,
A> если 
A> сайт находится не в /var/lib/zope/instance

A> Майнтайнера сейчас нет, так что кидаю патч сюда. Неплохо бы его
A> приложить.

A> --- zope.orig   2003-07-01 11:59:38 +0400
A> +++ zope        2003-07-01 12:00:27 +0400
A> @@ -31,9 +31,9 @@
A> fi

A> if [ "$ZOPE_DEBUG" == 1 ] ; then
A> -                       start_daemon --no-announce --pidfile 
A> %{INSTANCE_HOME}/var/Z2.pid --name /usr/bin/python2.2 --
A> /usr/bin/python 
A> $Z2 $LC $trace $ZOPE_OPTIONS -u $user -P $port -t $threads -l 
A> /var/log/zope.$1.log  ">&" $ZOPE_STDOUT
A> +                       start_daemon --no-announce --pidfile 
A> ${INSTANCE_HOME}/var/Z2.pid --name /usr/bin/python2.2 --
A> /usr/bin/python 
A> $Z2 $LC $trace $ZOPE_OPTIONS -u $user -P $port -t $threads -l 
A> /var/log/zope.$1.log  ">&" $ZOPE_STDOUT
A> else :
A> -                       start_daemon --no-announce --pidfile 
A> %{INSTANCE_HOME}/var/Z2.pid --name /usr/bin/python2.2 --
A> /usr/bin/python 
A> $Z2 $LC $trace $ZOPE_OPTIONS -u $user -P $port -t $threads -l 
A> /var/log/zope.$1.log ">&" $ZOPE_STDOUT
A> +                       start_daemon --no-announce --pidfile 
A> ${INSTANCE_HOME}/var/Z2.pid --name /usr/bin/python2.2 --
A> /usr/bin/python 
A> $Z2 $LC $trace $ZOPE_OPTIONS -u $user -P $port -t $threads -l 
A> /var/log/zope.$1.log ">&" $ZOPE_STDOUT
A> fi

A> RETVAL=$?
A> @@ -126,7 +126,7 @@
A> . /etc/sysconfig/zope_default
A> . /etc/sysconfig/zope/$1

A> -       stop_daemon --no-announce --pidfile
A> /var/lib/zope/$1/var/Z2.pid 
A> -TERM /usr/bin/python2.2
A> +       stop_daemon --no-announce --pidfile
A> ${INSTANCE_HOME}/var/Z2.pid 
A> -TERM /usr/bin/python2.2
A> RETVAL=$?
A> echo
A> [ $RETVAL -eq 0 ] && rm -f "$LOCKFILE"



A> _______________________________________________
A> Devel mailing list
A> Devel@altlinux.ru
A> http://altlinux.ru/mailman/listinfo/devel

--
Best regards
AB
___________________________________________________________________

Свойство патчей "отваливаться в случае изменений" - это важное преимущество,
а вовсе не недостаток, как полагают многие.
		-- ldv in devel@
>From avl@l14.ru  Tue Jul  1 14:08:07 2003
Return-Path: <avl@l14.ru>
Delivered-To: devel@lrn.ru
Received: from master.altlinux.ru (master.altlinux.ru [62.118.250.235])
	by lrn.ru (Postfix) with ESMTP id 7097B48075
	for <devel@lrn.ru>; Tue,  1 Jul 2003 14:08:07 +0400 (MSD)
Received: from mail.ric.cad.ru (unknown [213.33.212.62])
	by master.altlinux.ru (Postfix) with ESMTP id EB81FE31CF
	for <devel@altlinux.ru>; Tue,  1 Jul 2003 14:08:06 +0400 (MSD)
Received: from l14.ru (avl.ric [192.168.1.5])
	by mail.ric.cad.ru (Postfix) with ESMTP id A1992419532
	for <devel@altlinux.ru>; Tue,  1 Jul 2003 14:08:03 +0400 (MSD)
Message-ID: <3F015D83.8020702@l14.ru>
Date: Tue, 01 Jul 2003 14:08:03 +0400
From: "avl@l14.ru" <avl@l14.ru>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2.1) Gecko/20030210
X-Accept-Language: ru-ru, en
MIME-Version: 1.0
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Zope 2.6.1. =?KOI8-R?Q?=EF=DB=C9=C2=CB=C1_=D7__?=
 =?KOI8-R?Q?/etc/init=2Ed/zope?=
References: <3F014EA8.3010105@l14.ru>
	<20030701125215.170ccede.sass@uustoll.ee>
In-Reply-To: <20030701125215.170ccede.sass@uustoll.ee>
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 8bit
X-BeenThere: devel@altlinux.ru
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: ALT Devel discussion list <devel@altlinux.ru>
List-Id: ALT Devel discussion list <devel.altlinux.ru>
List-Unsubscribe: <http://altlinux.ru/mailman/listinfo/devel>,
	<mailto:devel-request@altlinux.ru?subject=unsubscribe>
List-Archive: </pipermail/devel>
List-Post: <mailto:devel@altlinux.ru>
List-Help: <mailto:devel-request@altlinux.ru?subject=help>
List-Subscribe: <http://altlinux.ru/mailman/listinfo/devel>,
	<mailto:devel-request@altlinux.ru?subject=subscribe>
X-List-Received-Date: Tue, 01 Jul 2003 10:08:08 -0000

Aleksandr Blokhin пишет:

>On Tue, 01 Jul 2003 13:04:40 +0400
>"avl@l14.ru" <avl@l14.ru> wrote:
>
>Это от какого Zope?
>Если из Дедала, то я могу внести изменения.
>  
>
да. это от последняя сборка Zope-2.6.1-alt0.6.src.rpm  в дедале

в сизифе 2.5.1 и я ее вообще не трогал.



       reply	other threads:[~2003-07-01  9:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-01  9:52 ` Aleksandr Blokhin [this message]
2003-07-18  6:02     ` Andrey Orlov
2003-07-18  6:44       ` Aleksandr Blokhin
2003-07-18 19:20         ` Andrey Orlov

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=20030701125215.170ccede.sass@uustoll.ee \
    --to=sass@uustoll.ee \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git