如何从Mounting阶段恢复数据库

时间:2015-03-23 10:59:00

标签: marklogic database nosql

我们正在使用MarkLogic服务器'7.0-2.3',它有几个应用程序数据库。在我们的64位服务器上,RAM为16 GB,总可用空间为368GB,其中267 GB是免费提供的。

但我们仍然面临着Mounting问题。从最后3到4小时,它处于恢复模式。是否有任何方法可以帮助我们更快地恢复它而不会丢失任何文件。

我已经在WEB上搜索并找到了一些解决方案:

https://help.marklogic.com/knowledgebase/article/View/134/0/my-forests-are-taking-a-long-time-to-mount---what-should-i-do

但由于MarkLogic没有响应,我无法设置这些已定义的更改。

Image from MarkLogic server

日志错误:

2015-03-23 11:22:26.795 Info: Mounted forest Last-Login locally on C:\Program Files\MarkLogic\Data\Forests\Last-Login read write
2015-03-23 11:22:26.826 Info: Mounted forest Documents locally on C:\Program Files\MarkLogic\Data\Forests\Documents read write
2015-03-23 11:22:26.841 Info: Mounted forest Modules locally on C:\Program Files\MarkLogic\Data\Forests\Modules read write
2015-03-23 11:22:26.873 Info: Mounted forest Extensions locally on C:\Program Files\MarkLogic\Data\Forests\Extensions read write
2015-03-23 11:22:26.904 Info: Mounted forest IETTV-Forest-RelatedContent locally on C:\Program Files\MarkLogic\Data\Forests\IETTV-Forest-RelatedContent read write
2015-03-23 11:22:26.904 Info: Mounted forest IETTV-Activity-Forest locally on C:\Program Files\MarkLogic\Data\Forests\IETTV-Activity-Forest read write
2015-03-23 11:22:26.935 Info: Mounted forest IETTV-Code-RelatedContent locally on C:\Program Files\MarkLogic\Data\Forests\IETTV-Code-RelatedContent read write
2015-03-23 11:22:26.935 Warning: Collapsing timestamps to 14272416000000000 for forest IETTV-Forest
2015-03-23 11:22:26.935 Warning: Missing journal file C:\Program Files\MarkLogic\Data\Forests\IETTV-Forest\Journals\Journal1-19861226230000-0-518119-0
2015-03-23 11:22:26.966 Info: Mounted forest Security locally on C:\Program Files\MarkLogic\Data\Forests\Security read write
2015-03-23 11:22:27.013 Warning: Collapsing timestamps to 14272416000000000 for forest IETTV-Activity-Forest
2015-03-23 11:22:27.013 Warning: Missing journal file C:\Program Files\MarkLogic\Data\Forests\IETTV-Activity-Forest\Journals\Journal1-19861226230000-0-138399-0
2015-03-23 11:25:00.824 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:26:00.629 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:27:00.229 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:28:00.709 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:28:30.852 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:29:00.850 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:30:00.844 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:31:00.855 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:32:00.855 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:33:00.870 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:34:00.890 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:35:00.902 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:36:01.027 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:37:00.028 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:38:00.034 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:39:00.040 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:40:00.057 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected
2015-03-23 11:41:00.065 Error: PooledThread::run: XDMP-FORESTMNT: Forest Meters not mounted: disconnected

2 个答案:

答案 0 :(得分:2)

这很糟糕:

Warning: Missing journal file C:\Program Files\MarkLogic\Data\Forests\IETTV-Activity-Forest\Journals\Journal1-19861226230000-0-138399-0

这可能是文件系统损坏的结果,可能是坏磁盘甚至是坏内存。它不太可能是MarkLogic中的错误。所以我会查看操作系统日志,看看是否有任何相关错误。我还会运行一个完整的文件系统检查。

你有备份,对吧?

您可以与支持小组联系,了解他们是否可以提供帮助。他们可能会建议关闭服务器,然后从该林中删除LabelJournals

但是,如果它是文件系统损坏或磁盘坏的低级问题,您可能会在其他磁盘结构中遇到错误。在这种情况下,您不太可能恢复数据。我预测,在解决任何可能出现的低级问题之后,你最终会清除森林。

最后 - 这可能与问题无关 - 我将升级到7.0-5以获取最新的错误修复:http://developer.marklogic.com/products/marklogic-server/7.0

答案 1 :(得分:0)

"折叠时间戳"消息表明您在某个时间点为主机设置的日期非常不正确。

"断开"消息表明群集中存在网络问题,或者某些计算机未正常运行。