Discussion:
Issues migrating from 3.2.1 stack to 3.2.1 rpm on centos 5
Patrick Tierney
2013-10-08 14:06:31 UTC
Permalink
Patrick Tierney [http://community.zenoss.org/people/ptierney] created the discussion

"Issues migrating from 3.2.1 stack to 3.2.1 rpm on centos 5"

To view the discussion, visit: http://community.zenoss.org/message/74857#74857

--------------------------------------------------------------
Having trouble with migrating 3.2.1 from a stack install on centos 5 to an RPM install on centos 5 on a separate server (prep for 4.2 upgrade).  zeoctl won't start, gives the error KeyError: 'xml.sax.drivers2.drv_pyexpat'.  The service started on a fresh install, but won't start after performing a zenrestore on the old data.  I found a few places where zenrestore restored some config files with the old /user/local/zenoss path, but I've fixed those (zope.conf and zeo.conf).  Done extensive searching but can't find anyone having this issue.  All python versions match up between old and new server.  The trace from start up is below.

service zenoss start
Daemon: zeoctl . Traceback (most recent call last):
  File "/opt/zenoss/lib/python/zdaemon/zdrun.py", line 745, in ?
    main()
  File "/opt/zenoss/lib/python/zdaemon/zdrun.py", line 742, in main
    d.main(args)
  File "/opt/zenoss/lib/python/zdaemon/zdrun.py", line 239, in main
    self.options.realize(args)
  File "/opt/zenoss/lib/python/zdaemon/zdrun.py", line 107, in realize
    RunnerOptions.realize(self, *args, **kwds)
  File "/opt/zenoss/lib/python/zdaemon/zdoptions.py", line 404, in realize
    ZDOptions.realize(self, *args, **kwds)
  File "/opt/zenoss/lib/python/zdaemon/zdoptions.py", line 290, in realize
    self.load_schema()
  File "/opt/zenoss/lib/python/zdaemon/zdoptions.py", line 338, in load_schema
    self.schema = ZConfig.loadSchema(self.schemafile)
  File "/opt/zenoss/lib/python/ZConfig/loader.py", line 32, in loadSchema
    return SchemaLoader().loadURL(url)
  File "/opt/zenoss/lib/python/ZConfig/loader.py", line 66, in loadURL
    return self.loadResource(r)
  File "/opt/zenoss/lib/python/ZConfig/loader.py", line 187, in loadResource
    schema = ZConfig.schema.parseResource(resource, self)
  File "/opt/zenoss/lib/python/ZConfig/schema.py", line 27, in parseResource
    xml.sax.parse(resource.file, parser)
  File "/opt/zenoss/lib/python/_xmlplus/sax/__init__.py", line 28, in parse
    parser = make_parser()
  File "/opt/zenoss/lib/python/_xmlplus/sax/sax2exts.py", line 37, in make_parser
    return XMLParserFactory.make_parser(parser_list)
  File "/opt/zenoss/lib/python/_xmlplus/sax/saxexts.py", line 75, in make_parser
    sys.modules[parser_name].create_parser = _create_parser
KeyError: 'xml.sax.drivers2.drv_pyexpat'
. . . . . . . . . .
daemon manager not running
Daemon: zopectl .
daemon process started, pid=7911
Daemon: zenhub starting...
Daemon: zenjobs starting...
Daemon: zenping starting...
Daemon: zensyslog starting...
Daemon: zenstatus starting...
Daemon: zenactions starting...
Daemon: zentrap starting...
Daemon: zenmodeler starting...
Daemon: zenperfsnmp starting...
Daemon: zencommand starting...
Daemon: zenprocess starting...
Daemon: zenwin starting...
Daemon: zeneventlog starting...
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74857#74857]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Patrick Tierney
2013-10-08 14:08:08 UTC
Permalink
Patrick Tierney [http://community.zenoss.org/people/ptierney] created the discussion

"Re: Issues migrating from 3.2.1 stack to 3.2.1 rpm on centos 5"

To view the discussion, visit: http://community.zenoss.org/message/74858#74858

--------------------------------------------------------------
Oh, and I tested mysql logins as well.  zenoss user is zenoss/zenoss, root is still blank til I get it running.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74858#74858]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Patrick Tierney
2013-10-08 15:30:37 UTC
Permalink
Patrick Tierney [http://community.zenoss.org/people/ptierney] created the discussion

"Re: Issues migrating from 3.2.1 stack to 3.2.1 rpm on centos 5"

To view the discussion, visit: http://community.zenoss.org/message/74860#74860

--------------------------------------------------------------
/opt/zenoss/etc/zeo.conf was pointing to /usr/bin/python instead of /opt/zenoss/bin/python.  It's now running normally.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74860#74860]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...