Dell Unity: svc_udoctor-kommandot fungerade inte korrekt (kan korrigeras av Dell)

Summary: I den här artikeln beskrivs en möjlig lösning på problemet när kommandot "svc_udoctor" inte fungerar korrekt.

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

Följande problem uppstod vid försök att avaktivera eller aktivera daglig datainsamling med kommandot svc_udoctor.

(1) Följande meddelande visas när kommandot körs.
"/EMC/Platform/bin/svc_udoctor: line 742: [: 14733: binary operator expected"


(2) Kommandotolken returnerades inte efter 10 minuter efter att kommandot körts. (Kommandot slutfördes inte.)
I så fall har kommandot avslutats med Ctrl + C.

Cause

svc_udoctor-kommandot förväntar sig endast 1 PID för udoctor-processen. 
Om det finns fler än en PID inträffar ovanstående fel.
 
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

Om det finns en händelse som matchar den här kunskapsdatabasartikeln kontaktar du Dells support och hänvisar till det här KB-numret.

Additional Information

- Kommandot svc_udoctor kan användas för att aktivera eller inaktivera daglig datainsamling.

[för att kontrollera de aktuella inställningarna]
svc_udoctor --jobs --viewjob svc_dc

[för att inaktivera]
 svc_udoctor --jobs --disable svc_dc

[för att aktivera]
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.