Ubuntu: When I am trying to install Apache Apollo on ubuntu, it is giving command not found error



Question:

When I am trying to install Apache Apollo on Ubuntu, it is not getting installed. It is showing apollo: command not found Permissions to the apollo file are 777. JAVA_HOME is also properly set. Can anybody help me out? I have followed Official installation guide properly. Can you please help me out?


Solution:1

I followed the APOLLA documentation (linked in above question) blindly. i.e. I was trying to create broker using

cd /var/lib  ${APOLLO_HOME}/bin/apollo create mybroker   

but 'apollo' is sh file. Hence it should be run using 'sh'. When I tried 'sh apollo create mybroker', it worked.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »