Try   HackMD

🗨 問題:

這個問題主要是因為測驗系統使用的 Port 預設為 80 Port,而該電腦的 80 Port 已被其它服務使用才造成這個問題,只需要找出使用該 Port 的服務,並將其停止後即可正常啟動,錯誤訊息如下:

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

💬 回覆:

該問題可能發生的原因如下:

💦 80 port沒有被佔用,可能是電腦名稱為純數字,若是此狀況,請依下述方式解決。

  • 請學校將還原解開修改電腦名稱為STnn(英文+數字),在重新開機後即可執行CSFExamService服務。

💦 因為 80 Port 被Apache服務佔用,若是此狀況,請依下述方式解決。

  • 啟動【命令字元模式】,並輸入下述指令。
httpd.exe -k stop ||httpd.exe -k shutdown

💦 80 port沒有被佔用,可能是安裝不完全,若是此狀況,請依下述方式解決。

  • C:\CSF\資料夾下的測驗服務,正常應該只有一個【CSFExamService】資料夾。

  • 狀況一、有【CSFExamServiceNew】資料夾,沒有【CSFExamService】資料夾。
    解決方法:將【CCSFExamServiceNew】重新命名為【CCSFExamService】。

  • 狀況二、發現有兩個類似名稱的資料夾:【CSFExamService】和【CSFExamServiceNew】

    Image Not Showing Possible Reasons
    • The image was uploaded to a note which you don't have access to
    • The note which the image was originally uploaded to has been deleted
    Learn More →

    解決方法:

    • 將【CSFExamServiceNew】內的檔案複製到【CSFExamService】。
    • 刪除【CSFExamServiceNew】資料夾。
  • 其他解決方法:將T5移除後再重裝。

💦 80 Port 不允許使用,要改用其他Port,若是此狀況,請依下述方式解決。

  • 以下範例為改使用8080 Port。

  • 到管理端組態設定畫面,於伺服器位置欄位先按取得本機位置後,於IP後方輸入:8080。在於本機測驗服務測驗Port欄位,輸入8080。然後存檔並發布更新。

    Image Not Showing Possible Reasons
    • The image was uploaded to a note which you don't have access to
    • The note which the image was originally uploaded to has been deleted
    Learn More →

  • 到測驗端的組態設定畫面,輸入管理端IP,要加上:8080,變更要使用的Port為8080,然後存檔。

    Image Not Showing Possible Reasons
    • The image was uploaded to a note which you don't have access to
    • The note which the image was originally uploaded to has been deleted
    Learn More →

💦 因為 80 Port 不知道被甚麼佔用,若是此狀況,請依下述方式解決。

請依循下述步驟找出使用 80 Port 的服務,再將其停止,即可正常啟動服務。

  • 啟動【命令字元模式】,並輸入下述指令。
netstat -ano | findstr 0.0:80
  • 找到佔用 80 Port 的 Process ID,以此例為 3060。

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  • 開啟工作管理員,在「詳細資料」頁籤中找到該程式,並點選滑鼠右鍵,在功能選單中選取「移至服務」。

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  • 在「服務」頁籤中找到該服務,並點選滑鼠右鍵,在功能選單中選取「停止」,即可完成停用該服務。

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  • 重新啟動測驗服務。

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

題外話:如果「工作管理員」界面上沒有「PID」欄位時…

  • 在 Windows 7 時,我們可以在「工作管理員」的功能選單上選擇「檢視(View)」/「選取欄位(Select Columns)」

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

  • 在 Windows 10 時,我們在「工作管理員」切換到「詳細資料」頁籤,並且在欄位上點選滑鼠右鍵後點選「選取欄位」。

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →