Dell Unity:svc_udoctor命令無法正常運作 (可由 Dell 更正)

摘要: 本文說明當「svc_udoctor」命令無法正常運作時,問題的可能解決方案。

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

症狀

嘗試使用 svc_udoctor 命令停用或啟用每日資料收集時,發生以下問題。

(1) 執行命令時會顯示下列訊息。
"/EMC/Platform/bin/svc_udoctor: line 742: [: 14733: binary operator expected"


(2) 執行命令 10 分鐘後未傳回命令提示字元。(命令未完成。)
在這種情況下,已使用 ctrl + C 終止命令。

原因

svc_udoctor命令僅預期 udoctor 程式只有 1 個 PID。
如果存在一個以上的 PID,則會發生上述錯誤。
 
ps -elf |grep -i udoctor

0 S root      2182     1  0  80   0 -  3618 -      XXX09 ?        00:00:00 /bin/bash /EMC/Platform/bin/udoctor.sh run
0 S root      2194  2179  0  80   0 - 12765 -      XXX09 ?        00:02:55 /usr/bin/perl /opt/UDoctor/EE/bin/exec_engine.pl
0 S root      2203  2182  0  80   0 -  3585 -      XXX09 ?        00:00:13 /bin/bash /opt/UDoctor/FE/bin/udoctor_starter
4 S root      2353  2203  0  80   0 - 25901 -      XXX09 ?        00:24:39 /opt/UDoctor/FE/bin/UDoctorApp /opt/UDoctor/FE/conf/RegistryReader.ini
1 S root     14733  2353  0  80   0 - 38195 -      XXX15 ?        00:00:00 /opt/UDoctor/FE/bin/UDoctorApp /opt/UDoctor/FE/conf/RegistryReader.ini

ps aux |grep -i udoctor

root      2182  0.0  0.0  14472  2748 ?        S    XXX09   0:00 /bin/bash /EMC/Platform/bin/udoctor.sh run
root      2194  0.0  0.0  51060  5060 ?        S    XXX09   2:55 /usr/bin/perl /opt/UDoctor/EE/bin/exec_engine.pl
root      2203  0.0  0.0  14340  3004 ?        S    XXX09   0:13 /bin/bash /opt/UDoctor/FE/bin/udoctor_starter
root      2353  0.0  0.0 103604  5788 ?        Sl   XXX09  24:39 /opt/UDoctor/FE/bin/UDoctorApp /opt/UDoctor/FE/conf/RegistryReader.ini
root     14733  0.0  0.0 152780  1320 ?        S    XXX15   0:00 /opt/UDoctor/FE/bin/UDoctorApp /opt/UDoctor/FE/conf/RegistryReader.ini

解析度

如果有符合此 KB 的事件,請聯絡 Dell 支援並參考此 KB 號碼。

其他資訊

- svc_udoctor命令可用來啟用或停用每日資料收集。

[檢查目前的設定]
svc_udoctor --jobs --viewjob svc_dc

[停用]
 svc_udoctor --jobs --disable svc_dc

[以啟用]
svc_udoctor --jobs --enable svc_dc

受影響的產品

Dell Unity 300, Dell EMC Unity 300F, Dell EMC Unity 350F, Dell EMC Unity 400, Dell EMC Unity 400F, Dell EMC Unity 450F, Dell EMC Unity 500, Dell EMC Unity 500F, Dell EMC Unity 550F, Dell EMC Unity 600

產品

Dell EMC Unity XT 380, Dell EMC Unity XT 380F, Dell EMC Unity XT 480, Dell EMC Unity XT 480F, Dell EMC Unity 600F, Dell EMC Unity 650F, Dell EMC Unity XT 680, Dell EMC Unity XT 680F, Dell EMC Unity XT 880, Dell EMC Unity XT 880F , Dell EMC Unity Family |Dell EMC Unity All Flash, Dell EMC Unity Family, Dell EMC Unity Hybrid, Dell EMC UnityVSA Professional Edition/Unity Cloud Edition ...
文章屬性
文章編號: 000203308
文章類型: Solution
上次修改時間: 09 9月 2025
版本:  4
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。