home contents changes options help subscribe edit (external edit)

Directories

Some important directories you'll see people talking about:

Config files

  • zope.conf in INSTANCE_HOME/etc/ is the main configuration file for a Zope instance
  • [zeo.conf]? in STORAGE_HOME/etc/ is the configuration file for a ZEO (Zope Enterprise Objects) storage server
  • [inituser]? in INSTANCE_HOME is used to initialise your fresh [acl_users]? in ZODB (Zope Object Database) - it contains initial username and password; be careful though - if Zope doesn't have write permission to it's INSTANCE_HOME (which is a very good idea, btw), your ZODB (Zope Object Database) will lose your users and get reinitialised each time you restart Zope

Logs

You can find useful information about a Zope server in a number of places:

In the ZMI (Zope Management Interface):

On the filesystem

  • apache's access.log, if you are using Zope and Apache. On debian this is in /var/log/apache/.
  • Z2.log in INSTANCE_HOME/log/
  • event.log in INSTANCE_HOME/log/
  • trace.log in INSTANCE_HOME/log/, if enabled. See also ForensicLogger.
  • zeo.log in STORAGE_HOME/log/, if you are running ZEO (Zope Enterprise Objects)
  • you can get a log of memory usage if you run the checkzopemem script
  • you can see your zope processes by running pstree -ap |grep python |grep -v grep (unix)
  • you can check your zope processes' size by running 'top" and pressing M (sort by memory usage). Often zope processes will be near the top.
  • you can check if your zope processes are busy doing something by running top and checking the cpu usage.

Some examples can be seen here



subject:
  ( 23 subscribers )