Univention Bugzilla – Bug 42110
05univention-bind.inst failed
Last modified: 2018-01-12 17:50:58 CET
We received the feedback, that the joinscript 05univention-bind.inst failed during installing UCS. Version: 4.1-3 errata237 (Vahr) Domäneneinrichtung (Dies kann einige Zeit dauern): FAILED: 05univention-bind.inst Ticket#2016082221000554 Maybe it is possible to add more information about errors into the report.
Version: 4.1-4 errata406 (Vahr)
Version: 4.2-0 errata4 (Lesum) Remark: Installation des Backup-Domänenservers ucsdc2 in eine bestehende/funktionierende Domäne
Reported again, 4.2-0 errata26 (Lesum) Role: domaincontroller_backup
Created attachment 8893 [details] dielog.patch The attached patch should display an error message in the places where the could die joinscript currently.
Reported again, 4.2-1 errata52 (Lesum) Role: domaincontroller_slave
Reported again, 4.2-1 errata139 (Lesum)
So, it fails if the server is reinstalled with a different IP address?
Thank you for the base of your patch. What I did now is: * added a function to log errors: joinscript_log_error() * added a function exec_log_failure() which executes a command, if it fails logs it with an error message from ERRMSG and writes the command output also as error message. * the die() function now takes an error message as parameter The error messages in the univention-bind joinscript have been added. univention-bind.yaml 95b1c09cc24a | Bug #42110: Merge branch 'fbest/42110-42986-improove-join-error-messages' into 4.2-3 058073647e89 | YAML Bug #42110 univention-join (9.0.3-11) 95b1c09cc24a | Bug #42110: Merge branch 'fbest/42110-42986-improove-join-error-messages' into 4.2-3 a2df6294656b | Bug #42110: Add utilities to log error messages in joinscripts univention-bind (11.0.1-3) 95b1c09cc24a | Bug #42110: Merge branch 'fbest/42110-42986-improove-join-error-messages' into 4.2-3 116c3fd893a0 | Bug #42110: enhance error messages in joinscript univention-join.yaml 95b1c09cc24a | Bug #42110: Merge branch 'fbest/42110-42986-improove-join-error-messages' into 4.2-3 058073647e89 | YAML Bug #42110
Created attachment 9315 [details] bug42110_qa.patch QA proposal. Please also complete the "fix" tag in the advisories.
Thanks for the patch, packages are build, merged to 4.3-0, YAML adjusted.
Functional test: Ok Advisories: Ok
<http://errata.software-univention.de/ucs/4.2/253.html> <http://errata.software-univention.de/ucs/4.2/254.html>