嘗試開啟資料庫,會出現錯誤訊息:
"database is being taken offline and cannot be opened"
也不能在Server Console 下load fixup/compact/updall 等 command,
測試將資料庫移動到其他目錄,可在 Server 的 命令提示字元 下,nfixup/ncompact/nupdall 等command.
最後, 找到這篇 Petter Blog
做一個Agent , 並Run 在Server 上. (tell agent run "agent_database.nsf" 'agent_name')
Option Public
Option Declare
Declare Private Function NSFBringDatabaseOnline Lib "nnotes" Alias "NSFBringDatabaseOnline" ( Byval dbPath As String, Byval Z As Long) As Integer
Sub Initialize
Call NSFBringDatabaseOnline("mail/abc.xyz.nsf",0) -> abc.xyz.nsf 更換為異常的資料庫
End Sub
沒有留言:
張貼留言