Cluster Scheduling Components Fail to Be Started, and "get Sem Errno =13" Is Displayed

Symptom

Cluster scheduling components fail to be started, and "get Sem Errno =13" is displayed.

Causes

The default permission on the KMC key file lock semaphore is 600, and the owner for running KMC is the root user or other users. Other users cannot access the file lock semaphore created by the root user; otherwise, "errno=13" is displayed.

Solution

  1. Run the following command to check the semaphore:
    ipcs -s
  2. Run the following command to delete the semaphore (0x2016****) created by the root user:
    ipcrm -S {Semaphore}
  3. Re-deploy the component.