Univention Bugzilla – Bug 40848
Silent cache corruption - bad_cache
Last modified: 2018-11-27 15:53:56 CET
Something corrupted /var/lib/univention-directory-listener/cache.db UDL detected that and created /var/lib/univention-directory-listener/bad_cache The error message could not be found in /var/log/univention/listener.* Since then UDL *silently* refuses to start; only DEBUG_INIT is logged! $ git grep -n bad_cache src/cache_lowlevel.c:274: if (asprintf(&f, "%s/bad_cache", cache_dir) < 0) abort(); src/main.c:520: if (asprintf(&f, "%s/bad_cache", cache_dir) < 0) abort(); 1. We should print an very visible message in both cases before abort()ing UDL! 2. The file itself should contain the error message, which currently is logged univention_debug(UV_DEBUG_LISTENER, UV_DEBUG_ERROR, 3. The Nagios check should check for that file and yell if it is found. 4. Same for the diagnostics module.
Ticket #2016030721000163
There is a Customer ID set so I set the flag "Enterprise Customer affected".
Obsoleted by Bug 23367 fixed in UCS 4.2-0.