Hi, I'm trying to install the OpsCenter Community Edition onto an Amazon 64 host in EC2. We've had Cassandra running there for quite a while but this OpsCenter piece is a bit vexing. To install it, I had to install twistd, I basically did the following:
737 yum install twisted
738 yum install sysstat
741 vi /etc/yum.repos.d/datastax.repo
742 yum install opscenter-free
Installing:
opscenter-free noarch 3.2.0-1 opscenter-free 65 M
743 vi /etc/opscenter/opscenterd.conf
744 set PATH=/usr/share/opscenter/bin:$PATH
750 set_passwd.py x admin
751 set_passwd.py y user
761 export PATH=/opt/apache-cassandra-1.2.4/bin:$PATH
763 nodetool ring
766 ./opscenter
Here is the error message I'm getting. I wonder if there is another dependency I'm missing in Python that rhel typically has already installed?
[root@ip-10-10-0-10 bin]# ./opscenter
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/twisted/application/app.py", line 694, in run
runApp(config)
File "/usr/lib64/python2.6/site-packages/twisted/scripts/twistd.py", line 23, in runApp
_SomeApplicationRunner(config).run()
File "/usr/lib64/python2.6/site-packages/twisted/application/app.py", line 411, in run
self.application = self.createOrGetApplication()
File "/usr/lib64/python2.6/site-packages/twisted/application/app.py", line 494, in createOrGetApplication
application = getApplication(self.config, passphrase)
--- <exception caught here> ---
File "/usr/lib64/python2.6/site-packages/twisted/application/app.py", line 505, in getApplication
application = service.loadApplication(filename, style, passphrase)
File "/usr/lib64/python2.6/site-packages/twisted/application/service.py", line 390, in loadApplication
application = sob.loadValueFromFile(filename, 'application', passphrase)
File "/usr/lib64/python2.6/site-packages/twisted/persisted/sob.py", line 215, in loadValueFromFile
exec fileObj in d, d
File "bin/start_opscenter.py", line 1, in <module>
from opscenterd import opscenterd_tap
File "/usr/lib/python2.6/site-packages/opscenterd/opscenterd_tap.py", line 20, in <module>
File "/usr/lib/python2.6/site-packages/opscenterd/Logging.py", line 13, in <module>
File "/usr/lib/python2.6/site-packages/opscenterd/Utils.py", line 21, in <module>
File "/usr/lib/python2.6/site-packages/opscenterd/TwistedRouter.py", line 10, in <module>
exceptions.AttributeError: 'module' object has no attribute 'ErrorPage'
Failed to load application: 'module' object has no attribute 'ErrorPage'