From: Rob Crittenden <rcritten@redhat.com>
To: pgb205 <pgb205@yahoo.com>; FreeIPA users list <freeipa-users@lists.fedorahosted.org>
Sent: Thursday, June 1, 2017 4:34 PM
Subject: Re: [Freeipa-users] ipa-server-upgrade stuck

pgb205 via FreeIPA-users wrote:
> I have tried to start an apparently crashed instance of ipa server

Define crashed, and what version?

> and got
>
> ipactl start
> Upgrade required: please run ipa-server-upgrade command
> Aborting ipactl

It uses values from /var/lib/ipa/sysupgrade/sysupgrade.state to
determine the current version, the values data_version and platform in
the ipa section. It compares them against the running bits.


>
> ran ipa-server-upgrade which got to the following step, but no further
> /ipa.ipaserver.install.ldapupdate.LDAPUpdate: DEBUG:
> ---------------------------------------------/
> /ipa.ipaserver.install.ldapupdate.LDAPUpdate: DEBUG: Final value after
> applying updates/
> /ipa.ipaserver.install.ldapupdate.LDAPUpdate: DEBUG: dn:
> cn=selinux,dc=mmracks,dc=internal/
> /ipa.ipaserver.install.ldapupdate.LDAPUpdate: DEBUG: objectClass:/
> /ipa.ipaserver.install.ldapupdate.LDAPUpdate: DEBUG:    nsContainer/
> /ipa.ipaserver.install.ldapupdate.LDAPUpdate: DEBUG:    top/
> /ipa.ipaserver.install.ldapupdate.LDAPUpdate: DEBUG: cn:/
> /ipa.ipaserver.install.ldapupdate.LDAPUpdate: DEBUG:    selinux/
>
>
> the command is stuck and is not giving me any error.
>
> Any advise as to why I am suddenly prompted to upgrade but even more
> importantly on how I should get past the above point in the upgrade?


My guess is that 389-ds is hung up. I'd start with
http://directory.fedoraproject.org/docs/389ds/FAQ/faq.html#debugging-hangs

rob


this is what im getting in the logs. But don't know if it's significant
tail -f stacktrace.1496352523.txt
Thread 1 (Thread 0x7f5c15886880 (LWP 4427)):
#0  0x00007f5c12ca6dfd in poll () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007f5c135deb37 in _pr_poll_with_poll () from /lib64/libnspr4.so
No symbol table info available.
#2  0x00007f5c158f1799 in slapd_daemon ()
No symbol table info available.
#3  0x00007f5c158e3253 in main ()
No symbol table info available.
Detaching from program: /usr/sbin/ns-slapd, process 4427




We are on version 4.4