Long story short, I ran out of disk space while on holidays… this lasted at least a few days before I noticed until I tried to upgrade all 3 servers. I have my Master, which worked fine… the slave was out of disk space and I had to manually clean up some old backups in order to run the upgrade, which appeared to work without issue. I tried authenticating with Kopano and to the web interface and both fail now.
Reading through other posts I tried to re-join to the master and it also is failing with
File: /etc/apt/apt.conf.d/61invoke
Module: kopano-cfg
Warning: slapd.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Job for slapd.service failed because the control process exited with error code.
See "systemctl status slapd.service" and "journalctl -xe" for details.
Restarting univention-directory-listener (via systemctl): univention-directory-listener.service.
2020-08-04 22:44:10.333505457-07:00 (in joinscript_save_current_version)
**************************************************************************
* Join failed! *
* Contact your system administrator *
**************************************************************************
* Message: Please visit https://help.univention.com/t/8842 for common problems during the join and how to fix them -- FAILED: failed.ldif exists.
**************************************************************************
Tue Aug 4 22:44:10 PDT 2020: finish /usr/sbin/univention-join
I did find this post and followed what I could. What to do if a failed.ldif is found
I tried to remove the failed.ldif and retry the join, which also failed with the same error.
I do see what looks like a process running
root@ucs2:~# ps aux | grep /usr/sbin/univention-directory-replication-resync
root 24107 0.0 0.0 15536 964 pts/0 S+ 22:55 0:00 grep /usr/sbin/univention-directory-replication-resync
root@ucs2:~#
so perhaps it’s deadlocked?
running a tail
root@ucs2:~# tail -f /var/log/univention/ldap-replication-resync.log
show nothing in this file.
Are there some steps I can try before I wreck this even more?
Thank you!
edit: I see this as well
root@ucs2:~# /etc/init.d/slapd start
[....] Starting slapd (via systemctl): slapd.serviceWarning: slapd.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Job for slapd.service failed because the control process exited with error code.
See "systemctl status slapd.service" and "journalctl -xe" for details.
failed!
root@ucs2:~# systemctl daemon-reload
root@ucs2:~# /etc/init.d/slapd start
[....] Starting slapd (via systemctl): slapd.serviceJob for slapd.service failed because the control process exited with error code.
See "systemctl status slapd.service" and "journalctl -xe" for details.
failed!
root@ucs2:~#
root@ucs2:~# systemctl status slapd.service
● slapd.service - LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)
Loaded: loaded (/etc/init.d/slapd; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-08-04 23:07:26 PDT; 7min ago
Docs: man:systemd-sysv-generator(8)
Process: 27743 ExecStart=/etc/init.d/slapd start (code=exited, status=1/FAILURE)
CPU: 119ms
Aug 04 23:07:26 ucs2 slapd[27755]: DIGEST-MD5 common mech free
Aug 04 23:07:26 ucs2 slapd[27755]: DIGEST-MD5 common mech free
Aug 04 23:07:26 ucs2 slapd[27755]: slapd stopped.
Aug 04 23:07:26 ucs2 slapd[27755]: connections_destroy: nothing to destroy.
Aug 04 23:07:26 ucs2 slapd[27743]: Starting ldap server(s): slapd ...failed.
Aug 04 23:07:26 ucs2 slapd[27743]: WARNING: Another /etc/init.d/slapd start is already in progress..
Aug 04 23:07:26 ucs2 systemd[1]: slapd.service: Control process exited, code=exited status=1
Aug 04 23:07:26 ucs2 systemd[1]: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
Aug 04 23:07:26 ucs2 systemd[1]: slapd.service: Unit entered failed state.
Aug 04 23:07:26 ucs2 systemd[1]: slapd.service: Failed with result 'exit-code'.
root@ucs2:~# tail -f /var/log/univention/listener.log
04.08.20 22:57:32.907 LDAP ( PROCESS ) : connecting to ldap://ucs1.sgvfr.lan:7389
UNIVENTION_DEBUG_BEGIN : uldap.__open host=ucs1.sgvfr.lan port=7389 base=dc=sgvfr,dc=lan
UNIVENTION_DEBUG_END : uldap.__open host=ucs1.sgvfr.lan port=7389 base=dc=sgvfr,dc=lan
04.08.20 23:02:29.301 LDAP ( PROCESS ) : connecting to ldap://ucs1.sgvfr.lan:7389
04.08.20 23:02:29.314 LISTENER ( PROCESS ) : updating 'cn=ucs2,cn=dc,cn=computers,dc=sgvfr,dc=lan' command m
04.08.20 23:02:29.318 LDAP ( PROCESS ) : connecting to ldap://localhost:7389
04.08.20 23:02:29.318 LDAP ( ERROR ) : start_tls: Can't contact LDAP server
04.08.20 23:02:29.318 LISTENER ( ERROR ) : check_parent_dn: bind to local LDAP failed
04.08.20 23:02:29.319 LISTENER ( WARN ) : replication: Can't contact LDAP server: Can not connect LDAP Server, retry in 10 seconds
04.08.20 23:02:39.328 LISTENER ( WARN ) : replication: Can't contact LDAP server: Can not connect LDAP Server, retry in 10 seconds
root@ucs2:~# ps aux | grep /usr/sbin/univention-directory-replication-resync
root 24247 0.0 0.0 15536 992 pts/0 S+ 22:57 0:00 grep /usr/sbin/univention-directory-replication-resync
root@ucs2:~# pkill univention-directory-replication-resync
root@ucs2:~# rm /var/lib/univention-directory-replication/failed.ldif
root@ucs2:~# univention-join
univention-join: joins a computer to an ucs domain
copyright (c) 2001-2020 Univention GmbH, Germany
Enter DC Master Account : Administrator
Enter DC Master Password:
Search DC Master: done
Check DC Master: done
Stop S4-Connector: done
Stop LDAP Server: done
Stop Samba Server: done
Search ldap/base done
Start LDAP Server: done
Search LDAP binddn done
Sync time: done
Running pre-join hook(s): done
Join Computer Account: done
Stopping univention-directory-notifier daemon: done
Stopping univention-directory-listener daemon: done
Sync ldap.secret: done
Sync ldap-backup.secret: done
Sync SSL directory: done
Check TLS connection: done
Download host certificate: done
Sync SSL settings: done
Purging translog database: done
Restart LDAP Server: done
Sync Kerberos settings: done
Not updating kerberos/adminserver
Running pre-joinscripts hook(s): done
Configure 00kopano4ucs-safemode-on.inst done
Configure 01univention-ldap-server-init.inst done
Configure 02univention-directory-notifier.inst done
Configure 03univention-directory-listener.inst done
**************************************************************************
* Join failed! *
* Contact your system administrator *
**************************************************************************
* Message: Please visit https://help.univention.com/t/8842 for common problems during the join and how to fix them -- FAILED: failed.ldif exists.
**************************************************************************
root@ucs2:~#