The BASEDIR environment variable is not defined correctly. This environment variable is needed to run this program « Eager to Code, Enjoy to Debug ~ Embark into Each Stage with Your Heart

The BASEDIR environment variable is not defined correctly. This environment variable is needed to run this programJanuary 12, 2009Chyne Linux, Tomcat BASEDIR environment variable is not defined correctly 15 CommentsAfter 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 programI 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-setSolution: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.

vía The BASEDIR environment variable is not defined correctly. This environment variable is needed to run this program « Eager to Code, Enjoy to Debug ~ Embark into Each Stage with Your Heart.




    Responder

    Introduce tus datos o haz clic en un icono para iniciar sesión:

    Logo de WordPress.com

    Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

    Imagen de Twitter

    Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

    Foto de Facebook

    Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

    Google+ photo

    Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

    Conectando a %s



A %d blogueros les gusta esto: