Solaris 9 12/03 安裝指南

驗證 custom_probes 檔案

  1. 確認 check 程序檔是否位於 JumpStart 目錄中。


    註解 –

    check 程序檔位於 Solaris DVD 或 Solaris Software 1 of 2 CD 上的 Solaris_9/Misc/jumpstart_sample 目錄中。


  2. 變更至 JumpStart 目錄。

  3. 執行 check 程序檔,以驗證 rules 檔案和 custom_probes 檔案。


    $ ./check [[-p path -r file_name]]
    -p path

    使用您平台的 Solaris 9 軟體影像之 check 程序檔來驗證 custom_probes 檔案,而不要使用您所用系統的 check 程序檔。path 是本機磁碟、裝載的 Solaris DVD 或 Solaris Software 1 of 2 CD 上的影像。

    如果系統執行的是舊版 Solaris,請使用此選項來執行最新版本的 check

    -r file_name

    指定一個與 custom_probes 檔名不相同的檔名。使用 -r 選項,可以先測試一組函式的有效性,然後將這些函式整合至 custom_probes 檔案。

    檔案 check 程序檔執行時,此程序檔會報告 rules 檔案、custom_probes 檔案以及每個設定檔的有效性。如果沒有發生任何錯誤,此程序檔會報告:「自訂 JumpStart 配置正確」,並在 JumpStart 目錄中建立 rules.ok 檔案與 custom_probes.ok 檔案。

  4. 確定 custom_probes.ok 檔案是否可以執行。

    • 如果可以,請移至步驟 5

    • 如果不可以,請鍵入以下指令:


      # chmod +x custom_probes
      

  5. 確保超級使用者擁有 custom_probes.ok 檔案,並且許可權已設定為 755。