Ucs 5 replica node cant join

Hi,

after install a replica node i cant join… thats my join.log:

univention-run-join-scripts started
Thu 09 Jun 2022 12:15:50 AM CEST

univention-join-hooks: looking for hook type "join/pre-joinscripts" on dc0.gut.contact
Found hooks:
  
RUNNING 01univention-ldap-server-init.inst
EXITCODE=already_executed
RUNNING 03univention-directory-listener.inst
EXITCODE=already_executed
RUNNING 04univention-ldap-client.inst
EXITCODE=already_executed
RUNNING 05univention-bind.inst
EXITCODE=already_executed
RUNNING 08univention-apache.inst
EXITCODE=already_executed
RUNNING 10univention-ldap-server.inst
EXITCODE=already_executed
RUNNING 11univention-heimdal-init.inst
EXITCODE=already_executed
RUNNING 11univention-pam.inst
EXITCODE=already_executed
RUNNING 15univention-heimdal-kdc.inst
EXITCODE=already_executed
RUNNING 18python-univention-directory-manager.inst
EXITCODE=already_executed
RUNNING 20univention-directory-policy.inst
EXITCODE=already_executed
RUNNING 20univention-join.inst
EXITCODE=already_executed
RUNNING 26univention-nagios-common.inst
EXITCODE=already_executed
RUNNING 30univention-appcenter.inst
EXITCODE=already_executed
RUNNING 30univention-nagios-client.inst
EXITCODE=already_executed
RUNNING 31univention-nagios-s4-connector.inst
EXITCODE=already_executed
RUNNING 31univention-nagios-samba.inst
EXITCODE=already_executed
RUNNING 33univention-portal.inst
EXITCODE=already_executed
RUNNING 35univention-appcenter-docker.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-appcenter.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-diagnostic.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-join.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-lib.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-quota.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-reboot.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-services.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-setup.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-sysinfo.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-top.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-ucr.inst
EXITCODE=already_executed
RUNNING 35univention-management-console-module-updater.inst
EXITCODE=already_executed
RUNNING 36univention-management-console-module-apps.inst
EXITCODE=already_executed
RUNNING 81univention-nfs-server.inst
EXITCODE=already_executed
RUNNING 90univention-bind-post.inst
EXITCODE=already_executed
RUNNING 92univention-management-console-web-server.inst
EXITCODE=already_executed
RUNNING 96univention-samba4.inst
2022-06-09 00:15:52.056241426+02:00 (in joinscript_init)
09.06.22 00:15:52.948  DEBUG_INIT
Not updating samba4/role
Multifile: /etc/samba/smb.conf
Object exists: cn=Builtin,dc=gut,dc=contact
WARNING: cannot append cn=DC Backup Hosts,cn=groups,dc=gut,dc=contact to nestedGroup, value exists
No modification: cn=Enterprise Domain Controllers,cn=groups,dc=gut,dc=contact
WARNING: cannot append cn=dc-lpg2,cn=dc,cn=computers,dc=gut,dc=contact to hosts, value exists
No modification: cn=Enterprise Domain Controllers,cn=groups,dc=gut,dc=contact
Stopping samba-ad-dc (via systemctl): samba-ad-dc.service.
Stopping smbd (via systemctl): smbd.service.
Stopping nmbd (via systemctl): nmbd.service.
Setting kerberos/kdc
Setting kerberos/kpasswdserver
File: /etc/krb5.conf
Setting slapd/port
File: /etc/init.d/slapd
Setting slapd/port/ldaps
File: /etc/init.d/slapd
Restarting slapd (via systemctl): slapd.serviceWarning: The unit file, source configuration file or drop-ins of slapd.service changed on disk. Run 'systemctl daemon-reload' to reload units.
.
Not updating windows/wins-support
Join against S4 Connector server: dc0
Forest           : gut.contact
Domain           : gut.contact
Netbios domain   : GUT
DC name          : dc0.gut.contact
DC netbios name  : DC0
Server site      : GUTCONTACT
Client site      : 
INFO 2022-06-09 00:16:03,867 pid:10737 /usr/lib/python3/dist-packages/samba/join.py #1543: workgroup is GUT
INFO 2022-06-09 00:16:03,868 pid:10737 /usr/lib/python3/dist-packages/samba/join.py #1546: realm is gut.contact
ldb: Unable to open tdb '/var/lib/samba/private/secrets.ldb': No such file or directory
ldb: Failed to connect to '/var/lib/samba/private/secrets.ldb' with backend 'tdb': Unable to open tdb '/var/lib/samba/private/secrets.ldb': No such file or directory
Could not find machine account in secrets database: Failed to fetch machine account password for GUT from both secrets.ldb (Could not open secrets.ldb) and from /var/lib/samba/private/secrets.tdb: NT_STATUS_CANT_ACCESS_DOMAIN_INFO
ERROR(ldb): uncaught exception - LDAP error 32 LDAP_NO_SUCH_OBJECT -  <00002030: objectclass: Cannot add CN=DC-LPG2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=gut,DC=contact, parent does not exist!> <>
  File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 186, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/samba/netcmd/domain.py", line 682, in run
    backend_store_size=backend_store_size)
  File "/usr/lib/python3/dist-packages/samba/join.py", line 1559, in join_DC
    ctx.do_join()
  File "/usr/lib/python3/dist-packages/samba/join.py", line 1447, in do_join
    ctx.join_add_objects()
  File "/usr/lib/python3/dist-packages/samba/join.py", line 675, in join_add_objects
    ctx.samdb.add(rec)
