From owner-freebsd-python@FreeBSD.ORG  Sun Aug  8 08:29:25 2004
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: freebsd-python@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DCFD016A4CE
	for <python@freebsd.org>; Sun,  8 Aug 2004 08:29:25 +0000 (GMT)
Received: from vsmtp2.tin.it (vsmtp2alice.tin.it [212.216.176.142])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2C7A843D48
	for <python@freebsd.org>; Sun,  8 Aug 2004 08:29:25 +0000 (GMT)
	(envelope-from massimo@mail.studiomasson.it)
Received: from mail.studiomasson.it (82.50.124.154) by vsmtp2.tin.it (7.0.027)
	id 40FBC3C90038C0E9 for python@freebsd.org;
	Sun, 8 Aug 2004 10:17:33 +0200
Message-ID: <4115E19B.7020405@mail.studiomasson.it>
Date: Sun, 08 Aug 2004 10:17:31 +0200
From: Massimo Masson <massimo@mail.studiomasson.it>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; it-IT; rv:1.6) Gecko/20040417
X-Accept-Language: it, en, en-us
MIME-Version: 1.0
To: python@freebsd.org
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Migration from zope 2.6.1 to 2.7.2
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: max@mail.studiomasson.it
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Aug 2004 08:29:26 -0000

Hello everybody,
I'm trying to migrate from a working installation of zope 2.6.1 and 
plone 1.0.5 to plone 2 (and zope 2.7.2).

I'm working on a FreeBSD 4.8 release box.

I've updated ports, and portupgrade(d) plone. No compilation errors. I 
stopped zope before portupgrading.

Now i have both zope-2.6.1_1 and zope-2.7, both zope-cmf-1.3.2 and 
zope-cmf-1.4.5, and plone 2.0.3.

My first problem is that now i can't start zope anymore.
I have the executable /usr/local/etc/rc.d/zope.sh, i made a new 
zopeinstance with mkzopeinstance but i still cannot start.

Any suggestion for me?

Thanks in advance,
Max.

From owner-freebsd-python@FreeBSD.ORG  Mon Aug  9 06:12:23 2004
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: freebsd-python@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 63DF916A4CE
	for <python@freebsd.org>; Mon,  9 Aug 2004 06:12:23 +0000 (GMT)
Received: from etustar.ze.tum.de (etustar.ze.tum.de [129.187.39.96])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B5B2243D1D
	for <python@freebsd.org>; Mon,  9 Aug 2004 06:12:22 +0000 (GMT)
	(envelope-from estartu@etustar.ze.tum.de)
Received: from etustar.ze.tum.de (estartu@localhost.ze.tu-muenchen.de
	[127.0.0.1])
	by etustar.ze.tum.de (8.12.11/8.12.11) with ESMTP id i796CLT9056734;
	Mon, 9 Aug 2004 08:12:21 +0200 (CEST)
	(envelope-from estartu@etustar.ze.tum.de)
Received: (from estartu@localhost)
	by etustar.ze.tum.de (8.12.11/8.12.11/Submit) id i796CLoi056733;
	Mon, 9 Aug 2004 08:12:21 +0200 (CEST)
	(envelope-from estartu)
Date: Mon, 9 Aug 2004 08:12:20 +0200
From: Gerhard Schmidt <estartu@augusta.de>
To: max@mail.studiomasson.it
Message-ID: <20040809061220.GA56484@augusta.de>
References: <4115E19B.7020405@mail.studiomasson.it>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-md5;
	protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB"
Content-Disposition: inline
In-Reply-To: <4115E19B.7020405@mail.studiomasson.it>
User-Agent: Mutt/1.4.1i
cc: python@freebsd.org
Subject: Re: Migration from zope 2.6.1 to 2.7.2
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Aug 2004 06:12:23 -0000


--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Aug 08, 2004 at 10:17:31AM +0200, Massimo Masson wrote:
> Hello everybody,
> I'm trying to migrate from a working installation of zope 2.6.1 and=20
> plone 1.0.5 to plone 2 (and zope 2.7.2).
>=20
> I'm working on a FreeBSD 4.8 release box.
>=20
> I've updated ports, and portupgrade(d) plone. No compilation errors. I=20
> stopped zope before portupgrading.
>=20
> Now i have both zope-2.6.1_1 and zope-2.7, both zope-cmf-1.3.2 and=20
> zope-cmf-1.4.5, and plone 2.0.3.
>=20
> My first problem is that now i can't start zope anymore.
> I have the executable /usr/local/etc/rc.d/zope.sh, i made a new=20
> zopeinstance with mkzopeinstance but i still cannot start.
>=20
> Any suggestion for me?

