亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: DB2 V8.2 under SUSE11 創(chuàng)建實(shí)例失敗及解決的辦法 [打印本頁]

作者: sunlan    時(shí)間: 2012-02-25 23:47
標(biāo)題: DB2 V8.2 under SUSE11 創(chuàng)建實(shí)例失敗及解決的辦法
最近做的一個(gè)項(xiàng)目,操作系統(tǒng)使用的是SUSE 11sp1、數(shù)據(jù)庫是由客戶提供的DB2 V8.2。如往常一樣裝好數(shù)據(jù)庫軟件,在使用db2icrt創(chuàng)建實(shí)例的時(shí)候始終報(bào)錯(cuò)。日志中報(bào)了以下內(nèi)容:
  1.        Program name = db2idbm
  2. Instance home dir = /home/db2,   Sysadm group = db2admin
  3. Instance type = 1,  Auth type = SERVER

  4. SQL6048N  A communication error occurred during START or STOP DATABASE MANAGER
  5. processing.
  6. Update DBM cfg SYSADM_GROUP errcode = 8
  7. DBI1281E The database manager configuration file could not be
  8.           initialized.

  9. Explanation:

  10. An error occurred when attempting to initialize the database
  11. manager configuration file. A DB2 instance could not be created
  12. or migrated.

  13. User Response:

  14. Refer to the log file for problem determination. Resolve the
  15. problem and try the command again. If the problem persists,
  16. please contact IBM Support.
復(fù)制代碼
起初百思不得其解,同樣的方法,為什么在其他的操作系統(tǒng)(包括SUSE 10)上是正常的、而在SUSE 11上會(huì)出差呢?起初懷疑是SUSE 11的某些運(yùn)行環(huán)境與DB2 V8.2不兼容,后來經(jīng)檢查發(fā)現(xiàn),問題出在hosts文件中。大多數(shù)的linux操作系統(tǒng)會(huì)自動(dòng)將主機(jī)的名稱($HOSTNAME)自動(dòng)添加到/etc/hosts中,而SUSE 11的/etc/hosts文件中僅有l(wèi)ocalhost項(xiàng)。而DB2創(chuàng)建實(shí)例時(shí)需要使用hostname項(xiàng)。在手動(dòng)將hostname添加到hosts文件中后,創(chuàng)建實(shí)例、啟動(dòng)實(shí)例等操作一切正常。





歡迎光臨 Chinaunix (http://72891.cn/) Powered by Discuz! X3.2