LW_ERROR_INVALID_MESSAGE (The Inter Process message is invalid)

Error

After a host level outage or host outage work, there's a rare case where older versions of AD Bridge cause the cache file /var/lib/pbis/db/lsass-adcache.filedb.* to become 0 bytes. The file also cannot be written to, so it causes an error when attempting to perform a domain join similar to the following:

root@host /opt/pbis/bin > pbis-status
LSA Server Status:
Compiled daemon version: 8.5.3.293
Packaged product version: 8.5.289.0
Uptime: 0 days 0 hours 0 minutes 47 seconds
			
[Authentication provider: lsa-activedirectory-provider]
Status: Unknown
Mode: Unknown
root@pl000680 /opt/pbis/bin > domainjoin-cli join DOMAIN.LOCAL join-user
Joining to AD Domain: domain.local
With Computer DNS Name: computername

join-user@DOMAIN.LOCAL's password:
Error: LW_ERROR_INVALID_MESSAGE [code 0x00009c46]
The Inter Process message is invalid

Cause

This was identified as an issue in older versions of AD Bridge.

Resolution

This issue has been resolved in AD Bridge versions 8.6.0 and later.

To resolve the issue in older versions of AD Bridge, follow the below steps.

  1. rm /var/lib/pbis/db/lsass-adcache.filedb.*
  2. service lwsmd restart
  3. Rejoin domain.

If you remove this file and restart lwsmd, the issue will be resolved.