After upgrading to 7.0.2 P06 afx commands started to fail.
Tried to start afx as root and oracle but results were same. How can I get rid of that permission error?
Changing 'AFX_HOME=' to 'AFX_HOME=/home/oracle/AFX' on setAFXEnv.sh worked.
Thank you for all your assistance.
See the resolution which is described in the following article - 000030656 - AFX Server and Connector failures if AFX is started as the root user in RSA Identity Governance & Lifecycle
Thanks Boris, I encountered the another error and all connectors are waiting on Deployed status. Could you please help me on this issue too?
Also there is no 'mule' folder under /home/oracle/AFX. Is it a problem?
In recent versions, /home/oracle/AFX/mule is now replaced with /home/oracle/AFX/esb.
Deployed status might be due to file permissions as a side effect of the earlier issue. See the above mentioned KB article on how to correct file permissions: 000030656 - AFX Server and Connector failures if AFX is started as the root user in RSA Identity Governance & Lifecycle
I've already done this yet nothing changed. Also, 'connector settings test' repsonses as 'Request timed out'.
Can you run the following command with root?
What is the output of that command?
ls -ltr /home/oracle/AFX/activemq/bin/activemq
Here is the output from my env:
-rwxr-xr-x 1 oracle oinstall 21055 Mar 17 20:21 /home/oracle/AFX/activemq/bin/activemq
The output is same as yours.
-rwxr-xr-x 1 oracle oinstall 21055 Apr 20 14:04 /home/oracle/AFX/activemq/bin/activemq
I would try to uninstall the AFX and then install it once again
AFX startup scripts expect every file/folder under /home/oracle/AFX is owned by the user that is running AFX e.g. oracle.
I have seen this permission error commonly when log files are backed up as a different user and from your screenshot there are couple of files owned by root.
Run the following and try restarting AFX
# As rootchown -R oracle:oinstall /home/oracle/AFX
That didn't work too.
It might sound trivial but have you run the setPerms.sh under AFX/bin?
This sets all the folder permissions for AFX components and if you have installed AFX manually this is required step.
Unfortunately I applied that step too.
Retrieving data ...