try <instancehome>/bin/runzope to get an hint what hoes wrong. Probably you=
=20
forget to set up the <instancehome>/etc/zope.conf. 2.6.x didn`t have a conf=
ig=20
file so you have to create it. A sample config is provided in the same=20
directory.=20

Bye
	Estartu

--=20
----------------------------------------------------------------------------
Gerhard Schmidt    | Nick : estartu      IRC : Estartu  |  PGP Public Key
Fischbachweg 3     | Privat: estartu@augusta.de         |   auf Anfrage/
86856 Hiltenfingen | Dienst: schmidt@ze.tu-muenchen.de  |    on request


--tThc/1wpZn/ma/RB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: supxB4N4ZJpDTraxugsqGZ3J+2hJG9LU

iQCVAwUBQRcVxAzx22nOTJQRAQELjgP/ZMedTpgdJpTpcmFACqqZl99/4ZEjPutS
Bqe15ovLVlVnag4z95Nf/4LnxLR4aKjwVb+4qW5G8hZcVR3h7O3aIEWjFyos50Vj
VkdyBhHJ+N6HDZCtZpU48DFgQAxPYDly4XMKA0v0qxV2sazzWB2JlNCIx1Km3n9v
2IAS7kqt5cQ=
=1gGe
-----END PGP SIGNATURE-----

--tThc/1wpZn/ma/RB--

From owner-freebsd-python@FreeBSD.ORG  Thu Aug 12 04:29:35 2004
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: freebsd-python@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6F67616A4CE
	for <freebsd-python@freebsd.org>;
	Thu, 12 Aug 2004 04:29:35 +0000 (GMT)
Received: from web53402.mail.yahoo.com (web53402.mail.yahoo.com
	[206.190.37.49])	by mx1.FreeBSD.org (Postfix) with SMTP id 1553E43D2D
	for <freebsd-python@freebsd.org>;
	Thu, 12 Aug 2004 04:29:35 +0000 (GMT)
	(envelope-from suhaimi_sj@yahoo.com)
Message-ID: <20040812042934.95532.qmail@web53402.mail.yahoo.com>
Received: from [192.228.129.114] by web53402.mail.yahoo.com via HTTP;
	Wed, 11 Aug 2004 21:29:34 PDT
Date: Wed, 11 Aug 2004 21:29:34 -0700 (PDT)
From: Suhaimi Jamalludin <suhaimi_sj@yahoo.com>
To: freebsd-python@freebsd.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: mod_python testing failed with "make_obcallback(): could not import
	mod_python.apache"
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Aug 2004 04:29:35 -0000

Hi All,

Need your advice on mod_python.
I'm running FreeBSD5.2.1, apache 1.3.31 and
mod_python-2.7.10. I have done the configuration
seting on http.conf and restart my apache. Apache
runing fine, however during my mod_python testing I
got  this error in my httpd-error.log.

Error Message:
 make_obcallback(): could not import
mod_python.apache.
 make_obcallback(): could not call init.
 [Tue Aug 10 11:57:32 2004] [error] [client
10.1.4.118] python_handler:
make_obcallback returned no obCallBack!

Can somebody advice me please.

Appreciate your help.

regards,
suhaimi

My step-by-step for mod_python on FreeBSD5.2.1
-----------------------------------------------------
1) Installed python
 # cd /usr/ports/lang/python
 # make -DWITHOUT_THREADS install clean

2) Installed mod_python
 # cd /usr/ports/www/mod_python
 # make -DWANT_EAPI install clean

3) Modify apache configuration file
 #vi /usr/local/etc/apache/http.conf
 add below line at the end of the http.conf
 ----snip-----
 <Directory /usr/local/www/cgi-bin/modpython>
   AddHandler python-program .py
   PythonHandler mptest
   PythonDebug On
 </Directory>
 ----snap-----

4) Create mptest.py
 # vi /usr/local/www/cgi-bin/modpython/mptest.py
 add below line in mptest.py
 ----snip-----
 from mod_python import apache

 def handler(req):
         req.write("Hello World!")
         return apache.OK
 ----snap-----
5) Restart Apache
 # /usr/local/etc/rc.d/apache restart
6) Open Mozilla Web Browser type the mod_python test
file as below.

 http://10.1.4.8/cgi-bin/modpython/mptest.py

 Browser output:
 Internal Server Error
 The server encountered an internal error or
misconfiguration and was
unable to complete your request.
 Please contact the server administrator,
root@local.domain and inform
them of the time the error occurred, and anything you
might have done
that may have caused the error.
 More information about this error may be available in
the server error
log.

7) Check apache log file
 # tail /var/log/httpd-error.log
   [Tue Aug 10 11:57:24 2004] [notice] caught SIGTERM,
shutting down
 [Tue Aug 10 11:57:28 2004] [notice] Apache configured
-- resumingnormal operations
 [Tue Aug 10 11:57:28 2004] [notice] Accept mutex:
flock (Default: flock)
 'import site' failed; use -v for traceback
 make_obcallback(): could not import
mod_python.apache.
 make_obcallback(): could not call init.
 [Tue Aug 10 11:57:32 2004] [error] [client
10.1.4.118] python_handler: make_obcallback returned
no obCallBack!


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail