我已经在带有 ubuntu 的 azure 虚拟服务器上安装了 Greg Youngs EventStore,如下所述:在 Windows Azure 上设置 EventStore
EventStore 正在运行,我可以使用 .Net Api 连接到它,但 http 服务器根本不工作。Web 界面不如 atom api 好用。我没有得到服务器的答复。日志中没有任何内容。端口转发似乎在 tcp 端点工作时工作。
这是日志:
[53170,01,18:13:00.010] MessageHierarchy initialization took 00:00:00.1765448.
[53170,01,18:13:03.093] CACHED TFChunk #0-0 (chunk-000000.000000) in 00:00:00.3169408.
[53170,01,18:13:03.341] Starting MiniWeb for /web/es/js/projections ==> /home/azureuser/EventStore/bin/eventstore/release/anycpu/singlenode-web/js/projections
[53170,01,18:13:03.341] Starting MiniWeb for /web/es/js/projections/v8/Prelude ==> /home/azureuser/EventStore/bin/eventstore/release/anycpu/Prelude
[53170,01,18:13:03.342] Starting MiniWeb for /web/es/js/projections/resources ==> /home/azureuser/EventStore/bin/eventstore/release/anycpu/web-resources/js
[53170,01,18:13:03.343] Binding MiniWeb to /web/es/js/projections/{*remaining_path}
[53170,01,18:13:03.343] Binding MiniWeb to /web/es/js/projections/v8/Prelude/{*remaining_path}
[53170,01,18:13:03.343] Binding MiniWeb to /web/es/js/projections/resources/{*remaining_path}
[53170,01,18:13:03.348] Starting MiniWeb for /web ==> /home/azureuser/EventStore/bin/eventstore/release/anycpu/singlenode-web
[53170,01,18:13:03.348] Starting MiniWeb for /web/es ==> /home/azureuser/EventStore/bin/eventstore/release/anycpu/es-common-web
[53170,01,18:13:03.348] Binding MiniWeb to /web/{*remaining_path}
[53170,01,18:13:03.348] Binding MiniWeb to /web/es/{*remaining_path}
[53170,01,18:13:03.348] Starting MiniWeb for /web/users ==> /home/azureuser/EventStore/bin/eventstore/release/anycpu/Users/web
[53170,01,18:13:03.348] Binding MiniWeb to /web/users/{*remaining_path}
[53170,10,18:13:03.384] ========== [#############:2113] SYSTEM INIT...
[53170,08,18:13:03.457] TableIndex initialization...
[53170,08,18:13:03.472] ReadIndex building...
[53170,10,18:13:03.502] Starting Normal TCP listening on TCP endpoint: ###############:1113.
[53170,10,18:13:03.568] SLOW BUS MSG [MainBus]: SystemInit - 115ms. Handler: TcpService.
[53170,10,18:13:03.641] Starting HTTP server on [####################]...
[53170,10,18:13:03.646] HTTP server is up and listening on [#######################]
[53170,10,18:13:03.646] SLOW BUS MSG [MainBus]: SystemInit - 77ms. Handler: HttpService.
[53170,10,18:13:03.713] SLOW QUEUE MSG [MainQueue]: SystemInit - 296ms. Q: 0/1012.
[53170,08,18:13:05.878] ReadIndex Rebuilding Done: total processed 33820 records, time elapsed: 00:00:02.4055370.
[53170,10,18:13:05.882] ========== [##############:2113] SYSTEM START....
[53170,08,18:13:05.882] SLOW QUEUE MSG [StorageWriterQueue]: SystemInit - 2488ms. Q: 0/0.
[53170,10,18:13:05.889] ========== [#############:2113] PRE-MASTER STATE, WAITING FOR CHASER TO CATCH UP...
[53170,10,18:13:05.894] ========== [#############:2113] IS WORKING!!! SPARTA!!!
[53170,08,18:13:06.024] === Writing E3@248463988:{d52679ba-8314-479e-8d9c-9911094d17a8} (previous epoch at 301989).
[53170,12,18:13:06.029] SLOW BUS MSG [manager input bus]: ReadStreamEventsBackwardCompleted - 60ms. Handler: ProjectionManager.
[53170,12,18:13:06.029] SLOW QUEUE MSG [Projections Master]: ReadStreamEventsBackwardCompleted - 64ms. Q: 0/4.
[53170,08,18:13:06.122] === Update Last Epoch E3@248463988:{d52679ba-8314-479e-8d9c-9911094d17a8} (previous epoch at 301989).
[53170,13,18:13:06.157] Creating an event distribution point at 'C:0/P:-1'
有人有类似的问题吗?
我的配置:
{
"db": "/mnt/datadrive/eventStore/db",
"logsDir": "/mnt/datadrive/eventStore/logs",
"ip": "10.26.222.3",
"httpPrefixes": ["http://mymachinename.cloudapp.net/"]
}