Adding CN=DC-LPG2,OU=Domain Controllers,DC=gut,DC=contact
Adding CN=DC-LPG2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=gut,DC=contact
Join failed - cleaning up
Deleted CN=DC-LPG2,OU=Domain Controllers,DC=gut,DC=contact
Failed to join against the S4 Connector server dc0.
Make sure the server is online or if this server is no longer in use,
please completely remove the server object from the domain.
Forest           : gut.contact
Domain           : gut.contact
Netbios domain   : GUT
DC name          : dc1.gut.contact
DC netbios name  : DC1
Server site      : GUTCONTACT
Client site      : 
INFO 2022-06-09 00:16:04,329 pid:10742 /usr/lib/python3/dist-packages/samba/join.py #107: Finding a writeable DC for domain 'gut.contact'
INFO 2022-06-09 00:16:04,338 pid:10742 /usr/lib/python3/dist-packages/samba/join.py #109: Found DC dc-lpg.gut.contact
INFO 2022-06-09 00:16:04,448 pid:10742 /usr/lib/python3/dist-packages/samba/join.py #1543: workgroup is GUT
INFO 2022-06-09 00:16:04,448 pid:10742 /usr/lib/python3/dist-packages/samba/join.py #1546: realm is gut.contact
ldb: Unable to open tdb '/var/lib/samba/private/secrets.ldb': No such file or directory
ldb: Failed to connect to '/var/lib/samba/private/secrets.ldb' with backend 'tdb': Unable to open tdb '/var/lib/samba/private/secrets.ldb': No such file or directory
Could not find machine account in secrets database: Failed to fetch machine account password for GUT from both secrets.ldb (Could not open secrets.ldb) and from /var/lib/samba/private/secrets.tdb: NT_STATUS_CANT_ACCESS_DOMAIN_INFO
ERROR(ldb): uncaught exception - LDAP error 32 LDAP_NO_SUCH_OBJECT -  <00002030: objectclass: Cannot add CN=DC-LPG2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=gut,DC=contact, parent does not exist!> <>
  File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 186, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/samba/netcmd/domain.py", line 682, in run
    backend_store_size=backend_store_size)
  File "/usr/lib/python3/dist-packages/samba/join.py", line 1559, in join_DC
    ctx.do_join()
  File "/usr/lib/python3/dist-packages/samba/join.py", line 1447, in do_join
    ctx.join_add_objects()
  File "/usr/lib/python3/dist-packages/samba/join.py", line 675, in join_add_objects
    ctx.samdb.add(rec)
Adding CN=DC-LPG2,OU=Domain Controllers,DC=gut,DC=contact
Adding CN=DC-LPG2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=gut,DC=contact
Join failed - cleaning up
Deleted CN=DC-LPG2,OU=Domain Controllers,DC=gut,DC=contact
Failed to join the domain gut.contact.
Make sure the server is online or if this server is no longer in use,
please completely remove the server object from the domain.
EXITCODE=1
203fb51b-18e6-4d41-a1d2-9e2512e32f61
RUNNING 97univention-s4-connector.inst
EXITCODE=already_executed
RUNNING 98univention-pkgdb-tools.inst
EXITCODE=already_executed
RUNNING 98univention-samba4-dns.inst
2022-06-09 00:16:06.272438378+02:00 (in joinscript_init)
Samba4 backend database not available yet, exiting joinscript 98univention-samba4-dns.
EXITCODE=1
f26ee0e4-e883-4760-9a4b-db559bd39334
RUNNING 98univention-samba4-saml-kerberos.inst
EXITCODE=already_executed
univention-join-hooks: looking for hook type "join/post-joinscripts" on dc0.gut.contact
Found hooks:
  

Thu 09 Jun 2022 12:16:07 AM CEST
univention-run-join-scripts finished


so i have 2 outstanding joins:

grafik

what could be the issue?

btw: i was install first old ucs 4 version as node, that was wrong… so i removed the node described here: How-To: Remove a Server

and installed ucs5 again with same server name…

thx for your help!

kann aufgrund absoluter dummheit geschlossen werden… habe die Site “Default-First-Site-Name” umbenannt… und damit konnte er den Node da natürlich nicht hinzufügen…