Upgrade to UCS 4.4 failing join script for Radius and Appcenter

You have not tried to start it manually as requested:

/usr/sbin/univention-directory-notifier -o -d 4 -v 2 -F

Sorry missed that.

# /usr/sbin/univention-directory-notifier -o -d 4 -v 2 -F
Aborted

Strange!

Do you see any hints when starting it with strace?

/CV

This is the output of strace

# strace /usr/sbin/univention-directory-notifier
execve("/usr/sbin/univention-directory-notifier", ["/usr/sbin/univention-directory-n"...], [/* 18 vars */]) = 0
brk(NULL)                               = 0x56434b52e000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=49456, ...}) = 0
mmap(NULL, 49456, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6bd72a5000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libuniventiondebug.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=10424, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6bd72a3000
mmap(NULL, 2105528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6bd6e8c000
mprotect(0x7f6bd6e8e000, 2093056, PROT_NONE) = 0
mmap(0x7f6bd708d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f6bd708d000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pa\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=135440, ...}) = 0
mmap(NULL, 2212936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6bd6c6f000
mprotect(0x7f6bd6c87000, 2093056, PROT_NONE) = 0
mmap(0x7f6bd6e86000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f6bd6e86000
mmap(0x7f6bd6e88000, 13384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6bd6e88000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\354\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=327088, ...}) = 0
mmap(NULL, 2431720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6bd6a1d000
mprotect(0x7f6bd6a6a000, 2097152, PROT_NONE) = 0
mmap(0x7f6bd6c6a000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7f6bd6c6a000
mmap(0x7f6bd6c6d000, 6888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6bd6c6d000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\4\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1689360, ...}) = 0
mmap(NULL, 3795296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6bd667e000
mprotect(0x7f6bd6813000, 2097152, PROT_NONE) = 0
mmap(0x7f6bd6a13000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x195000) = 0x7f6bd6a13000
mmap(0x7f6bd6a19000, 14688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6bd6a19000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/liblber-2.4.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3001\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=59576, ...}) = 0
mmap(NULL, 2154920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6bd646f000
mprotect(0x7f6bd647c000, 2097152, PROT_NONE) = 0
mmap(0x7f6bd667c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x7f6bd667c000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p9\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=84848, ...}) = 0
mmap(NULL, 2189896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6bd6258000
mprotect(0x7f6bd626c000, 2093056, PROT_NONE) = 0
mmap(0x7f6bd646b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x7f6bd646b000
mmap(0x7f6bd646d000, 6728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6bd646d000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libsasl2.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360-\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=109296, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6bd72a1000
mmap(NULL, 2204648, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6bd603d000
mprotect(0x7f6bd6057000, 2093056, PROT_NONE) = 0
mmap(0x7f6bd6256000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19000) = 0x7f6bd6256000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libssl.so.1.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\212\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=442984, ...}) = 0
mmap(NULL, 2538440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6bd5dd1000
mprotect(0x7f6bd5e34000, 2093056, PROT_NONE) = 0
mmap(0x7f6bd6033000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x62000) = 0x7f6bd6033000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\360\7\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=2711616, ...}) = 0
mmap(NULL, 4820864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6bd5938000
mprotect(0x7f6bd5ba2000, 2097152, PROT_NONE) = 0
mmap(0x7f6bd5da2000, 180224, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26a000) = 0x7f6bd5da2000
mmap(0x7f6bd5dce000, 12160, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f6bd5dce000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14640, ...}) = 0
mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f6bd5734000
mprotect(0x7f6bd5737000, 2093056, PROT_NONE) = 0
mmap(0x7f6bd5936000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f6bd5936000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6bd729f000
arch_prctl(ARCH_SET_FS, 0x7f6bd72a0140) = 0
mprotect(0x7f6bd6a13000, 16384, PROT_READ) = 0
mprotect(0x7f6bd5936000, 4096, PROT_READ) = 0
mprotect(0x7f6bd6e86000, 4096, PROT_READ) = 0
mprotect(0x7f6bd5da2000, 122880, PROT_READ) = 0
mprotect(0x7f6bd6033000, 16384, PROT_READ) = 0
mprotect(0x7f6bd646b000, 4096, PROT_READ) = 0
mprotect(0x7f6bd6256000, 4096, PROT_READ) = 0
mprotect(0x7f6bd667c000, 4096, PROT_READ) = 0
mprotect(0x7f6bd6c6a000, 8192, PROT_READ) = 0
mprotect(0x7f6bd708d000, 4096, PROT_READ) = 0
mprotect(0x56434973a000, 4096, PROT_READ) = 0
mprotect(0x7f6bd72b2000, 4096, PROT_READ) = 0
munmap(0x7f6bd72a5000, 49456)           = 0
set_tid_address(0x7f6bd72a0410)         = 905
set_robust_list(0x7f6bd72a0420, 24)     = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f6bd6c74bd0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f6bd6c800e0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f6bd6c74c60, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f6bd6c800e0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
semget(0x64, 1, 0666)                   = -1 ENOENT (No such file or directory)
semctl(-1, 0, SETVAL, 0x7f6b00000001)   = -1 EINVAL (Invalid argument)
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f6bd72a0410) = 907
exit_group(0)                           = ?
+++ exited with 0 +++

Eeeeehmmmm… well…

Could you start the strace of the notifier with the mentioned parameters?

/CV

With the startup parameters it’s quite long, about 1.7MB.

https://drive.google.com/file/d/1fxPsDHxihd8VwxEYNZSZKnbDWZ4Ahncw/view?usp=sharing

Hi,

strace output is indeed difficult to read and understand. But usually it gives some hints, mostly at the end of the file. So here, too:

write(3, "25.04.19 07:37:51.221  TRANSFILE"..., 114) = 114
write(3, "25.04.19 07:37:51.221  TRANSFILE"..., 65) = 65
write(9, "0\201\322\2\1\2h\201\314\4\37reqSession=27301728,c"..., 213) = 213
poll([{fd=9, events=POLLIN|POLLPRI}], 1, -1) = 1 ([{fd=9, revents=POLLIN}])
read(9, "0\35\2\1\2i\30\n", 8)          = 8
read(9, "\1P\4\0\4\21txn_commit failed", 23) = 23
write(3, "25.04.19 07:37:51.221  TRANSFILE"..., 114) = 114
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
getpid()                                = 3628
gettid()                                = 3628
tgkill(3628, 3628, SIGABRT)             = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=3628, si_uid=0} ---
+++ killed by SIGABRT +++
Aborted

“killed by” is a sign of failure. Some lines above your see again a “failed” and below “TRANSFILE”.
And on the top of my quote you see a successful write command:
write(3, "25.04.19 07:37:51.221 TRANSFILE"..., 65) = 65
where it has written successful (!) 65bytes to the file with the file descriptor 3. Which is:

cv@pc:~/Downloads$ grep -E "^open.*3$" strace.txt| tail -1
open("/var/log/univention/notifier.log", O_RDWR|O_CREAT|O_APPEND, 0666) = 3

So I am pretty sure it writes it’s output to the logfile. So please post the logfile as it will for sure give some hints.

Oh, and I see:
write(3, "25.04.19 07:37:50.529 DEBUG_INI"..., 34) = 34
which is the DEBUG_INIT I was asking for.

You mentioned you do not see it in the logfile? I see it has been written to…

/CV

The errors I see before it goes back to it’s normal output are:

24.04.19 12:56:49.530  DEBUG_INIT
24.04.19 12:56:49.556  TRANSFILE   ( ERROR   ) : Could not open /var/lib/univention-ldap/replog/replog
25.04.19 07:48:21.033  TRANSFILE   ( ERROR   ) : 27301728 ldap_add(): Other (e.g., implementation specific) error

And an ls -l of /var/lib/univention-ldap/replog/ is just:

# ls -l
total 0
-rw-r--r-- 1 root root 0 Apr 24 12:56 replog.lock

@Christian_Voelker so how do I get it to create the replog? I’ve tried restarting the service innumerable times and restarted the server.

@Christian_Voelker Still having issues. Updated to errata 78 and still can’t execute domain join scripts for radius or app center.

univention-run-join-scripts started
Sat May 4 07:49:25 MDT 2019

univention-join-hooks: looking for hook type "join/pre-joinscripts" on ad.skaggscatholiccenter.org
Found hooks:

RUNNING 30univention-appcenter.inst
2019-05-04 07:49:25.878584061-06:00 (in joinscript_init)
Object exists: cn=apps,cn=univention,dc=skaggscatholiccenter,dc=org
Object exists: cn=ldapschema,cn=univention,dc=skaggscatholiccenter,dc=org
INFO: No change of core data of object univention-app.
Object exists: cn=ldapacl,cn=univention,dc=skaggscatholiccenter,dc=org
INFO: No change of core data of object 66univention-appcenter_app.
Object exists: cn=udm_syntax,cn=univention,dc=skaggscatholiccenter,dc=org
INFO: No change of core data of object app_syntax.
Object exists: cn=udm_module,cn=univention,dc=skaggscatholiccenter,dc=org
INFO: No change of core data of object appcenter/app.
No modification: cn=univention-app,cn=ldapschema,cn=univention,dc=skaggscatholiccenter,dc=org

No modification: cn=66univention-appcenter_app,cn=ldapacl,cn=univention,dc=skaggscatholiccenter,dc=org

No modification: cn=app_syntax,cn=udm_syntax,cn=univention,dc=skaggscatholiccenter,dc=org

No modification: cn=appcenter/app,cn=udm_module,cn=univention,dc=skaggscatholiccenter,dc=org

Waiting for activation of the extension object univention-app: OK
Waiting for activation of the extension object 66univention-appcenter_app: OK
Waiting for activation of the extension object app_syntax:.......................................................ERROR: Master did not mark the extension object active within 180 seconds.
ERROR
ucs_registerLDAPExtension: registraton of /usr/share/univention-appcenter/app_syntax.py failed.

EXITCODE=1
2313bbb7-ae52-4b51-802c-bb24755b8ca9
RUNNING 80univention-radius.inst
2019-05-04 07:52:29.244868079-06:00 (in joinscript_init)
Object exists: cn=services,cn=univention,dc=skaggscatholiccenter,dc=org
Object exists: cn=RADIUS,cn=services,cn=univention,dc=skaggscatholiccenter,dc=org
WARNING: cannot append RADIUS to service, value exists
No modification: cn=ad,cn=dc,cn=computers,dc=skaggscatholiccenter,dc=org
Generating DH parameters, 1024 bit long safe prime, generator 2
This is going to take a long time
..+.................................................................................+.....+...................+......................................+................................+................................................................................+............................................+.......+.........................+.....+...................................................+.................+............................+........................................................................................+.......................................+......+..........+...+...............................................+..............................................................+.................................................+.........................+.....................+...................................+.......................................................................................................................................................................................................+................+............................+...+.............................................................................................................................................................+.......+..........+.........+......................................................+............................................+.................................................+........................................+.........+..................................................................................................+...................................................................................................................................+....+......................................................................................................................................................+.................................................................+..............................................................+..........................................................+............................+.....+........+.....................................................................................................................................................+......+........................................................+................................................................................................................................+.................+..................+.........................................................++*++*++*++*++*
unable to write 'random state'
Object exists: cn=ldapschema,cn=univention,dc=skaggscatholiccenter,dc=org
INFO: No change of core data of object networkaccess.
Object exists: cn=ldapacl,cn=univention,dc=skaggscatholiccenter,dc=org
INFO: No change of core data of object 59univention-radius.
INFO: No change of core data of object 66univention-radius.
No modification: cn=networkaccess,cn=ldapschema,cn=univention,dc=skaggscatholiccenter,dc=org

No modification: cn=59univention-radius,cn=ldapacl,cn=univention,dc=skaggscatholiccenter,dc=org

No modification: cn=66univention-radius,cn=ldapacl,cn=univention,dc=skaggscatholiccenter,dc=org

Waiting for activation of the extension object networkaccess: OK
Waiting for activation of the extension object 59univention-radius:.......................................................ERROR: Master did not mark the extension object active within 180 seconds.
ERROR
ucs_registerLDAPExtension: registraton of /usr/share/univention-radius/59univention-radius.acl failed.
EXITCODE=1
e0ce6ed2-514f-40bd-af0e-a0c148285f7c
univention-join-hooks: looking for hook type "join/post-joinscripts" on ad.skaggscatholiccenter.org
Found hooks:


Sat May 4 07:55:37 MDT 2019
univention-run-join-scripts finished

Hi,

only advice I can give you here is to follow this article step-by-step:

I am pretty sure it will solve your issues.

/CV

@Christian_Voelker Nope. I rand the check script and didn’t get a result. When I tried to start the listener and notifier it claims they don’t exist.

# /usr/share/univention-directory-notifier/univention-translog check
# systemctl start listener
Failed to start listener.service: Unit listener.service not found.
# systemctl start notifier
Failed to start notifier.service: Unit notifier.service not found.
# systemctl start slapd

I did find a listener and notifier in /etc/init.d/ and started them manually. But the two join scripts still won’t execute successfully.

# /etc/init.d/univention-directory-listener start
[ ok ] Starting univention-directory-listener (via systemctl): univention-directory-listener.service.
# /etc/init.d/univention-directory-notifier start
[ ok ] Starting univention-directory-notifier (via systemctl): univention-directory-notifier.service.
# 

I looked in on the listener and notifier logs. I did state earlier in this thread that the listener is failing to connect.

listener.log

13.05.19 09:14:26.996  LISTENER    ( WARN    ) : can not connect any server, retrying in 30 seconds
13.05.19 09:14:56.997  LISTENER    ( WARN    ) : Notifier/LDAP server is ad.skaggscatholiccenter.org:7389
13.05.19 09:14:56.997  LDAP        ( PROCESS ) : connecting to ldap://ad.skaggscatholiccenter.org:7389
13.05.19 09:14:57.000  LDAP        ( INFO    ) : simple_bind as cn=admin,dc=skaggscatholiccenter,dc=org
13.05.19 09:14:57.000  LISTENER    ( INFO    ) : connecting to notifier ad.skaggscatholiccenter.org:6669
13.05.19 09:14:57.000  LISTENER    ( INFO    ) : connection to 172.16.0.9 failed with errorcode 111: Connection refused
13.05.19 09:14:57.000  LISTENER    ( ERROR   ) : failed to connect to any notifier
13.05.19 09:14:57.000  LISTENER    ( WARN    ) : can not connect any server, retrying in 30 seconds
13.05.19 09:15:27.001  LISTENER    ( WARN    ) : Notifier/LDAP server is ad.skaggscatholiccenter.org:7389
13.05.19 09:15:27.001  LDAP        ( PROCESS ) : connecting to ldap://ad.skaggscatholiccenter.org:7389
13.05.19 09:15:27.007  LDAP        ( INFO    ) : simple_bind as cn=admin,dc=skaggscatholiccenter,dc=org
13.05.19 09:15:27.008  LISTENER    ( INFO    ) : connecting to notifier ad.skaggscatholiccenter.org:6669
13.05.19 09:15:27.009  LISTENER    ( INFO    ) : connection to 172.16.0.9 failed with errorcode 111: Connection refused
13.05.19 09:15:27.009  LISTENER    ( ERROR   ) : failed to connect to any notifier
13.05.19 09:15:27.009  LISTENER    ( WARN    ) : can not connect any server, retrying in 30 seconds

notifier.log is still showing the same error about command=‘m’

2019-05-13 09:17:04,660:CRITICAL:ldap_search(reqSession=27301727,cn=translog): No such object
2019-05-13 09:17:04,719:ERROR:ldap_add(Transaction(tid=27230362, dn='dc=skaggscatholiccenter,dc=org', command='m')): Already exists
2019-05-13 09:17:04,719:CRITICAL:ldap_add(Transaction(tid=27230363, dn='dc=skaggscatholiccenter,dc=org', command='m')): {'info': 'txn_commit failed', 'desc': 'Other (e.g., implementation specific) error'}
2019-05-13 09:17:10,058:CRITICAL:ldap_search(reqSession=27301727,cn=translog): No such object
2019-05-13 09:17:10,123:ERROR:ldap_add(Transaction(tid=27230362, dn='dc=skaggscatholiccenter,dc=org', command='m')): Already exists
2019-05-13 09:17:10,123:CRITICAL:ldap_add(Transaction(tid=27230363, dn='dc=skaggscatholiccenter,dc=org', command='m')): {'info': 'txn_commit failed', 'desc': 'Other (e.g., implementation specific) error'}
2019-05-13 09:17:15,386:CRITICAL:ldap_search(reqSession=27301727,cn=translog): No such object
2019-05-13 09:17:15,445:ERROR:ldap_add(Transaction(tid=27230362, dn='dc=skaggscatholiccenter,dc=org', command='m')): Already exists
2019-05-13 09:17:15,446:CRITICAL:ldap_add(Transaction(tid=27230363, dn='dc=skaggscatholiccenter,dc=org', command='m')): {'info': 'txn_commit failed', 'desc': 'Other (e.g., implementation specific) error'}

Hi,

there has been indeed a typo in the article. Fixed it. Should state:

systemctl stop univention-directory-listener
systemctl stop univention-directory-notifer
systemctl stop slapd

So far why you have not been able to start your listener through systemctl.
So please stop services as shown above. Then do:

/usr/share/univention-directory-notifier/univention-translog check

and post the output here.

/CV

Sorry for the long delay. I have to wait until the weekends in case something happens.

Here is the output from the translog check.

root@ad:~# systemctl stop univention-directory-listener
root@ad:~# systemctl stop univention-directory-notifier
root@ad:~# systemctl stop slapd
root@ad:~# tar -C /var/lib/univention-ldap -czpvf /root/replication_backup notify/ listener/
notify/
notify/transaction.index
notify/transaction
notify/transaction.lock
notify/transaction.bak
listener/
listener/listener.bak
listener/listener
listener/listener.lock
root@ad:~# /usr/share/univention-directory-notifier/univention-translog check
root@ad:~# systemctl start univention-directory-listener
root@ad:~# systemctl start univention-directory-notifier
root@ad:~# systemctl start slapd
root@ad:~# 

@Christian_Voelker So it’s been a few days. What’s the solution to this NIGHTMARE? Your translog checking script says everything is fine (no output) when obviously it is not ok.

Closing in on a week here @Christian_Voelker! How do I fix this? None of the articles you’ve linked work in terms of fixing the problem.

Hi,

sorry, currently I do not have the time for deeper troubleshooting here.
Maybe someone else has an idea?

/CV

@Christian_Voelker How do I get paid support for this problem? I’m sick and tired of this UCS system not working and of all the things I’ve dug up and stuff you’ve linked has not worked.