Univention Bugzilla – Bug 42814
@school join fails due to slapd restart
Last modified: 2016-11-03 12:51:30 CET
The following test setup fails: http://jenkins.knut.univention.de:8080/job/UCSschool%204.1/job/UCSschool%204.1%20(R2)%20Multiserver/SambaVersion=s4-with-administration/289/ Slave log output: -------------------------------------------------------------------------------- Tue Nov 1 21:32:56 EDT 2016: starting /usr/sbin/univention-join -dcaccount Administrator -dcpwd /tmp/tmpGTuxua running version check OK: UCS version on master203.autotest203.local is higher or equal (4.14) to the local version (4.14). Stopping univention-s4-connector daemon. start-stop-daemon: warning: failed to kill 8423: No such process failed. Stopping ldap server(s): slapd ...done. Setting dns/backend Restarting bind9 daemon: ...done. Stopping Samba AD DC daemon: samba. Samba is configured as AD DC, service smbd is controlled by the main samba daemon. Stopping NetBIOS name server: nmbd. Starting ldap server(s): slapd ...done. Tue Nov 1 21:33:11 EDT 2016 univention-server-join: joins a server to an univention domain copyright (c) 2001-2016 Univention GmbH, Germany E: failed to modify DC Slave cn=slave2033,cn=dc,cn=server,cn=computers,ou=School2,dc=autotest203,dc=local [LDAP Error: Can't contact LDAP server] Tue Nov 1 21:33:13 EDT 2016: finish /usr/sbin/univention-join -------------------------------------------------------------------------------- The syslog on the master shows: -------------------------------------------------------------------------------- Nov 1 21:33:13 master203 logger: /etc/init.d/slapd graceful-restart (pid: 19513, ppid:19419 univention-dire) Nov 1 21:33:13 master203 logger: /etc/init.d/slapd graceful-stop (pid: 19521, ppid:19513 slapd) Nov 1 21:33:13 master203 logger: /etc/init.d/slapd start (pid: 19534, ppid:19513 slapd) -------------------------------------------------------------------------------- From the master listener.log: -------------------------------------------------------------------------------- 01.11.16 21:32:56.358 DEBUG_INIT UNIVENTION_DEBUG_BEGIN : uldap.__open host=master203.autotest203.local port=7389 base=dc=autotest203,dc=local UNIVENTION_DEBUG_END : uldap.__open host=master203.autotest203.local port=7389 base=dc=autotest203,dc=local 01.11.16 21:32:57.470 LISTENER ( PROCESS ) : updating 'cn=slave2033,cn=dc,cn=computers,dc=autotest203,dc=local' command r 01.11.16 21:32:57.499 LISTENER ( PROCESS ) : updating 'cn=slave2033,cn=dc,cn=server,cn=computers,ou=School2,dc=autotest203,dc=local' command a 01.11.16 21:32:58.226 LISTENER ( PROCESS ) : updating 'cn=DC Slave Hosts,cn=groups,dc=autotest203,dc=local' command m 01.11.16 21:32:58.240 LISTENER ( PROCESS ) : updating 'cn=Enterprise Domain Controllers,cn=groups,dc=autotest203,dc=local' command m 01.11.16 21:32:58.254 LISTENER ( PROCESS ) : updating 'cn=DC-Verwaltungsnetz,cn=ucsschool,cn=groups,dc=autotest203,dc=local' command m 01.11.16 21:32:58.274 LISTENER ( PROCESS ) : updating 'cn=OUschool2-DC-Verwaltungsnetz,cn=ucsschool,cn=groups,dc=autotest203,dc=local' command m 18959 Initiating graceful reload of ldap server(s). Sending HUP to ldap server(s): slapd ...done. Starting ldap server(s): slapd ...done. Checking Schema ID: ...done. -------------------------------------------------------------------------------- The UCS@school installer moves the server account. Afterwards, the umc-service-providers.py listener module restarts the slapd. We've different options to fix it, I guess the best one would be to make univention-server-join more robust.
*** This bug has been marked as a duplicate of bug 40259 ***
(In reply to Daniel Tröder from comment #1) > > *** This bug has been marked as a duplicate of bug 40259 *** Are you sure about this? The reason here is the slapd restart but is this also the reason for Bug #40259?