'Error bash: service: command not found' error when attempting to stop or start RSA Identity Governance & Lifecycle
Originally Published: 2015-03-19
Last Modified: 2023-10-06
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
How to Start/Stop/Access Oracle Enterprise Manager (OEM) in RSA Governance & Lifecycle 188Number of Views AFX Server on Windows fails to stop/start after initial successful start in RSA Governance & Lifecycle 154Number of Views 'No such service afx_server' error when performing afx status/stop/start commands in RSA Identity Governance & Lifecycle 149Number of Views RSA Identity Governance & Lifecycle startup fails with "Unable to start service WorkflowService. java.lang.IndexOutOfBound… 128Number of Views Upload Certificates for Trusted Certificate Authorities 57Number of Views
Trending Articles
RSA RADIUS Overview RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide Troubleshooting RSA MFA Agent for Microsoft Windows RSA Authentication Manager 8.9 Setup and Configuration Guide How to download full kits, service packs, and patches from RSA Link for RSA Identity Governance & Lifecycle
Don't see what you're looking for?