'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 ORA-06550 error when attempting to run the Data_Retention_Pkg in RSA Identity Governance & Lifecycle 90Number of Views RSA Identity Governance & Lifecycle startup fails with "Unable to start service WorkflowService. java.lang.IndexOutOfBound… 128Number of Views
Trending Articles
Troubleshooting RSA MFA Agent for Microsoft Windows RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide How to Replace the Web Server Certificate for the RSA Identity Governance & Lifecycle Web Console RSA SecurID software token .sdtid file fails to import into RSA SecurID Software Token 5.0 for Windows Deploy an Identity Router Virtual Machine in Microsoft Azure
Don't see what you're looking for?