Skip to main content
Troubleshooting

FAQ

Find the cause by symptom, grouped by install, login, AD trust, licence, clients and replication. Most problems are DNS or time.

Three commands locate most problems:

sudo ipactl status                                  # which service is down
chronyc tracking                                    # clock offset
getent hosts $(hostname -f); dig +short -x <own IP>  # forward and reverse resolution

Install

SymptomCauseFix
ipa-server-install says the hostname is unresolvable or loopbackIPA_HOSTNAME has no forward / reverse record, or /etc/hosts puts it on the 127.0.0.1 / ::1 lineFix DNS or /etc/hosts to the real IP; remove myhostname from nsswitch.conf
Fails at DNS forwarder validationIPA_FORWARDERS unreachable, or IPA_AUTO_FORWARDERS=true picked a dead address from resolv.confPick one of the three layouts in the quick start
Time-related task FAILEDBare metal with IPA_NO_NTP=true and no external time sourceIPA_NO_NTP=false
setup_dns sub-options rejectedDNS sub-options passed with IPA_SETUP_DNS=falseUse the bundled render-inventory.sh; it neutralises them
Collection version mismatchControl node ansible-core differs from the packaging versionUse the bundled collections/, run ansible-galaxy collection install -r requirements.yml inside it
ansible ping failsssh user lacks NOPASSWD sudo, or wrong keyTest with ansible -i deploy/inventory.generated.yml all -m ping
Rerun hangs in ipa-server-installPrevious attempt not cleanedipa-server-install --uninstall -U first; see Deploy
configuring mod_ssl says ssl.conf is missingmod_ssl not installeddnf install mod_ssl; the bundled repo has it
httpd keytab or pkispawn complains a directory is missingTarget not clean; /var/lib/ipa/gssproxy, /var/log/pki etc. were deletedrpm -Va --nofiledigest | grep ^missing, dnf reinstall the owners
Check 5 (write before activation) is not refusedLicence gate inactiveWSGIScriptAlias /ipa in /etc/httpd/conf.d/ipa.conf must point at /opt/idmatrix-license/gate_wsgi.py; status.json must be readable

Login and console

SymptomCauseFix
Browser distrusts the certificateFactory certificate from the built-in IPA CAExpected. Import /etc/ipa/ca.crt into the browser trust store, or replace with a customer CA certificate
ERR_CERT_AUTHORITY_INVALID, cannot proceedIP address in the URLUse the FQDN
Console unreachable443 blocked or in usess -lntp | grep :443; open in firewalld
kinit admin reports Clock skew too greatMore than 5 minutes offSync time
Every write returns 403 after loginNot activated, or module not licensedCheck valid and mods in status.json
A navigation group is missingModule not in the licenceSame; not a cache issue
Classic UI works, new console is blankdist/ not deployed or wrong pathindex.html under IDM_WEBUI_DIST_DST; /ipa/modern-ui alias in ipa.conf

AD trust

SymptomCauseFix
trust-add cannot find the AD domainNo forward zoneipa dnsforwardzone-add <AD domain> --forwarder <AD DNS> --skip-overlap-check
WERR_CONNECTION_REFUSEDTwo-way trustOne-way: --range-type=ipa-ad-trust, no --two-way
KRB5KDC_ERR_SKEWMore than 5 minutes off the DCSame NTP source
Trust exists, id <AD user>@<AD domain> returns nothingsssd has not fetched, or winbind is downipactl status for smb / winbind; sss_cache -E
AD user resolves, ssh refusedNo HBAC rule allows itipa hbactest --user <AD user>@<AD domain> --host <host> --service sshd
No Trusts pageLicence lacks the AD trust moduleEnterprise tier

More under AD trust prerequisites.

Licence

SymptomCauseFix
Red banner "Not activated"Factory state, no .lic uploadedCopy the fingerprint on the activation page, upload the .lic
"Not authorised on this server"Fingerprint mismatch: new machine, reinstall, clone, changed machine-idReissue for the new fingerprint
Upload returns 许可证文件为空或过大 (file empty or too large)Wrong path after curl --data-binary @Use an absolute path
status.json shows degraded: trueSee reason: expired, over host cap, revoked, fingerprint mismatchAct on the reason
ipa host-add failsManaged host cap reachedipa host-find --sizelimit=0 | tail -1 for the count; reissue with a higher cap
LicenseModuleLocked never in httpd logsThe gate does not log refusalsRead status.json only
Edited idmatrix-license.service env has no effectMissing daemon-reload and systemctl startThe timer runs once a day

Clients

SymptomCauseFix
ipa-client-install reports Failed to upload host SSH public keysBefore 1.0.2 the licence gate counted host keys under the ssh-keys moduleUpgrade to 1.0.2; for hosts already enrolled, ipa host-mod <FQDN> --sshpubkey="$(cat /etc/ssh/ssh_host_ed25519_key.pub)"
Client logins slow or time outsssd cannot find the KDC; DNS SRV not resolvingOn the client: dig +short _kerberos._tcp.<domain> SRV
No home directory on first loginmkhomedir not enabled on the clientauthselect enable-feature with-mkhomedir, start oddjobd
sudo rules not appliedsssd cachesss_cache -E; sudo -l shows what was fetched

Replication (multi-master)

SymptomCauseFix
Invalid credentials (49), DS log shows gss_accept_sec_contextNew host lacks /etc/krb5.conf.d/crypto-policies; its KDC signs camellia ticketsSee Adding a second server
topologysegment is both but user-add does not replicateZombie replica id in the RUVdsconf ... cleanallruv --replica-id <id>
Replica install fails with CA_UNREACHABLEFirst server's licence lacked certificate issuance (before 1.0.2)Upgrade or reissue

Still stuck

Collect these before contacting Reallysec:

sudo ipactl status
cat /var/lib/idmatrix-license/status.json
sudo ipa-healthcheck --failures-only
sudo tail -100 /var/log/ipaserver-install.log        # install problems
sudo tail -100 /var/log/dirsrv/slapd-<REALM>/errors  # replication problems

On this page