000029863 - 'Error bash: service: command not found' error when attempting to stop or start RSA Identity Governance & Lifecycle

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support on Jul 20, 2020
Version 4Show Document
  • View in full screen mode

Article Content

Article Number000029863
Applies ToRSA Product Set: RSA Identity Governance & Lifecycle
RSA Version/Condition: All
 
IssueWhen attempting to start or stop RSA Identity Governance and Lifecycle from the command line, the following error occurs:
 
Error bash: service: command not found


The error is seen both when starting and/or stopping the RSA Identity Governance & Lifecycle application and/or database. For example, this error has been seen after executing any of the following commands:
 
Startup:



service aveksa_server startdb
service aveksa_server start
acm startdb
acm start


Shutdown:



service aveksa_server stopdb
service aveksa_server stop
acm stopdb
acm stop

This error has also been seen when installing RSA Identity Governance & Lifecycle at the point where the installer checks 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.

This could also be a result of not passing a hyphen to the su command (- su) or the PATH variable might not be defined for the specific user executing the start/stop commands.
 
ResolutionInvestigate with your Linux administrator as to why your PATH variable is not set correctly.
 
WorkaroundTo workaround this issue temporarily:
  1. Check your PATH to verify that /sbin is missing:


echo $PATH


  1. Append sbin to your PATH variable until a permanent resolution is implemented. 


export PATH=$PATH:/sbin

Attachments

    Outcomes