一般問題的疑難排解

在 Solaris 升級代理程式需要執行 pkgrm 指令

請先使用 pkgrm BFAgent 指令來移除現有的 Solaris Build Forge 代理程式,再執行 pkgadd 指令。

7.0 通知範本的 URL 可能無法在較新版本中運作

當您按一下通知電子郵件中的 URL 鏈結時,通知範本 URL 會開啟 Build Forge 工作報告。

在 7.0.1 和 7.1 版中,通知範本中的 URL 已變更;因此,當您從 7.0 升級至最新版時,URL 可能無法運作。

如果您遇到鏈結錯誤,請完成以下步驟來手動編輯通知範本:
  1. 選取專案 > 範本
  2. 按一下通知範本名稱,以便在「詳細資料」標籤中顯示其內容。
  3. 在「內文」欄位中,尋找範本的 URL。此 URL 應該類似下列範例中的 URL:
    http://${CONSOLEHOST}:${CONSOLEPORT}/fullcontrol/index.php?mod=projectruns&action=
    edit&bfid=${PID}&bfid=${BID}&bfid=${UID}
  4. 以適當的 7.0.1 以及更新版本的 URL 元素,取代下列 URL 元素:
    URL 元素 7.0.1(以及更新版本)URL 元素
    projectruns jobs
    & &
    action=edit action=build.view
    &bfid=${PID} | &bfid=${BID} | &bfid=${UID} &bf_id=${BID}

產品沒有回應

如果 Rational Build Forge 沒有回應,請查看 <bfinstall>/Apache/tomcat/logs/(UNIX 或 Linux)或 <bfinstall>\Apache\tomcat\logs\ (Windows) 中的日誌,找出類似下列內容的訊息:


Services: 20075: CRRBF1381I: Established connection to Build Forge Services.
DBD::DB2::st execute failed: [IBM][CLI Driver] SQL30081N  A communication error has been detected.
   Communication protocol being used: "TCP/IP".
   Communication API being used: "SOCKETS".
   Location where the error was detected: "XXX.XXX.XXX.XXX".
   Communication function detecting the error: "recv".
   Protocol specific error code(s): "131", "*", "0".  SQLSTATE=08001
   August 17, 2010  7:18:14 AM EDT 
Database: 20075: CRRBFEEEEE: DBD::DB2::st execute failed: 
   [IBM][CLI Driver] SQL30081N  A communication error has been detected.  
   Communication protocol being used: "TCP/IP".
   Communication API being used: "SOCKETS".
   Location where the error was detected: "XXX.XXX.XXX.XXX".
   Communication function detecting the error: "recv".
   Protocol specific error code(s): "131", "*", "0".  SQLSTATE=08001

Database: 20075: CRRBF0551I: StackTrace from Process id [20075] called from [
   BuildForge::DB::db2(./PerlApp/BuildForge/DB/db2.pm:65)
   BuildForge::Utilities::SysParams(./PerlApp/BuildForge/Utilities/SysParams.pm:57)
   main(.buildforge.pl:305)
   main(.buildforge.pl:213)
]
Database: 20075: CRRBF0556I: Trying to call [execute] on a non-existant database handle
DBD::DB2::st fetchrow_hashref failed: no statement executing at /PerlApp/BuildForge/DB/db2.pm 
  line 78, <$sock> line 1054.
20075: CRRBF0555E: Problem performing Database Operation [fetchrow_hashref] : DBD::DB2::st 
  fetchrow_hashref failed: no statement executing at /PerlApp/BuildForge/DB/db2.pm 
  line 78, <$sock> line 1054.

Database: 20075: CRRBFEEEEE: DBD::DB2::st fetchrow_hashref failed: no statement executing 
  at /PerlApp/BuildForge/DB/db2.pm line 78, <$sock> line 1054.

Database: 20075: CRRBF0551I: StackTrace from Process id [20075] called from [
   BuildForge::Utilities::SysParams(./PerlApp/BuildForge/Utilities/SysParams.pm:59)
   main(.buildforge.pl:305)
   main(.buildforge.pl:213)
]
[IBM][CLI Driver] CLI0106E  Connection is closed.
SQLSTATE=08003 at /PerlApp/BuildForge/DB/Handle.pm
   line 385, <$sock> line 1054.
Database: 20075: CRRBF0555E: Problem performing Database Operation [prepare] :
   query [SELECT * FROM bf_jobcount WHERE bf_engine_id=?]
DBD::DB2::db prepare failed: [IBM][CLI Driver] CLI0106E  Connection is closed.
      SQLSTATE=08003 at /PerlApp/BuildForge/DB/Handle.pm line 385, <$sock> line 1054.

Database: 20075: CRRBFEEEEE: DBD::DB2::db prepare failed: [IBM][CLI Driver] CLI0106E
   連線已關閉。SQLSTATE=08003 at /PerlApp/BuildForge/DB/Handle.pm
   line 385, <$sock> line 1054.

其中 XXX.XXX.XXX.XXX 是管理您資料庫的伺服器。

這則訊息指出 Rational Build Forge 與資料庫之間沒有連線。

若要重新建立連線,請執行下列動作:

  1. 依照啟動與停止引擎中的說明,關閉 Rational Build Forge。
  2. 確定資料庫在執行中。
  3. 依照啟動與停止引擎中的說明,啟動 Rational Build Forge。

意見