Cluster Scheduling Components Fail to Start and "get sem errno =13" Is Displayed in Logs

Symptom

The cluster scheduling components fail to start, and "get sem errno =13" is displayed in component logs.

Cause Analysis

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. Check the semaphore.
    ipcs -s
  2. Delete the semaphore (0x2016****) created by the root user.
    ipcrm -S {Semaphore}
  3. Re-deploy the components.