000029863 - Error bash: service: command not found is displayed when attempting to stop or start RSA Identity Governance and Lifecycle Access Certification Manager (ACM) from the command line.

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 26, 2017
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000029863
Applies ToRSA Product Set: Identity Governance and Lifecycle
 
IssueError bash: service: command not found is displayed when attempting to stop or start RSA Identity Governance and Lifecycle Access Certification Manager (ACM) from the command line.
The error is thrown when trying to start the ACM:
service aveksa_server startdb
service aveksa_server start
acm startdb
acm start

The error is also seen on shutidwn:
service aveksa_server stopdb
service aveksa_server stop
acm stopdb
acm stop

This error can also be seen when attempting to install ACM and our installer tries to check to see if NTP is running.
CauseThe shell environment's PATH variable does not include /sbin
Either the PATH variable has omitted this value or the PATH is not set correctly.
ResolutionInvestigate with your Linux administrator as to why your PATH is not set correctly..  This could be a result of not passing a hyphen to the su command or if you do not have the PATH defined for the specific user.
 
WorkaroundTo workaround the issue temporarily:
  1. Check your PATH to verify that /sbin is missing:
echo $PATH

  1. The quick fix to add sbin to your PATH:
export PATH=$PATH:/sbin

Attachments

    Outcomes