I'm having some issues getting opscenter (free) to start; this is a new install.
My cluster in on EC2; the first monitoring box I tried the install on was an Amazon-built AMI (ami-8c1fece5, 2.6.35.11-83.9.amzn1.i686).
I noticed on the rpm install that I get the error
cp: cannot stat/var/lib/opscenter/ssl/agentKeyStore': No such file or directory`
and if I create it, that becomes
cp: omitting directory/var/lib/opscenter/ssl/agentKeyStore'`
This was last week with version 1.2.1, log as follows:
2011-08-05 14:36:55-0400 [-] Log opened.
2011-08-05 14:36:55-0400 [-] twistd 10.2.0 (/usr/bin/python2.6 2.6.7) starting up.
2011-08-05 14:36:55-0400 [-] reactor class: twisted.internet.selectreactor.SelectReactor.
2011-08-05 14:36:55-0400 [-] set uid/gid 219/497
2011-08-05 14:36:55-0400 [-] Logging level set to 'trace'
2011-08-05 14:36:55-0400 [-] OpsCenterdService startService
2011-08-05 14:36:55-0400 [-] OpsCenter version: 1.2.1
2011-08-05 14:36:55-0400 [-] Compatible agent version: 2.1
2011-08-05 14:36:55-0400 [-] HTTP BASIC authentication enabled
2011-08-05 14:36:55-0400 [-] Unhandled error in Deferred:
2011-08-05 14:36:55-0400 [-] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/twisted/scripts/_twistd_unix.py", line 317, in startApplication
app.startApplication(application, not self.config['no_save'])
File "/usr/lib/python2.6/site-packages/twisted/application/app.py", line 653, in startApplication
service.IService(application).startService()
File "/usr/lib/python2.6/site-packages/twisted/application/service.py", line 277, in startService
service.startService()
File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line 1141, in unwindGenerator
return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
--- <exception caught here> ---
File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line 1020, in _inlineCallbacks
result = g.send(result)
File "/usr/lib/python2.6/site-packages/opscenterd/OpsCenterdService.py", line 195, in startService
File "/usr/lib/python2.6/site-packages/opscenterd/OpsCenterdService.py", line 54, in setup
File "/usr/lib/python2.6/site-packages/opscenterd/OpsCenterdService.py", line 177, in SetupAgentService
OpenSSL.SSL.Error: [('system library', 'fopen', 'No such file or directory'), ('BIO routines', 'BIO_new_file', 'no such file'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]
I noticed there was a new version today, but retrying the install gives much the same error on startup:
2011-08-10 19:02:24-0400 [] INFO: Log opened.
2011-08-10 19:02:24-0400 [] INFO: twistd 10.2.0 (/usr/bin/python2.6 2.6.7) starting up.
2011-08-10 19:02:24-0400 [] INFO: reactor class: twisted.internet.selectreactor.SelectReactor.
2011-08-10 19:02:24-0400 [] INFO: set uid/gid 219/497
2011-08-10 19:02:24-0400 [] INFO: Logging level set to 'trace'
2011-08-10 19:02:24-0400 [] INFO: OpsCenterdService startService
2011-08-10 19:02:24-0400 [] INFO: OpsCenter version: 1.2.2
2011-08-10 19:02:24-0400 [] INFO: Compatible agent version: 2.2
2011-08-10 19:02:24-0400 [] DEBUG: Logging user config options:
2011-08-10 19:02:24-0400 [] DEBUG: jmx : [('port', '7199')], logging : [('level', 'TRACE')], webserver : [('interface', '107.xx.xx.xxx'), ('port', '8888')], authentication : [], cassandra_metrics : [], cassandra : [('api_port', '9160'), ('seed_hosts', '10.xx.xxx.xxx')],
2011-08-10 19:02:24-0400 [] INFO: HTTP BASIC authentication enabled
2011-08-10 19:02:24-0400 [] INFO: Unhandled error in Deferred:
2011-08-10 19:02:24-0400 [] INFO:
Trying on another box (one of the cassandra nodes) results in an identical error.
That box looks like this:
$ cat /etc/redhat-release
CentOS release 5.6 (Final)
$ java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
$ nodetool -h localhost version
ReleaseVersion: 0.8.3
Any recommendations? I'm assuming since it happens on two very different boxes it's something I'm doing, but I don't see any pointers in the docs.
Thanks!
