IBM Support

Error: Locking is not possible in the directory when running in group mode



You run IBM Installation Manager in group mode with multiple users. One of the users receives an error that file locking is not possible.


The error message is:

Locking is not possible in the directory "{IM_HOME}/eclipse/configuration/org.eclipse.osgi". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking passing "-Dosgi.locking="none" as a VM argument. {IM_HOME}/eclipse/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied).

Installation Manager then exits.


The error occurs when the user does not have the required permission to access the .fileTableLock file. This file is in the configuration directory for Installation Manager.

The permission is not available because the umask settings for the previous user who ran Installation Manager were not set for group mode. The umask settings for the previous user did not allow files created in group mode to have group permissions equal to owner permissions.

The configuration folder is used to store OSGi cache information. The .fileTableLock file is accessed by the OSGi cache at runtime. Failing to access the .fileTableLock file can impact OSGi cache internal logic.

Resolving The Problem

To resolve this issue, take one of the following steps:

  • Change the permission for .fileTableLock file to 777
    • There are several directories that have .fileTableLock files that might require a change of permissions:
      1. {IM_HOME}/eclipse/configuration/org.eclipse.core.runtime/.manager
      2. {IM_HOME}/eclipse/configuration/
      3. {IM_HOME}/eclipse/configuration/org.eclipse.osgi/.manager
  • Run this command on the configuration directory:

  • chmod -R g+rwx
  • As a root user, change the owning group for the contents of the root directory of the Eclipse configuration directory to the group that uses Installation Manager in group mode:

  • chgrp -R <groupName> <{IM_HOME}/eclipse/configuration>

Information on group mode permissions is available in the IBM Installation Manager Information Center:



REMINDER: Group mode is not available on Microsoft Windows and IBM i platforms.

[{"Product":{"code":"SSDV2W","label":"IBM Installation Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Install","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"1.4.2;1.4.3;1.4.4;1.5;1.5.1;1.5.2;","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
25 October 2021