User gets deleted from the Mobility connector after a restart

  • 7008109
  • 11-Mar-2011
  • 10-Dec-2013

Environment

Novell Data Synchronizer Connector for Mobility
Novell Data Synchronizer Connector for GroupWise
Novell Data Synchronizer Mobility Pack

Situation

After adding the users to the GroupWise and the Mobility connector, the Mobility Monitor page shows "Deleted" against the user after restarting the connectors.
User gets deleted from the mobility connector after restarting the datsync services.

Resolution

To resolve the issue, remove all entries for that user in datasync database. To do so, please follow the steps below:
 
Please be careful while following these steps as incorrectly modifying the database can destroy the mobility server.
  1. Delete the user from both the connectors.
  2. Open a terminal window for the Datasync server.
  3. Type the following command  psql -U datasync_user datasync
  4. Enter password for the datasync database. If the database password is not known, please check /etc/datasync/configengine/configengine.xml file as the password is stored in plaintext in the following format
    <db>datasync</db>
    <username>datasync_user</username>
    <password>novell</password>
  5. Type the following command select dn from targets;
  6. Check if the user is present in the listed user list. Copy the entry for that user.
  7. Type the following command to delete the user from the datasync database delete from targets where dn='cn=user,o=context';
  8. Replace cn=user,o=context with the one that was copied in step 6.
  9. Exit by typing \q
  10. Restart the Datasync services with the command rcdatasync restart
  11. Add the user to both the connectors .