[ZODB-Dev] zope.conf question...

Chris McDonough chrism@zope.com
Tue Apr 15 15:05:21 EDT 2003


Here's what I get when I try that config:

[chrism@james bdbinst]$ bin/zeoctl fg                        
export EVENT_LOG_FILE
EVENT_LOG_FILE=
/tmp/bdbinst/bin/runzeo
------
2003-04-15T10:03:15 INFO(0) RUNSVR opening storage '1' using FileStorage
------
2003-04-15T10:03:17 INFO(0) RUNSVR opening storage '2' using FileStorage
------
2003-04-15T10:03:17 INFO(0) RUNSVR opening storage '3' using
BDBFullStorage
------
2003-04-15T10:03:17 INFO(0) RUNSVR closing storage '1'
------
2003-04-15T10:03:17 INFO(0) RUNSVR closing storage '2'
Traceback (most recent call last):
  File "/tmp/sw/lib/python/ZEO/runzeo.py", line 295, in ?
    main()
  File "/tmp/sw/lib/python/ZEO/runzeo.py", line 292, in main
    s.main()
  File "/tmp/sw/lib/python/ZEO/runzeo.py", line 116, in main
    self.open_storages()
  File "/tmp/sw/lib/python/ZEO/runzeo.py", line 162, in open_storages
    self.storages[opener.name] = opener.open()
  File "/tmp/sw/lib/python/ZODB/config.py", line 130, in open
    from BDBStorage.BerkeleyBase import BerkeleyConfig
ImportError: No module named BDBStorage.BerkeleyBase

I haven't yet tracked down whether this is an install issue or a
software issue.

- C

> well, here is what i tried:
> 
> zeo.conf
> -----------------------------------------
> # ZEO configuration file
> 
> %define INSTANCE_HOME /opt/zeo1
> 
> <zeo>
>   address localhost:9999
>   read-only false
>   invalidation-queue-size 100
>   # monitor-address PORT
>   # transaction-timeout SECONDS
> </zeo>
> 
> <filestorage 1>
>   path $INSTANCE_HOME/var/Data.fs
> </filestorage>
> 
> 
> <filestorage 2>
>   path $INSTANCE_HOME/var/Data2.fs
> </filestorage>
> 
> <fullstorage 3>
>     name test-db
>     interval 2m
>     logdir /opt/zeo1/log
>     cachesize 128MB
> </fullstorage>
> 
> <eventlog>
>   level debug
>   <logfile>
>     path $INSTANCE_HOME/log/zeo.log
>   </logfile>
> </eventlog>
> ---------------------------------
> 
> zeoctl start--> dameon process started
> zeoctl status--> dameon manager running; dameon process not running
> 
> zeo-log (level = debug)
> ------------------------
> 2003-04-13T21:54:16 INFO(0) RUNSVR opening storage '1' using FileStorage
> ------
> 2003-04-13T21:54:16 INFO(0) RUNSVR opening storage '2' using FileStorage
> ------
> 2003-04-13T21:54:16 INFO(0) RUNSVR opening storage '3' using BDBFullStorage
> ------
> 2003-04-13T21:54:16 INFO(0) BDBFullStorage Creating Berkeley environment
> ------
> 2003-04-13T21:54:16 INFO(0) RUNSVR closing storage '1'
> ------
> 2003-04-13T21:54:16 INFO(0) RUNSVR closing storage '2'
> -----------------------
> 
> after creating the berkeley environment (folder test-db were created 
> automatically) zeo goes down.
> 
> any idea?
> Thanks,
> Harry
> 
> 
> > - C
> 
> 
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
> 
> ZODB-Dev mailing list  -  ZODB-Dev@zope.org
> http://mail.zope.org/mailman/listinfo/zodb-dev






More information about the ZODB-Dev mailing list