Salesforce

'No such service afx_server' error when performing afx status/stop/start commands in RSA Identity Governance & Lifecycle

Header
'No such service afx_server' error when performing afx status/stop/start commands in RSA Identity Governance & Lifecycle
No-such-service-afx-server-error-when-performing-afx-status-stop-start-commands-in-RSA-Identity-Governance-Lifecycle
'No such service afx_server' error when performing afx status/stop/start commands in RSA Identity Governance & Lifecycle
Work in Progress
1,587.99
Article Content
 
RSA Product Set: RSA Identity Governance & Lifecycle 
RSA Version/Condition: All
 
The following error occurs when trying to execute AFX commands such as stop/start/status.
$ afx {command}
service: no such service afx_server
The symbolic link for AFX has been broken or was not setup properly when configuring the AFX Server service.
 
Create a symbolic link to the AFX startup script located in $AFX_HOME/bin.
  1. Connect to the AFX Server as the root user.
  2. 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 
  1. 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
  1. 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
  1. To configure AFX services to start and stop automatically whenever the system reboots, add the service and enable it using the chkconfig utility: 
  1. Add the service:
chkconfig --add afx_server
  1. Enable the service run level:
chkconfig afx_server on
  1. Verify the service has been added: 
chkconfig --list afx_server
Login to the AFX Server as the afx user and execute the script file along with the command:
cd $AFX_HOME/bin
./afx {command}
For example:
./afx status
000038293
Article Settings
External
Case
Rakhee Tarar
12/31/2019 3:35 PM
Rakhee Tarar
Article Assignment
 
 
 
Article Properties
Published
Knowledge
000042411
Rakhee Tarar
Admin9 Integration (AWS)
English

Powered by