Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19333 - /etc/init.d/zope failed to start
Summary: /etc/init.d/zope failed to start
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: net-zope (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-14 19:48 UTC by Rob Kroeger
Modified: 2003-11-10 11:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Kroeger 2003-04-14 19:48:08 UTC
the /etc/init.d/zope script in zope-2.5.1 does not successfully start zope
because the script fails to have #!/sbin/runscript as its first line.  

Further, it also fails to use python2.1 (recommended) and instead attempts to
use python2.2 (to its ultimate detriment.)

http://www.cgl.uwaterloo.ca/~rjkroege/zope contains a version of the script that
I modified to work.

The script also depends on the command /usr/lib/portage/bin/use which was not
available on my system.  I hacked one in python: 
http://www.cgl.uwaterloo.ca/~rjkroege/use that might be useful.


Reproducible: Always
Steps to Reproduce:
1. /etc/init.d/zope start
2.
3.

Actual Results:  
Zope failed to start

Expected Results:  
Zope should have started

Portage 2.0.47-r8 (, [unavailable], glibc-2.3.1-r3)
=================================================================
System uname: 2.4.20 sparc64 sun4u
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="sparc arts apm avi crypt cups encode esd fbcon gif gtk gnome imlib java jpeg kde libwww mikmod motif mpeg ncurses nls oggvorbis oss opengl png pdflib qt sdl spell truetype X xv xml2 xmms zlib gdbm berkdb slang readline tcpd pam ssl perl python"
COMPILER="gcc3"
CHOST="sparc-sun4u-linux-gnu"
CFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -O3 -pipe -falign-functions=4 -fprefetch-loop-arrays -ffast-math -fomit-frame-pointer"
CXXFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -O3 -pipe -falign-functions=4 -fprefetch-loop-arrays -ffast-math -fomit-frame-pointer"
ACCEPT_KEYWORDS="sparc"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Axxackall 2003-04-15 07:52:40 UTC
zope 2.5.1 seems a bit outdated. Have you tried zope-2.6.1? It's in Portage and it doesn't have the problems with old one you've found. I use 2.6.1 on few production locations and cannot report any problems of zope itself so far.
Comment 2 Rob Kroeger 2003-04-25 10:36:16 UTC
I have now tried zope-2.6.1.

There are other problems -- I will file a separate bug.  They are actually worse in that (at least so far) they appear to be more difficult to fix.
Comment 3 Joe Kallar (RETIRED) gentoo-dev 2003-06-20 08:44:38 UTC
Does this problem still occur?
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-11 13:48:49 UTC
your two links point to the same file, the init script is missing ;)

could you please test zope-2.6.1 on sparc?

shell we close this bug as it is working in zope-2.6* ?
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2003-11-10 11:38:26 UTC
if this still occurs please reopen