Hello,
I am trying to join an ubuntu 20.04 server to UCS domain using univention-domain-join-cli
but get stuck with an error. Any hint what to try next please? I included the output below.
Regards,
Tony
univention-domain-join-cli --force-ucs-dns --dc-ip 192.168.10.20 --skip-login-manager --username Administrator --password-file /root/ucs-admin.pw
Warning: /etc/ldap/ldap.conf already exists.
Warning: /etc/krb5.conf already exists.
Created a backup of all configuration files, that will be modified at '/var/univention-backup/20220513104509_domain-join'.
changing network/dns configuration as requested.
Setting up DNS did not work. Try removing any DNS settings in the network-manager and give this tool the IP address of the DC master.
An error occurred: . Please check /var/log/univention/domain-join-cli.log for more information.
root@vm-don:~# cat /var/log/univention/domain-join-cli.log
2022-05-13 10:45:09,776 userinfo WARNING Warning: /etc/ldap/ldap.conf already exists.
2022-05-13 10:45:09,776 userinfo WARNING Warning: /etc/krb5.conf already exists.
2022-05-13 10:45:09,777 userinfo INFO Created a backup of all configuration files, that will be modified at '/var/univention-backup/20220513104509_domain-join'.
2022-05-13 10:45:09,777 userinfo INFO changing network/dns configuration as requested.
2022-05-13 10:45:09,900 userinfo CRITICAL Setting up DNS did not work. Try removing any DNS settings in the network-manager and give this tool the IP address of the DC master.
2022-05-13 10:45:10,175 userinfo CRITICAL An error occurred: . Please check /var/log/univention/domain-join-cli.log for more information.
2022-05-13 10:45:10,175 debugging CRITICAL
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/univention_domain_join/join_steps/dns_configurator.py", line 87, in check_if_dns_works
resolver.query('_domaincontroller_master._tcp.%s.' % (self.domain,), 'SRV')
File "/usr/lib/python3/dist-packages/dns/resolver.py", line 1002, in query
raise NXDOMAIN(qnames=qnames_to_try, responses=nxdomain_responses)
dns.resolver.NXDOMAIN: The DNS query name does not exist: _domaincontroller_master._tcp.river-valley.com.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/sbin/univention-domain-join-cli", line 189, in <module>
distribution_joiner.join_domain()
File "/usr/lib/python3/dist-packages/univention_domain_join/distributions/ubuntu.py", line 105, in join_domain
DnsConfigurator(self.nameservers, self.domain).configure_dns()
File "/usr/lib/python3/dist-packages/univention_domain_join/utils/general.py", line 41, in root_wrapper
return_value = func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/univention_domain_join/join_steps/dns_configurator.py", line 82, in configure_dns
self.check_if_dns_works()
File "/usr/lib/python3/dist-packages/univention_domain_join/join_steps/dns_configurator.py", line 93, in check_if_dns_works
raise DnsConfigurationException()
univention_domain_join.join_steps.dns_configurator.DnsConfigurationException