Dell Unity: svc_udoctor command did not work correctly

摘要: This article describes a possible solution to the problem when the "svc_udoctor" command does not work properly. (Dell correctable)

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

症狀

The following problem occurred when trying to disable or enable daily's data collection with the svc_udoctor command.

(1) The following message is displayed when the command is executed.
"/EMC/Platform/bin/svc_udoctor: line 742: [: 14733: binary operator expected"


(2) The command prompt did not returned after 10 minutes of executing the command. (Command did not complete.)
In that case, the command has been terminated with ctrl + C.

原因

svc_udoctor command expects only 1 PID for udoctor process. 
If more than one PID exists, the above error occurs.
 
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

解析度

If there is an event that matches this KB, please contact Dell Support and reference this KB number.

其他資訊

- The svc_udoctor command can be used to enable or disable daily data collection.

[to check the current settings]
svc_udoctor --jobs --viewjob svc_dc

[to disable]
 svc_udoctor --jobs --disable svc_dc

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