0

両方とも Windows 7 の 2 台の異なるマシンで Datastax Community Edition (datastax-community-64bit_1.2.6.msi) でエラーが発生しています。どちらの場合も OpsCentre が機能していません。これはインストールの直後であり、インストール ウィザードに従う以外には何もしていません。OpsCenter がブラウザでのロードを完了すると、次のエラーが表示されます ("localhost:88888"):

「イベントの読み込みエラー: ClusterServices インスタンスに属性 'event_store' がありません」

いくつかのコンテキストを提供するために、Cassandra バックエンドを使用して ASP.NET MVC アプリケーションを開発したいと考えており、例として [Chirper .NET アプリ][1] を使用してそれを把握しようとしています。

どうもありがとう、H

---- opscenterd.log の最初の数行

2013-07-31 15:51:39+0800 []  INFO: Log opened.
2013-07-31 15:51:39+0800 []  INFO: twistd 10.2.0 (C:\Program Files\DataStax Community\python\python.exe 2.7.2) starting up.
2013-07-31 15:51:39+0800 []  INFO: reactor class: twisted.internet.selectreactor.SelectReactor.
2013-07-31 15:51:39+0800 []  INFO: Logging level set to 'info'
2013-07-31 15:51:39+0800 []  INFO: OpsCenter version: 3.1.1
2013-07-31 15:51:39+0800 []  INFO: Compatible agent version: 3.1.1
2013-07-31 15:51:39+0800 []  INFO: Loading per-cluster config file C:\Program Files\DataStax Community\opscenter\conf\clusters\local.conf
2013-07-31 15:51:39+0800 []  INFO: HTTP BASIC authentication disabled
2013-07-31 15:51:39+0800 []  INFO: Starting webserver with ssl disabled.
2013-07-31 15:51:39+0800 []  INFO: SSL disabled
2013-07-31 15:51:39+0800 []  INFO: opscenterd.WebServer.OpsCenterdWebServer starting on 8888
2013-07-31 15:51:39+0800 []  INFO: Starting factory <opscenterd.WebServer.OpsCenterdWebServer instance at 0x028E9C60>
2013-07-31 15:51:39+0800 []  INFO: Unhandled error in Deferred:
2013-07-31 15:51:39+0800 [] Unhandled Error
    Traceback (most recent call last):
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\scripts\_twistw.py", line 47, in postApplication
        app.startApplication(self.application, not self.config['no_save'])
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\application\app.py", line 653, in startApplication
        service.IService(application).startService()
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\application\service.py", line 277, in startService
        service.startService()
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 1141, in unwindGenerator
        return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
    --- <exception caught here> ---
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 1020, in _inlineCallbacks
        result = g.send(result)
      File "build/lib/python2.7/site-packages/opscenterd/OpsCenterdService.py", line 54, in startService

      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\application\service.py", line 277, in startService
        service.startService()
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\application\service.py", line 277, in startService
        service.startService()
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\application\internet.py", line 110, in startService
        self._port = self._getPort()
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\application\internet.py", line 131, in _getPort
        'listen%s' % (self.method,))(*self.args, **self.kwargs)
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\posixbase.py", line 419, in listenTCP
        p.startListening()
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\tcp.py", line 857, in startListening
        raise CannotListenError, (self.interface, self.port, le)
    twisted.internet.error.CannotListenError: Couldn't listen on 127.0.0.1:61619: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions.

2013-07-31 15:51:48+0800 [] ERROR: Problem while calling EventsController: ClusterServices instance has no attribute 'event_store'
2013-07-31 15:51:48+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 1020, in _inlineCallbacks
        result = g.send(result)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1198, in EventsController

2013-07-31 15:51:48+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:51:48+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:51:48+0800 [] ERROR: Problem while calling StorageCapacityController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:51:48+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 316, in StorageCapacityController

2013-07-31 15:51:48+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:51:48+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:51:48+0800 [] ERROR: Problem while calling MissingAgentsController: ClusterServices instance has no attribute 'agents'
2013-07-31 15:51:48+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1523, in MissingAgentsController

2013-07-31 15:51:49+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:51:49+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:51:49+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:51:49+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:51:49+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:51:49+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:51:49+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:51:49+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:51:49+0800 []  INFO: No handlers could be found for logger "orbited.proxy.ProxyIncomingProtocol"
2013-07-31 15:51:50+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:51:50+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:51:50+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:51:50+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:51:50+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:51:50+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:51:50+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:51:50+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:51:50+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:51:50+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:51:50+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:51:50+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:52:48+0800 [] ERROR: Problem while calling EventsController: ClusterServices instance has no attribute 'event_store'
2013-07-31 15:52:48+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 1020, in _inlineCallbacks
        result = g.send(result)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1198, in EventsController

2013-07-31 15:52:48+0800 [] ERROR: Problem while calling MissingAgentsController: ClusterServices instance has no attribute 'agents'
2013-07-31 15:52:48+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1523, in MissingAgentsController

2013-07-31 15:52:50+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:52:50+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:52:50+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:52:50+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:52:50+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:52:50+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:52:50+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:52:50+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:52:50+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:52:50+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:52:50+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:52:50+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:53:49+0800 [] ERROR: Problem while calling EventsController: ClusterServices instance has no attribute 'event_store'
2013-07-31 15:53:49+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 1020, in _inlineCallbacks
        result = g.send(result)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1198, in EventsController

2013-07-31 15:53:49+0800 [] ERROR: Problem while calling MissingAgentsController: ClusterServices instance has no attribute 'agents'
2013-07-31 15:53:49+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1523, in MissingAgentsController

2013-07-31 15:53:50+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:53:50+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:53:51+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:53:51+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:53:52+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:53:52+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:53:53+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:53:53+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:53:54+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:53:54+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:53:55+0800 [] ERROR: Problem while calling MetricsAggregateController: ClusterServices instance has no attribute 'cluster'
2013-07-31 15:53:55+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1445, in MetricsAggregateController

2013-07-31 15:54:49+0800 [] ERROR: Problem while calling MissingAgentsController: ClusterServices instance has no attribute 'agents'
2013-07-31 15:54:49+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 133, in maybeDeferred
        result = f(*args, **kw)

      File "build/lib/python2.7/site-packages/opscenterd/WebServer.py", line 1523, in MissingAgentsController

2013-07-31 15:54:49+0800 [] ERROR: Problem while calling EventsController: ClusterServices instance has no attribute 'event_store'
2013-07-31 15:54:49+0800 [] ERROR: 
      File "C:\Program Files\DataStax Community\opscenter\lib\py-win32\2.7\twisted\internet\defer.py", line 1020, in _inlineCallbacks
        result = g.send(result)
4

2 に答える 2

1

これが問題です:

パーミッションで禁止されている方法でソケットにアクセスしようとしました

私はWindowsにあまり詳しくないので、何が原因なのかわかりません。ファイアウォール?管理者として実行していませんか?

于 2013-08-05T12:56:06.720 に答える