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

Summary: 本文介绍了当“svc_udoctor”命令无法正常工作时问题的可能解决方案。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

尝试使用 svc_udoctor 命令禁用或启用每日数据收集时,出现以下问题。

(1) 执行命令时,将显示以下消息。
"/EMC/Platform/bin/svc_udoctor: line 742: [: 14733: binary operator expected"


(2) 执行命令 10 分钟后未返回命令提示符。(命令未完成。)
在这种情况下,命令已使用 ctrl + C 终止。

Cause

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

Resolution

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

Additional Information

- svc_udoctor命令可用于启用或禁用每日数据收集。

[检查当前设置]
svc_udoctor --jobs --viewjob svc_dc

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

[启用]
svc_udoctor --jobs --enable svc_dc

Affected Products

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

Products

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 ...
Article Properties
Article Number: 000203308
Article Type: Solution
Last Modified: 09 Sep 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.