Command failed (Relevance substitution failed) in Linux

Hi Team, I’m stuck and confused, how to pass the relevance and parameter in action Script. I want to change the owner/user and group of file using bigfix script. But i am getting error “Command failed (Relevance substitution failed)” Can someone help me in this. How we can pass the relevance and parameter in bigfix action script.

//Action Script for change the owner and group of file
delete /opt/jai.txt
parameter “Java_Path”="/opt/bes"
parameter “JRE_Folder”="/opt/jre1"
parameter “JRE_Path”="/opt/jre"

appendfile chown -R {user name of folder “(parameter “JRE_Path” of action)”}:{group name of folder “(parameter “JRE_Path” of action)”} {parameter “JRE_Folder” of action}.tar.gz

move “__appendfile” “/opt/jai.txt”

Hi tyagi ,

you can try below action script to execute linux commands through bigfix action

wait /bin/bash -c " linux command "

1 Like

Thanks Sekar for the reply. I have troubleshoot and now it’s working for me.