[Zope] Zope Server Down!!

beno zope@thewebsons.com
Wed, 01 Jan 2003 10:59:47 -0400


Hi;
I had some problems I'll share shortly, so I tried to restart my Zope 
server. I use InstanceHome, so I ran this command in that folder:

nohup ./zctl.py start

I always run this command and it always works. I run nohup to supress 
output. I ran it without nohup and got this:

Starting ZEO server on 5800
"/usr/local/bin/python" 
/home/httpd/ZopeInstallation/Zope_software_home/lib/python/ZEO/start.py -p 
5800   &
'import site' failed; use -v for traceback
Traceback (most recent call last):
waiting for ZEO server to start 1/200
   File 
"/home/httpd/ZopeInstallation/Zope_software_home/lib/python/ZEO/start.py", 
line 91, in ?
     import sys, os, getopt, string
ImportError: No module named os
waiting for ZEO server to start 2/200

That 'import site' part has me worried. I tried to alter some of the things 
on my sites; specifically, there were a number of scripts that I had at the 
root of my server. I decided to copy them all and create directories in 
each of my sites where they were used, then I redirected the path that gets 
called when the site is called to include the directory. The strange thing 
is, when I put that path into the browser (before the crash) the site came 
up just fine, but when I tried to simply hit the site as a user would 
without the redirection the redirection failed. It had worked before doing 
this (and adding this new directory). But why would scripts not being 
present--even if they weren't--cause such problems? So I tried it with the 
verbose flag:

#./zctl.py -v start
Traceback (most recent call last):
   File "./zctl.py", line 331, in ?
     _dispatch()
   File "./zctl.py", line 328, in _dispatch
     globals()[action](args)
KeyError: -v

Apparently it doesn't like the flag! Please help!
TIA,
beno