ot4i / iib-docker

Eclipse Public License 1.0
62 stars 115 forks source link

Administration commands not working if i run inside the container #56

Open edukunduru83 opened 5 years ago

edukunduru83 commented 5 years ago

I am trying to execute mqsilist command by logging into IIB container but i am getting below error. I am running the command as iibuser. The executable is in following path /opt/ibm/iib-10.0.0.11/server/bin and i also noticed all the files present in bin directory are having '' end of each file. ls -ltr is showing like below for all the files. Ex: mqsilist ./mqsilist:error while loading shared libaries:libImbCmdLib.so cannot open such shared object file:No such file or Directory

But i am able to execute the below command. So, if i run the command without logging in the container its working but the same command if i run inside the container its not working which is strange to me. docker exec /bin/bash -c mqsilist

Could you please help me what could be the issue.

vattikullasatish commented 3 years ago

Though late response :) I had a similar issue and running source ./mqsiprofile worked.

sh-4.4$ pwd /opt/ibm/ace-11/server/bin sh-4.4$ ./mqsilist ./mqsilist: error while loading shared libraries: libImbCmdLib.so: cannot open shared object file: No such file or directory sh-4.4$ source ./mqsiprofile

MQSI 11.0.0.9 /opt/ibm/ace-11/server

sh-4.4$ mqsilist BIP1281I: No integration nodes have been defined on this machine. BIP8071I: Successful command completion. sh-4.4$