我要评分
获取效率
正确性
完整性
易理解

User Credential

Symptom

The error message is as follows:

globalcache.service: Failed to determine user credentials: No such process
globalcache.service: Failed at step USER spawning /opt/gcache/bin/gcache_startup: No such process

Conclusion and Solution

  1. Check the service file.
    vim /usr/lib/systemd/system/globalcache.service

  2. Check whether User and Group are globalcache. If not, change them to globalcache.
  3. If the service file is correct but still cannot be started, restart the systemctl service.
    systemctl daemon-reexec