[Zope] Zope installation on Red Hat 9

David Morgan david.morgan at nta-nhs.org.uk
Fri Jun 11 04:06:06 EDT 2004


Hi,

 

I have been trying to install Zope-2.7.0 on my server.

I have managed an install on my local XP Windows machine and can see
that if offers a lot and I'd like to get it active on my server so I can
make more use of it and offer it to a couple of my users.

 

The machine is a co-located server own by 1and1. It runs Plesk 6.0 as
the user interface for managing accounts etc. I have logged on using
sshd(putty.exe).  installed Python 2.3.4. I also appear to have
successfully installed Zope. I also appear to have successfully
installed a number of Zope instances. I am asked for directory, user and
password and reply to these. However, whenever I try to runzope with
command ./bin/runzope I always get an error saying no logging module.
Full output below the text of this message. I have also tried to install
on a local Linux machine running Lindows 4.5, based on Debian with
updated Python to 2.3.4. I get the same error there. His makes me
suspect that I am doing something wrong. I have read the installation
instructions but unfortunately some of it makes no sense to me.

 

I'd like to be able to run Zope run on port 80 or via https as  may not
always be able to access my server via port 8080. I'm reluctant to mess
with the Apache files as I have other web sites on this server that I
don't want to put at risk and as you can probably guess I am not as
familiar with Linux as I really ought to be.

 

Thank you in advance for you kind attention.

 

Dave Morgan

Epsom

UK

 

 

 

========================================================================
===========

[root at p15112016 httpdocs]# ./bin/runzope

Traceback (most recent call last):

  File "/opt/Zope-2.7/lib/python/Zope/Startup/run.py", line 49, in ?

    run()

  File "/opt/Zope-2.7/lib/python/Zope/Startup/run.py", line 18, in run

    opts = _setconfig()

  File "/opt/Zope-2.7/lib/python/Zope/Startup/run.py", line 41, in
_setconfig

    opts.realize(doc="Sorry, no option docs yet.")

  File "/opt/Zope-2.7/lib/python/zdaemon/zdoptions.py", line 262, in
realize

    self.load_schema()

  File "/opt/Zope-2.7/lib/python/zdaemon/zdoptions.py", line 303, in
load_schema

    self.schema = ZConfig.loadSchema(self.schemafile)

  File "/opt/Zope-2.7/lib/python/ZConfig/loader.py", line 37, in
loadSchema

    return SchemaLoader().loadURL(url)

  File "/opt/Zope-2.7/lib/python/ZConfig/loader.py", line 71, in loadURL

    return self.loadResource(r)

  File "/opt/Zope-2.7/lib/python/ZConfig/loader.py", line 137, in
loadResource

    schema = ZConfig.schema.parseResource(resource, self)

  File "/opt/Zope-2.7/lib/python/ZConfig/schema.py", line 43, in
parseResource

    xml.sax.parse(resource.file, parser)

  File "/usr/lib/python2.2/site-packages/_xmlplus/sax/__init__.py", line
31, in parse

    parser.parse(filename_or_stream)

  File "/usr/lib/python2.2/site-packages/_xmlplus/sax/expatreader.py",
line 109, in parse

    xmlreader.IncrementalParser.parse(self, source)

  File "/usr/lib/python2.2/site-packages/_xmlplus/sax/xmlreader.py",
line 123, in parse

    self.feed(buffer)

  File "/usr/lib/python2.2/site-packages/_xmlplus/sax/expatreader.py",
line 203, in feed

    self._parser.Parse(data, isFinal)

  File "/usr/lib/python2.2/site-packages/_xmlplus/sax/expatreader.py",
line 277, in start_element

    self._cont_handler.startElement(name, AttributesImpl(attrs))

  File "/opt/Zope-2.7/lib/python/ZConfig/schema.py", line 115, in
startElement

    getattr(self, "start_" + name)(attrs)

  File "/opt/Zope-2.7/lib/python/ZConfig/schema.py", line 469, in
start_schema

    keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)

  File "/opt/Zope-2.7/lib/python/ZConfig/schema.py", line 207, in
get_sect_typeinfo

    datatype = self.get_datatype(attrs, "datatype", "null")

  File "/opt/Zope-2.7/lib/python/ZConfig/schema.py", line 200, in
get_datatype

    return self._registry.get(dtname)

  File "/opt/Zope-2.7/lib/python/ZConfig/datatypes.py", line 298, in get

    t = self.search(name)

  File "/opt/Zope-2.7/lib/python/ZConfig/datatypes.py", line 323, in
search

    package = __import__(n, g, g, component)

  File "/opt/Zope-2.7/lib/python/Zope/Startup/datatypes.py", line 18, in
?

    from ZODB.config import ZODBDatabase

  File "/opt/Zope-2.7/lib/python/ZODB/__init__.py", line 19, in ?

    from zLOG import register_subsystem

  File "/opt/Zope-2.7/lib/python/zLOG/__init__.py", line 88, in ?

    from EventLogger import log_write, log_time, severity_string, \

  File "/opt/Zope-2.7/lib/python/zLOG/EventLogger.py", line 23, in ?

    import logging

ImportError: No module named logging

[root at p15112016 httpdocs]# ./bin/zopectl

Traceback (most recent call last):

  File "/opt/Zope-2.7/lib/python/Zope/Startup/zopectl.py", line 45, in ?

    from zLOG.datatypes import FileHandlerFactory

  File "/opt/Zope-2.7/lib/python/zLOG/__init__.py", line 88, in ?

    from EventLogger import log_write, log_time, severity_string, \

  File "/opt/Zope-2.7/lib/python/zLOG/EventLogger.py", line 23, in ?

    import logging

ImportError: No module named logging

[root at p15112016 httpdocs]# 

 

David P Morgan

Programme Support Officer

NDTMS Programme

tel: 020 7972 2623

internal: 22623

 


______________________________________________________________________
This e-mail and any files transmitted with it are confidential. If you are not the intended recipient, any reading, printing, storage, disclosure, copying or any other action taken in respect of this e-mail is prohibited and may be unlawful. If you are not the intended recipient, please notify the sender immediately by using the reply function and then permanently delete what you have received.  Views or opinions expressed by an individual within this email may not necessarily reflect the views of the organisation. 

 

This email has been scanned for all viruses by the MessageLabs Email

Security System. For more information on a proactive email security

service working around the clock, around the globe, visit

http://www.messagelabs.com

______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20040611/c761d124/attachment.html


More information about the Zope mailing list