Posted by: Chyne on: January 12, 2009
After I had extracted the system installation file in the Linux environment, the startup script doesn’t work and it prompts out the following error message:
The BASEDIR environment variable is not defined correctly. This environment variable is needed to run this program
I tried to execute the setenv.sh and even change the permission file for the startup.sh but it still prompt out the same error message.
I made a research and found this URL which is quite helpful for me to find out the solution for the problem:-
http://www.ontopia.net/omnigator/models/topic_complete.jsp?tm=support-kb.ltm&id=basedir-not-set
Solution:
In the end, I change the permission files for all the .sh files in the /bin directory. I executed this command: chmod 777 *.sh but I guessed it’s not sufficient enough to resolve the problem. I think the most important is the .jar file in the directory. Anyway, to make it executable, I changed all the permission files in the /bin directory. Some users prefer to use 775 instead of 777 due to the security purpose. For this reason, I believe that the startup script needs to execute all the files in the directory to set up the environment path to startup the system.
It works buddy..:-)
Thank you very much Chyne!! It helped me a lot!! I was really in problem because of this issue.Now your solution worked to me as well!!
Oh!!
Development with out blogs seems impossible!!!
Thanks, it did the trick.
Thanks, it worked!
August 21, 2009 at 1:40 pm
Thank you very much chyne. It works.