'No such service afx_server' error when performing afx status/stop/start commands in RSA Identity Governance & Lifecycle
Originally Published: 2019-12-31
Last Modified: 2023-11-30
Article Number
Applies To
RSA Version/Condition: All
Issue
$ afx {command}
service: no such service afx_serverCause
Resolution
- Connect to the AFX Server as the root user.
- Create a symbolic link to the AFX startup script located in $AFX_HOME/bin.
ln -s $AFX_HOME/bin/afx_server /etc/init.d/afx_server
- Make sure the link was created properly:
ls -l /etc/init.d/afx_server
For example:
$ ls -l /etc/init.d/afx_server lrwxrwxrwx 1 root root 31 Dec 30 15:26 /etc/init.d/afx_server -> /home/oracle/AFX/bin/afx_server
- Switch to the afx user and verify that the AFX commands now work. Here is a sample session using the afx status command. Note that in this example the afx user is oracle.
$ afx status AFX Server Status:Setting MULE_HOME to /home/oracle/AFX/esb... INFO: Using default configuration (you can configure options in one of these file: /etc/default/activemq /home/oracle/.activemqrc) INFO: Invoke the following command to create a configuration file /home/oracle/AFX/activemq/bin/activemq setup [ /etc/default/activemq | /home/oracle/.activemqrc ] INFO: Using java '/etc/alternatives/java_sdk_1.7.0/bin/java' ActiveMQ not running ---- MULE_HOME is set to /home/oracle/AFX/esb Mule Enterprise Edition is not running. ---- MMC Console is not running. done
- To configure AFX services to start and stop automatically whenever the system reboots, add the service and enable it using the chkconfig utility:
- Add the service:
chkconfig --add afx_server
- Enable the service run level:
chkconfig afx_server on
- Verify the service has been added:
chkconfig --list afx_server
Workaround
cd $AFX_HOME/bin
./afx {command}
For example:
./afx status
Related Articles
How to Start/Stop/Access Oracle Enterprise Manager (OEM) in RSA Governance & Lifecycle 188Number of Views AFX Connectors cycle between Running, Deployed, Not Deployed and Stopped states in version 6.9.1 of RSA Identity Governanc… 162Number of Views AFX Server on Windows fails to stop/start after initial successful start in RSA Governance & Lifecycle 154Number of Views Failed to backup the system secrets error while performing RSA Authentication Manager backup 110Number of Views Application is inaccessible and 'javax.naming.NamingException: Could not dereference object' error when stopping RSA Ident… 67Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Reporting on RSA Authentication Manager 8.x users with On-Demand Token, a fixed passcode or a hardware/software token assi… How to Download OTP Token Seed Files from myRSA Anomalix idGenius - SAML Relying Party Configuration - RSA Ready Implementation Guide RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide
Don't see what you're looking for?