在Windows Server 2008上发出启动MongoDB服务的问题

时间:2016-04-26 19:53:03

标签: node.js mongodb iis windows-server-2008 iisnode

该服务工作正常,直到它突然崩溃,并且不会重新启动。这是日志文件:

2016-04-20T22:51:31.166-0400 I CONTROL  [serviceShutdown] got SERVICE_CONTROL_PRESHUTDOWN request from Windows Service Control Manager, will terminate after current cmd ends
2016-04-20T22:51:31.179-0400 I FTDC     [serviceStopWorker] Shutting down full-time diagnostic data capture
2016-04-20T22:51:31.211-0400 I CONTROL  [serviceStopWorker] now exiting
2016-04-20T22:51:31.211-0400 I NETWORK  [serviceStopWorker] shutdown: going to close listening sockets...
2016-04-20T22:51:31.211-0400 I NETWORK  [serviceStopWorker] closing listening socket: 516
2016-04-20T22:51:31.211-0400 I NETWORK  [serviceStopWorker] shutdown: going to flush diaglog...
2016-04-20T22:51:31.211-0400 I NETWORK  [serviceStopWorker] shutdown: going to close sockets...
2016-04-20T22:51:31.211-0400 I NETWORK  [conn135] end connection 127.0.0.1:61587 (4 connections now open)
2016-04-20T22:51:31.211-0400 I STORAGE  [serviceStopWorker] WiredTigerKVEngine shutting down
2016-04-20T22:51:31.211-0400 I NETWORK  [conn137] end connection 127.0.0.1:61589 (4 connections now open)
2016-04-20T22:51:31.211-0400 I NETWORK  [conn133] end connection 127.0.0.1:61585 (4 connections now open)
2016-04-20T22:51:31.211-0400 I NETWORK  [conn134] end connection 127.0.0.1:61586 (4 connections now open)
2016-04-20T22:51:31.211-0400 I NETWORK  [conn136] end connection 127.0.0.1:61588 (4 connections now open)
2016-04-20T22:51:31.338-0400 I STORAGE  [serviceStopWorker] shutdown: removing fs lock...
2016-04-20T22:51:31.341-0400 I CONTROL  [serviceStopWorker] dbexit:  rc: 49

有人有过类似的问题吗?我使用IISnode与节点服务器一起运行mongo。

1 个答案:

答案 0 :(得分:0)

另一位同事在mongo.config中更改了Mongo日志文件的路径。我是白痴