When i tried to perform the aveksa.ear customization by running ./customizeACM.sh -c in the path /home/oracle/deploy getting an error. please find the screenshot for the details.
Please suggest the solution to resolve the issue.
Try the following with root
chown -R oracle:oinstall /tmp/customizeACM/
If you run customizeACM running bash with -x what is the output?
Hi Sean Miller,
I tried run customizeACM.sh with -x option as you suggested and getting the same error as captured in screenshot.
1. Login as root and ran the command.
2. Login as oracle and ran same command ./customizeACM.sh -x and getting the below captured output.
Please suggest me how to get resolve this situation.
customizeACM script has the following on line #3:
Check if the JAVA_HOME variable is configured
env | grep JAVA_HOME
I tried to hit the command env | grep JAVA_HOME but not getting any details about JAVA_HOME variables.
Please find the below screenshot for the details.
Please suggest how to get resolve this situation.
Most probably the environmental variables are not setup correctly for root user. Try first switching to oracle using the following command:
su - oracle
Then run the customizeACM.sh command. Make sure you use the - in the above command, otherwise the oracle environmental variables will not be set correctly on login.
I tried to run the customizeACM.sh by login into the server as oracle and executed the command but getting output as captured in below screenshot.
Also as noticed that desired path for further modification to perform customization has generated.(highlighted in yellow pen)
Please suggest me can i proceed further with modification or is there anything wrong with the process.
The reason might be is that /tmp/customizeACM is not owned by oracle
To check, run the following:
ls -ltr /tmp | grep customizeACM
drwxr-xr-x 5 oracle oinstall 4096 Dec 8 06:14 customizeACM
You are correct. The /tmp/customizeACM.sh is not owned by oracle. it is owned by root user.
Kindly suggest me how to get resolve this issue.
Thanks in advance..
Thank you so much....!
The solution which you have provided it worked for me.
The issue was with owner of the script /tmp/customizeACM/ was not oracle. Now Issue has resolved i am able to perform
Boris LekumovichSean Miller
I have ran the above mentioned commands see the below screen prints for more information.I can see /tmp/customizeACM is owned by Oracle user only(Screenshot 1).The error I got while extracting the ear file is gone.But still getting the same error(Screenshot 2) while repacking the ear file with customize.sh -d command.
Any Idea how can we sort this out ?
Thanks in advance !
All of this appears to be permission based issues. Try removing the /tmp/customizeACM and /home/oracle/archive directories and then run the -c and -d commands. It looks like it is having problems writing to these directories
Sean Miller | Senior Manager, Software Engineering | RSA
O: (519) 954 8162
RSA Identity Governance and Lifecycle Community: https://community.rsa.com/community/products/governance-and-lifecycle
I tried removing the above mentioned directories and re run the customizeACM.sh -c.Got the below message.I have the backup of archive folder.I have also tried running customizeACM.sh -i but no luck.
Please suggest me how can we proceed further?
Retrieving data ...