DB2 ESE 9.1在Windows Server 2008下出現無法建立資料庫的情況及解決辦法

來源:互聯網
上載者:User

DB2 Enterprise Server Edition(DB2 ESE)9.1在Windows Server 2008 下出現無法建立資料庫的情況及解決辦法

在安裝有,DB2 9.1版本的Windows Server 2008 上面,使用預設的安裝方式導致無法建立資料庫,相關的錯誤提示:

"SQL3012C 發生系統錯誤(原因碼= "")。無法處理後續的SQL 陳述式。SQLSTATE=58005”。

通過分析日誌"%programfiles%\IBM\SQLLIB\DB2\db2diag.log"(預設情況下會在這個地方),發現很多訪問被阻止(Access Defined),此時會看到一些錯誤返回與提示:

RETCODE : ZRC=0x840F0001=-2079391743=SQLO_ACCD "Access Denied"

DIA8701C Access denied for resource "", operating system return code

was "".

這類的錯誤提示,上面的代碼原因為空白可能就是源自於此錯誤地翻譯顯示。

問題如何解決,搜尋相應的關鍵字,SQLSTATE=58005、Access Denied在IBM的知識庫裡面找到了相關的資訊,本例的解決方案就是源自於這個協助。

串連如下:http://www-01.ibm.com/support/docview.wss?uid=swg21442542雖然標題中的SQL?????內容並不一樣,但是查看了一下環境屬於的範圍,還是很順利的解決了。

以下內容是IBM的原始文檔資訊:

Environment

Windows 2008 Server

DB2 9.1 ESE

Diagnosing the problem

View the db2diag.log file for the errors above.

Resolving the problem

更多精彩內容:http://www.bianceng.cnhttp://www.bianceng.cn/database/db2/

Re-installation of DB2 is required. During the re-installation de-select "enable operating system security for DB2 objects"

After making this change you will be able to create the required databases for Sametime Advanced.

NOTE: Sametime Advanced 8.0.1 does not yet support DB2 9.5 which does not have this problem with Windows 2008 server security.

雖然我並沒有安裝Sametime Advanced,但是此原因確實是因為相關的安全許可權而受影響的。

Figure 1解決方案就添加刪除程式中對DB2 9.1 ESE 修複安裝,並取消對“啟用作業系統安全性”的勾選

總結:

遇見一些奇怪的問題還是要多多利用官方資源,同時一些預設的複選和操作可能並不適應所有的作業系統,需要多多留意軟體安裝版本,系統內容,以及日誌資訊。

作者:cnblogs 周冠宇

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.