There is an error when I Start OpsCenter in the background.
$ opscenter &
Followed the instructions from this page,
http://www.datastax.com/docs/1.0/datastax_enterprise/dse_quickstart#configuring-and-starting-datastax-opscenter
Here is the configuration:
-bash-3.2$ uname -a
Linux vicqadw01.abebooks.com 2.6.18-194.26.1.el5 #1 SMP Fri Oct 29 14:21:16 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
-bash-3.2$ java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
-bash-3.2$ nodetool ring -h localhost
Address DC Rack Status State Load Owns Token
127.0.0.1 Analytics rack1 Up Normal 729.31 KB 100.00% 0
-bash-3.2$ python -V
Python 2.6.7
-bash-3.2$ which openssl
/usr/bin/openssl
Here is the error message:
-bash-3.2$ opscenter &
[1] 31644
-bash-3.2$ Traceback (most recent call last):
File "/usr/share/cassandra/datastax/opscenter-1.3/lib/py-redhat/2.6/amd64/twisted/application/app.py", line 631, in run
runApp(config)
File "/usr/share/cassandra/datastax/opscenter-1.3/lib/py-redhat/2.6/amd64/twisted/scripts/twistd.py", line 23, in runApp
_SomeApplicationRunner(config).run()
File "/usr/share/cassandra/datastax/opscenter-1.3/lib/py-redhat/2.6/amd64/twisted/application/app.py", line 374, in run
self.application = self.createOrGetApplication()
File "/usr/share/cassandra/datastax/opscenter-1.3/lib/py-redhat/2.6/amd64/twisted/application/app.py", line 439, in createOrGetApplication
application = getApplication(self.config, passphrase)
--- <exception caught here> ---
File "/usr/share/cassandra/datastax/opscenter-1.3/lib/py-redhat/2.6/amd64/twisted/application/app.py", line 450, in getApplication
application = service.loadApplication(filename, style, passphrase)
File "/usr/share/cassandra/datastax/opscenter-1.3/lib/py-redhat/2.6/amd64/twisted/application/service.py", line 400, in loadApplication
application = sob.loadValueFromFile(filename, 'application', passphrase)
File "/usr/share/cassandra/datastax/opscenter-1.3/lib/py-redhat/2.6/amd64/twisted/persisted/sob.py", line 210, in loadValueFromFile
exec fileObj in d, d
File "bin/start_opscenter.py", line 1, in <module>
from opscenterd import opscenterd_tap
File "build/lib/python2.7/site-packages/opscenterd/opscenterd_tap.py", line 16, in <module>
File "build/lib/python2.7/site-packages/opscenterd/Config.py", line 391, in init_config
File "build/lib/python2.7/site-packages/opscenterd/events/plugins/CassandraStore.py", line 12, in <module>
File "build/lib/python2.7/site-packages/opscenterd/CassandraService.py", line 17, in <module>
File "build/lib/python2.7/site-packages/opscenterd/Cluster.py", line 14, in <module>
File "build/lib/python2.7/site-packages/opscenterd/AgentServer.py", line 23, in <module>
File "build/lib/python2.7/site-packages/opscenterd/HttpUtils.py", line 10, in <module>
File "/usr/share/cassandra/datastax/opscenter-1.3/lib/py-redhat/2.6/amd64/OpenSSL/__init__.py", line 11, in <module>
import rand, crypto, SSL, tsafe
exceptions.ImportError: /usr/share/cassandra/datastax/opscenter-1.3/lib/py-redhat/2.6/amd64/OpenSSL/crypto.so: undefined symbol: PyUnicodeUCS4_Decode
Failed to load application: /usr/share/cassandra/datastax/opscenter-1.3/lib/py-redhat/2.6/amd64/OpenSSL/crypto.so: undefined symbol: PyUnicodeUCS4_Decode
[1]+ Exit 1 opscenter
I can ran CQL shell,
-bash-3.2$ cqlsh
cqlsh> use craftersman;
cqlsh> select isbn,request_time_unix from s2 limit 2;
isbn | request_time_unix |
| 1319357983 |
| 1319357963 |
cqlsh>
Thanks for the help,
Charlie Z
