Unable to add SVMs from the ONTAP System Manager web interface
Applies to
Issue
- When adding an SVM using the web interface reports an error with contacting DNS servers to discover domain controllers.
- An error similar to the following is seen in the web interface:
[Job 30635] Job failed: Failed to create the Active Directory machine account "SVM_NAME".
Reason: SecD Error: no servers available
Details: Error: Machine account creation procedure failed [ 0 ms] Trying to create machine account 'SVM_NAME' in 'DOMAIN.COM' for SVM 'svm_name' **[17] FAILURE: Unable to contact DNS to discover domain ** controllers. [24] Unable to contact DNS to discover domain controllers. [30] No servers available for MS_LDAP_AD, vserver: 110, domain: DOMAIN.COM..
- The
mgwd
logs show the same error as seen in the web interface:
Fri Mar 11 2022 11:32:52 -08:00 [kern_mgwd:info:2021] 0x838e47600: 8603ea000012391a: ERR: tables::cifs: machineAccountCreate:src/tables/cifs/cifs_server_utils.cc:685 secd_rpc_create_cifs_server_1 returned: 0, result: 6940
00000011.0161a07c 06297d23 Fri Mar 11 2022 11:32:52 -08:00 [kern_mgwd:info:2021] Error: Machine account creation procedure failed
00000011.0161a07d 06297d23 Fri Mar 11 2022 11:32:52 -08:00 [kern_mgwd:info:2021] [ 0 ms] Trying to create machine account 'SVM_NAME' in
00000011.0161a07e 06297d23 Fri Mar 11 2022 11:32:52 -08:00 [kern_mgwd:info:2021] 'DOMAIN.COM' for Vserver 'svm_name'
00000011.0161a07f 06297d23 Fri Mar 11 2022 11:32:52 -08:00 [kern_mgwd:info:2021] **[ 17] FAILURE: Unable to contact DNS to discover domain
00000011.0161a080 06297d23 Fri Mar 11 2022 11:32:52 -08:00 [kern_mgwd:info:2021] ** controllers.
00000011.0161a081 06297d23 Fri Mar 11 2022 11:32:52 -08:00 [kern_mgwd:info:2021] [ 17] Unable to connect to any (0) domain controllers.
00000011.0161a082 06297d23 Fri Mar 11 2022 11:32:52 -08:00 [kern_mgwd:info:2021] [ 24] Unable to contact DNS to discover domain controllers.
00000011.0161a083 06297d23 Fri Mar 11 2022 11:32:52 -08:00 [kern_mgwd:info:2021] [ 30] No servers available for MS_LDAP_AD, vserver: 110,
00000011.0161a084 06297d23 Fri Mar 11 2022 11:32:52 -08:00 [kern_mgwd:info:2021] domain: DOMAIN.COM.
- An error similar to the following is seen in the
secd
logs:
00000011.0161a08b 06297d23 Fri Mar 11 2022 11:32:52 -08:00 [kern_secd:info:22910] Failure Summary:
00000011.0161a08c 06297d23 Fri Mar 11 2022 11:32:52 -08:00 [kern_secd:info:22910] Error: Machine account creation procedure failed
00000011.0161a08d 06297d23 Fri Mar 11 2022 11:32:52 -08:00 [kern_secd:info:22910] [ 0 ms] Trying to create machine account 'SVM_NAME' in 'DOMAIN.COM' for Vserver 'svm_name'
00000011.0161a08e 06297d23 Fri Mar 11 2022 11:32:52 -08:00 [kern_secd:info:22910] **[ 17] FAILURE: Unable to contact DNS to discover domain controllers.
00000011.0161a08f 06297d23 Fri Mar 11 2022 11:32:52 -08:00 [kern_secd:info:22910] [ 17] Unable to connect to any (0) domain controllers.
00000011.0161a090 06297d23 Fri Mar 11 2022 11:32:52 -08:00 [kern_secd:info:22910] [ 24] Unable to contact DNS to discover domain controllers.
00000011.0161a091 06297d23 Fri Mar 11 2022 11:32:52 -08:00 [kern_secd:info:22910] [ 30] No servers available for MS_LDAP_AD, vserver: 110, domain: DOMAIN.COM.
00000011.0161a09c 06297d24 Fri Mar 11 2022 11:32:52 -08:00 [kern_secd:info:22910] | [000.009.420] ERR : NSLIBC: __res_vinit(), ../../../../../../src/lib/libc/resolv/res_init.c:611, Vsid = 110 Failed to open file: /mroot/etc/cluster_config/vserver/.vserver_110/config/name_services//etc/resolv.conf. Error: No such file or directory