I have a member server which I think also replicates LDAP from slaves. It is also nagios server. I do not have working Web interface on this server, so I had to use cli commands.
I tried running upgrade from cli using command univention-upgrade
Upgrade failed fairly quick and now I cannot ssh into this server with any user apart from root user.
I get following emails from this box:
Cron Daemon:
Cron <root@monitoring> /usr/share/univention-updater/updater-statistics > /dev/zero
/bin/sh: 1: /usr/share/univention-updater/updater-statistics: not found
Cron <root@monitoring> /usr/share/univention-updater/enable-apache2-umc
/bin/sh: 1: /usr/share/univention-updater/enable-apache2-umc: not found
Nagios:
Service: UNIVENTION_REPLICATION
CRITICAL: difference was = 100 over last 10 checks (nid=1058563 lid=952032)
Service: UNIVENTION_JOINSTATUS
CRITICAL: auth failed: ldapsearch -x -ZZ -D ldap_hostdn
I do not even know where to begin searching for issue. The command univention-upgrade
is also not available from CLI any more.
All I have in updater.log:
Starting update process, this may take a while.
Check /var/log/univention/updater.log for more information.
Fri 29 Mar 11:53:43 GMT 2019
grep: /etc/apt/sources.list.d/15_ucs-online-version.list: No such file or directory
E: The method driver /usr/lib/apt/methods/https could not be found.
E: The method driver /usr/lib/apt/methods/https could not be found.
Error: Failed to execute "apt-get update"
I went through some logs, found this
tail ssl-sync.log
/bin/sh: 1: /usr/share/univention-ssl/ssl-sync: not found
/bin/sh: 1: /usr/share/univention-ssl/ssl-sync: not found
/bin/sh: 1: /usr/share/univention-ssl/ssl-sync: not found
/bin/sh: 1: /usr/share/univention-ssl/ssl-sync: not found
/bin/sh: 1: /usr/share/univention-ssl/ssl-sync: not found
/bin/sh: 1: /usr/share/univention-ssl/ssl-sync: not found
exitcode of univention-updater: 1
ERROR: update failed. Please check /var/log/univention/updater.log
cat ldap-policy.log
nfsmounts: FAIL: failed to execute `univention_policy_result cn=monitoring,cn=memberserver,cn=computers,dc=office,dc=com'
run-parts: /usr/lib/univention-directory-policy/nfsmounts exited with return code 1
Traceback (most recent call last):
File "/usr/lib/univention-directory-policy/univention-policy-update-config-registry", line 146, in <module>
main()
File "/usr/lib/univention-directory-policy/univention-policy-update-config-registry", line 118, in main
set_list = get_policy(host_dn, options.verbose)
File "/usr/lib/univention-directory-policy/univention-policy-update-config-registry", line 50, in get_policy
proc = subprocess.Popen(cmd, shell=False, stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
run-parts: /usr/lib/univention-directory-policy/univention-policy-update-config-registry exited with return code 1