[Zope-ZEO] One ZSS : Multiple Data.fs files

Bill Anderson bill@libc.org
Wed, 26 Jul 2000 18:26:24 -0600


Jim Fulton wrote:

[...]

> The part after the '=' is a module name. For example,
> suppose you have the file '/data/Sites.py'::
> 
>   import ZODB.FileStorage
> 
>   SiteOne=ZODB.FileStorage.FileStorage(
>          '/path/to/SiteOne-Data.fs')
> 
> then you'd start the server with:
> 
>   ... -SSiteOne=/data/Sites.py



uggg ... feeling a bit like an annoyance at this point ...
you know, the problem that doesn't go away? :/

I found through trial and error, and a little python experience, that I needed to drop the
'.py'.

Unfortunately ...

  File "lib/python/ZEO/start.py", line 217, in ?
    if __name__=='__main__': main(sys.argv)
  File "lib/python/ZEO/start.py", line 173, in main
    storages[n]=get_storage(m,n)
  File "lib/python/ZEO/start.py", line 109, in get_storage
    im=imp.load_module(m, im[0], im[1], im[2])
  File "/data/SiteOne.py", line 3, in ?
    SiteOne=ZODB.FileStorage.FileStorage('/data/SiteOne.fs')
  File "/home/ZSS/Zope2/lib/python/ZODB/FileStorage.py", line 262, in __init__
    lock_file(f)
  File "/home/ZSS/Zope2/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.


Despite the fact that there are no lock files, and no other python processes running.

Ugh.


--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.