*Zenoss folks,

I installed mysql 5.0 on a test Centos 4.4 vmware image and followed the "# Data Migration from 1.x to 2.0" procedure to the tee and it worked for the most part. All of my configuration changes and all of my event processing rules followed suit from my production box. Which is great! The problem is that the drop-down button (that was there before i reloaded the data from my production zenoss) that allows you to do the nifty Manage and changing disappeared. I hoped it was a fluke and moved on to my staging Zenoss box.
I never got that far...

I get to the point where it says dump the 1.x database and i am able to do that fine. I then move the zen2dump.py and zendump.zip files to the $ZENHOME of my staging box and delete the database files.

Then i install the rpm and it goes in without a hitch. I then try to turn up the "zeoctl" and to my surprise... i cant find it in /opt/zenoss/bin! There is lots of other Zenoss daemons, but i cant find zeoctl. So in desperation, i start up the 1.x zeoctl located in /usr/local/zenoss/bin/zeoctl and it starts up fine.

I then try to do the "[EMAIL PROTECTED] ~]$ bin/zen2load.py" step and i get the following:*
[EMAIL PROTECTED] zenoss]$ bin/zen2load.py
Traceback (most recent call last):
 File "bin/zen2load.py", line 27, in ?
   import transaction
 File "/opt/zenoss/lib/python/transaction/__init__.py", line 19, in ?
   from transaction._transaction import Transaction
 File "/opt/zenoss/lib/python/transaction/_transaction.py", line 149, in ?
   import logging
ImportError: No module named logging

*Just for grins, i see if i can start zenoss without the imported data and i get the following (which tells me there is no zeoctl and zopectl any more which is a problem...):*

[EMAIL PROTECTED]:/etc/init.d]$ ./zenoss start
Daemon: zeoctl /opt/zenoss/bin/zenoss: line 98: /opt/zenoss/bin/zeoctl: No such file or directory Daemon: zopectl /opt/zenoss/bin/zenoss: line 98: /opt/zenoss/bin/zopectl: No such file or directory
Daemon: zenhub starting...
Traceback (most recent call last):
 File "/opt/zenoss/Products/ZenHub/zenhub.py", line 28, in ?
   from twisted.cred import portal, checkers, error, credentials
 File "/opt/zenoss/lib/python/twisted/__init__.py", line 14, in ?
   raise RuntimeError("Twisted requires Python 2.3 or later.")
RuntimeError: Twisted requires Python 2.3 or later.
Daemon: zenping starting...
Traceback (most recent call last):
 File "/opt/zenoss/Products/ZenStatus/zenping.py", line 28, in ?
   import Globals # make zope imports work
 File "/opt/zenoss/lib/python/Globals.py", line 23, in ?
   import Acquisition, ComputedAttribute, App.PersistentExtra, os
 File "/opt/zenoss/lib/python/Acquisition/__init__.py", line 1, in ?
   from _Acquisition import *
 File "/opt/zenoss/lib/python/ExtensionClass/__init__.py", line 105, in ?
   from _ExtensionClass import *
AttributeError: 'module' object has no attribute '_slotnames'
Daemon: zensyslog starting...
Traceback (most recent call last):
 File "/opt/zenoss/Products/ZenEvents/zensyslog.py", line 26, in ?
   from twisted.internet.protocol import DatagramProtocol
 File "/opt/zenoss/lib/python/twisted/__init__.py", line 14, in ?
   raise RuntimeError("Twisted requires Python 2.3 or later.")
RuntimeError: Twisted requires Python 2.3 or later.
Daemon: zenstatus starting...
/opt/zenoss/Products/ZenStatus/zenstatus.py:146: Warning: 'yield' will become a reserved keyword in the future
 File "/opt/zenoss/Products/ZenStatus/zenstatus.py", line 146
   yield self.configService().callRemote('propertyItems')
            ^
SyntaxError: invalid syntax
Daemon: zenactions starting...
Traceback (most recent call last):
 File "/opt/zenoss/Products/ZenEvents/zenactions.py", line 28, in ?
   from sets import Set
ImportError: No module named sets
Daemon: zentrap starting...
Traceback (most recent call last):
 File "/opt/zenoss/Products/ZenEvents/zentrap.py", line 24, in ?
   from twisted.python import threadable
 File "/opt/zenoss/lib/python/twisted/__init__.py", line 14, in ?
   raise RuntimeError("Twisted requires Python 2.3 or later.")
RuntimeError: Twisted requires Python 2.3 or later.
Daemon: zenmodeler starting...
Traceback (most recent call last):
 File "/opt/zenoss/Products/DataCollector/zenmodeler.py", line 19, in ?
   import Globals
 File "/opt/zenoss/lib/python/Globals.py", line 23, in ?
   import Acquisition, ComputedAttribute, App.PersistentExtra, os
 File "/opt/zenoss/lib/python/Acquisition/__init__.py", line 1, in ?
   from _Acquisition import *
 File "/opt/zenoss/lib/python/ExtensionClass/__init__.py", line 105, in ?
   from _ExtensionClass import *
AttributeError: 'module' object has no attribute '_slotnames'
Daemon: zenperfsnmp starting...
/opt/zenoss/Products/ZenRRD/zenperfsnmp.py:295: Warning: 'yield' will become a reserved keyword in the future
 File "/opt/zenoss/Products/ZenRRD/zenperfsnmp.py", line 295
   yield self.model().callRemote('propertyItems')
            ^
SyntaxError: invalid syntax
Daemon: zencommand starting...
/opt/zenoss/Products/ZenRRD/zencommand.py:567: Warning: 'yield' will become a reserved keyword in the future
 File "/opt/zenoss/Products/ZenRRD/zencommand.py", line 567
   yield self.model().callRemote('propertyItems')
            ^
SyntaxError: invalid syntax
Daemon: zenprocess starting...
/opt/zenoss/Products/ZenRRD/zenprocess.py:270: Warning: 'yield' will become a reserved keyword in the future
 File "/opt/zenoss/Products/ZenRRD/zenprocess.py", line 270
   yield self.model().callRemote('getDefaultRRDCreateCommand')
            ^
SyntaxError: invalid syntax
Daemon: zenwin starting...
/opt/zenoss/lib/python/pywmi.py:5: RuntimeWarning: Python C API version mismatch for module _pywmi: This Python has API version 1011, module _pywmi has version 1012.
 import _pywmi
Traceback (most recent call last):
 File "/opt/zenoss/Products/ZenWin/zenwin.py", line 19, in ?
   from wmiclient import WMI
 File "/opt/zenoss/Products/ZenWin/wmiclient.py", line 16, in ?
   import logging
ImportError: No module named logging
Daemon: zeneventlog starting...
Traceback (most recent call last):
 File "/opt/zenoss/Products/ZenWin/zeneventlog.py", line 18, in ?
   import logging
ImportError: No module named logging
Daemon: zenwinmodeler starting...
Traceback (most recent call last):
 File "/opt/zenoss/Products/ZenWin/zenwinmodeler.py", line 17, in ?
   import logging
ImportError: No module named logging


*Anyone have any clue where i should start looking as to why the rpm did not create these two daemons? I do not want to even try this on the production Zenoss if there is going to be problems with it.

Thanks ahead of time,

-Daniel
*
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to