Environment
Identity Manager 4.7
Identity Manager Driver - Salesforce
Situation
Salesforce driver starts, but gets a "An unexpected error occurred in the publisher channel" error, and does not process events in the publisher channel.
<nds dtdversion="2.0">
<source>
<product build="20180222_0611" instance="Salesforce" version="4.1.0.0">NetIQ Identity Manager Driver for Salesforce.com</product>
<contact>NetIQ Corporation</contact>
</source>
<input>
<status level="fatal" type="heartbeat">An unexpected error occurred in the publisher channel: </status>
</input>
</nds>
[04/12/19 12:46:59.856]:Salesforce PT:Receiving DOM document from application.
[04/12/19 12:46:59.857]:Salesforce PT:<nds dtdversion="2.0">
<source>
<product build="20180222_0611" instance="Salesforce" version="4.1.0.0">NetIQ Identity Manager Driver for Salesforce.com</product>
<contact>NetIQ Corporation</contact>
</source>
<input>
<status level="fatal" type="heartbeat">An unexpected error occurred in the publisher channel: </status>
</input>
</nds>
Resolution
Delete the driver cache files resolved the issue.
Here are some instructions.
1. Get a directory listing of the
.TAO files in the /var/opt/novell/eDirectory/data/dib directory
ll
/var/opt/novell/eDirectory/data/dib/*.TAO2. Stop and disable the
salesforce.com driver.
3. Get another directory listing and see what .TAO
file was removed. For example 12345.TAO is no longer there.
4. Delete any
files in the /var/opt/novell/eDirectory/data/dib directory with driver object
ID. 12345.*
5. Additionally, see if there are any files in the
/var/opt/novell/eDirectory/data/dib directory with the drivername and remove
them as well. (copy them to the tmp directory)
ll <drivername>*6.
Then see if the driver will start, and see if it gets the same error.
WARNING! Be very careful not to delete other files in the dib directory. Deleting other files in the dib directory can cause corruption in eDirectory.
Cause
There was a corrupted query cache file.