Dell Unity:svc_udoctor命令无法正常工作(戴尔可更正)

摘要: 本文介绍了当“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

解析度

如果存在与此知识库文章匹配的事件,请联系戴尔支持并参考此知识库文章编号。

其他資訊

- 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 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。