Re: [Zope] Zope install - cannot login

2000-12-29 Thread Dieter Maurer

Odile =?iso-8859-1?Q?B=E9nassy?= writes:
  Here is a problem I'm encountering while installing Zope through PCGI :
  
  ZODB.POSException.StorageSystemError: Could not lock the database file. 
  There must be
  another process that has opened the file.
As the message tells you, there is another Zope process accessing
your "var/Data.fs". Are you sure, that your ZServer started
Zope is really stopped?

   python z2.py
  
  ImportError: No module named ZServer
Do not start Zope in this way, use the "start" script.

This script defines some environment variables
(such as PYTHONHOME) before it executes
"python z2.py". These environment variables are necessary
to find Zope's infrastructure.


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




[Zope] Zope install - cannot login

2000-12-27 Thread Odile Bénassy

Here is a problem I'm encountering while installing Zope through PCGI :
I can get the first screen but can't log into management screen with
"superuser" and "123"
Yet it works perfectly with ZServer installation instead of  PCGI
installation

I have tried all sorts of combinations with file /var/zope/access, no
success
As error messages, at first I got
"""
Traceback (innermost last):
  File "z2.py", line 554, in ?
exec "import "+MODULE in {}
  File "string", line 1, in ?
  File "/usr/share/zope/lib/python/Zope/__init__.py", line 110, in ?
DB=ZODB.FileStorage.FileStorage(Globals.BobobaseName)
  File "/usr/share/zope/lib/python/ZODB/FileStorage.py", line 262, in
__init__
lock_file(f)
  File "/usr/share/zope/lib/python/ZODB/lock_file.py", line 101, in
lock_file
raise error, (
ZODB.POSException.StorageSystemError: Could not lock the database file. 
There must be
another process that has opened the file.
p
""

then nothing at all

And if I try

python z2.py

I get the answer

"""
Traceback (innermost last):
  File "z2.py", line 524, in ?
import ZServer
ImportError: No module named ZServer
"""

Can you help me ?
-- 
Odile Bénassy
http://www.libresoftware-educ.org/

___
Zope maillist  -  [EMAIL PROTECTED]
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 )