[Zope] Having troubles starting Zope.
Dany Rioux
rdany@drioux.com
Wed, 22 Nov 2000 04:39:06 -0400
Hi Chris,
I should have stated that I didn't upgrade Zope. I mean: it's the same
installation I had before except for the Hotfix which I got from zope.org I
checked this file, though I don't know anything about python, and it doesn't
seem to touch the core of zope's files.
About installing from source. I don't really have anything against that but
the linux box running zope is a P133 w/ 64 MB RAM... It's not a power
compiler if I may add :) so compiling the kind of app zope is makes me think
of compiling X. About an hour or so. I don't really want to get a too tight
grip on the machine's load.
What should gives the environment vars it asks in the error message? Maybe
we could find where it comes from.
In case I really have to. What are the files that should be copied so I keep
my database intact and my configuration too like users and such.
Last, I upgraded the kernel with support for reiserfs. Think that might do
bad things? It's a thought but zope refused to start before the upgrade was
completed, meaning before rebooting the box after the kernel compilation.
What should be the ownership of the /var/lib/zope* and /usr/lib/zope/* ? Is
there a zope user?
Well, that's about all I can think of.
Thanks for the help.
Dany
-----Original Message-----
From: chrism@opar.digicool.com [mailto:chrism@opar.digicool.com]On
Behalf Of Chris McDonough
Sent: Tuesday, November 21, 2000 9:44 PM
To: Dany Rioux
Cc: Zope Mailing List
Subject: Re: [Zope] Having troubles starting Zope.
It sounds like the .deb of Zope (or the hotfix) you have is
misconfigured in some way... I think the Debian Zope maintainer is
Gregor Hoffleit... I'd imagine he'd be interested in a bug report.
But in the meantime, I'd suggest using the Zope source distribution to
install... it's actually not too hard.
1. make sure you have Python installed as well as the Python
"development libraries" (might be easiest to install Python from source
too here, but probably not required)
2. download the latest Zope source tgz
3. ungzip and untar it as a regular user in a directory somewhere you
like
4. run "python w_pcgi.py" in the directory (pay attention to the
password it gives you for the superuser)
5. wait for it to compile (report any errors you come up with in this
step to the list)
6. type "./start"
7. fire up a browser and point it at port 8080
8. log in as superuser and create a management account
9. close the browser
10. open the browser again and log in as the management user.
11. have fun.
Dany Rioux wrote:
>
> Hi listers,
>
> Until this afternoon, I was using zope (more like trying to use it) and
> everything was ok. I had some problems with the .deb SiteAccess but I
> fixed it by getting the real thing from zope.org and it worked. I added
> the latest Hotfix because it's a good thing to have. Then I restarted Zope
> but it never went back up again.
>
> The box is Linux debian woody with Zope 2.2.2
>
> When I try to start it up, that's the message I get:
>
> ---------<PASTE>-----------
> drioux:/etc/init.d# ./zope start
> Starting Zope...Traceback (innermost last):
> File "/usr/sbin/zope-z2", line 535, in ?
> except: CLIENT_HOME = os.path.join(INSTANCE_HOME, 'var')
> NameError: INSTANCE_HOME
> failed.
> ---------</PASTE>----------
>
> I went to check the line seeming to cause this and there's a comment about
> ZEO:
>
> ---------<PASTE>-----------
> # CLIENT_HOME allows ZEO clients to easily keep distinct pid and
> # log files. This is currently an *experimental* feature, as I expect
> # that increasing ZEO deployment will cause bigger changes to the
> # way that z2.py works fairly soon.
> try: CLIENT_HOME = os.environ['CLIENT_HOME']
> except: CLIENT_HOME = os.path.join(INSTANCE_HOME, 'var')
> ---------</PASTE>----------
>
> I remember seeing something about ZEO on zope.org but I don't remember if
> it was an update or whatelse but AFAIK I didn't installed and/or I don't
> use a ZEO client.
>
> Now, I'm a total Zope newbie. Ok maybe not total but I'm a basic newbie
> and I wonder if the Hotfix fixed too much... I tried to move the Hotfix
> directory elsewhere but that didn't change a thing.
>
> Anyone can offer help or maybe it's already been discussed. I looked at
> the list's past 2 months but came up empty.
>
> TIA
>
> Dany
>
> ---.oo0O--------------O0oo.--------
>
> Dany Rioux UnderSoft
> Business:
> www.dating-reviews.com
> rdany@dating-reviews.com
>
> Pers:
> www.drioux.com
> rdany@drioux.com
>
> -------.o00O-------O00o.-----------
--
Chris McDonough
Digital Creations, Publishers of Zope
http://www.zope.org
_______________________________________________
Zope maillist - Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )