Univention Bugzilla – Attachment 10465 Details for
Bug 51910
Missing error handling in translog leads to data loss
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Recovery procedure
file_51910.txt (text/plain), 1.31 KB, created by
Philipp Hahn
on 2020-08-26 17:16:17 CEST
(
hide
)
Description:
Recovery procedure
Filename:
MIME Type:
Creator:
Philipp Hahn
Created:
2020-08-26 17:16:17 CEST
Size:
1.31 KB
patch
obsolete
># Dienste stoppen >/etc/init.d/univention-directory-listener stop >/etc/init.d/univention-directory-notifier stop >/etc/init.d/slapd stop > >cd /var/lib/univention-ldap > ># Backups erstellen >cp -np notify/transaction notify/transaction.bak >cp -np listener/listener listener/listener.bak >cp -np last_id last_id.bak > ># Transaktionsdateien neu schreiben >sed -i -e 's/^0 /1 /;T;w listener/listener.new' -e d notify/transaction >sed -re 's/^(0|<TransID>) /1 /' listener/listener >> listener/listener.new > ># Ãberschreiben >chown --reference=listener/listener listener/listener.new >mv listener/listener.new listener/listener > ># Transaktionen neu durchnumerieren und Dienste neu starten >/usr/share/univention-directory-notifier/univention-translog check --fix > > ># Laufen die Dienste wieder? >pgrep slapd >pgrep -fl univention-directory > ># Sehen die Dateien okay aus? >ls -l notify/transaction listener/listener last_id >tail -n 1 notify/transaction listener/listener last_id > ># Wurden die Transaktionen richtig abgearbeitet? >/usr/share/univention-directory-notifier/univention-translog stat > ># Läuft die Replikation wieder? >while ! /usr/lib/nagios/plugins/check_univention_replication >do sleep 30s >done > ># Backups löschen >rm -f notify/transaction.bak listener/listener.bak last_id.bak > > >ucr get ldap/debug/level # none
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 51910
: 10465 |
10466