'Error bash: service: command not found' error when attempting to stop or start RSA Identity Governance & Lifecycle
Originally Published: 2015-03-19
Article Number
Applies To
RSA Version/Condition: All
Issue
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 stopThis error has also been seen when installing RSA Identity Governance & Lifecycle at the point where the installer checks to see if NTP is running.
Cause
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.
Resolution
Workaround
- Check your PATH to verify that /sbin is missing:
echo $PATH
- Append sbin to your PATH variable until a permanent resolution is implemented.
export PATH=$PATH:/sbin
Related Articles
All RSA Products - HTTP 403 Forbidden error when downloading from Download Central 127Number of Views Unable to get value for field SRCID when running custom report in RSA Identity Governance & Lifecycle 48Number of Views 'No such service afx_server' error when performing afx status/stop/start commands in RSA Identity Governance & Lifecycle 138Number of Views Modification of the LDAP identity source failed with an Error "Unexpected error during command com.rsa.admin.UpdateIdentit… 128Number of Views How to stop RSA Via Lifecycle & Governance (IMG) review items from reverting back to the default state after a change requ… 103Number of Views
Don't see what you're looking for?