linux下启动tomcat报错:The BASEDIR environment...
2013-05-05 22:02
435 查看
最近学习SUSE Linux遇到的一下问题:
OpenSUSE Linux下启动Tomcat6出现的一下错误,总结一下。 1.进入tomcat\bin目录下,运行starup.sh提示没有权限,切换至root用户后还是如此,查阅资料后才知道没有运行权限,运行命令: > chmod 777 Tomcat //给tomcat目录受权。 2.再次进入tomcat\bin下运行startup.sh命令结果还是如此,于是又查阅资料后,给starup.sh加上执行权限+x >chmod +x startup.sh 3.再次执行如下命令报错(The BASEDIR environment variable is not defined correctly....) >sh startup.sh 4.查阅资料后将bin目录下所有的.sh文件添加上执行权限 >chmod +x *.sh 终于看到日志打印出来了,使用http://localhst:8080/访问,可以看到tomcat6欢迎页面,大功告成!!
相关文章推荐
- linux下启动tomcat报错:The BASEDIR environment variable is not defined correctly解决方法
- linux下启动tomcat报错:The BASEDIR environment...
- mac下启动tomcat报错:The BASEDIR environment variable is not defined correctly
- linux启动tomcat异常:The BASEDIR environment variable is not defined correctly
- Linux下Tomcat启动报 The BASEDIR environment variable is not defined
- Linux下启动tomcat 6.x 提示The BASEDIR environment variable is not defined correctly
- linux启动tomcat异常:The BASEDIR environment variable is not defined correctly
- TOMCAT-报错The BASEDIR environment variable is not defined correctly
- TOMCAT-报错The BASEDIR environment variable is not defined correctly
- linux启动tomcat报:The BASEDIR environment variable is not defined correctly
- TOMCAT-报错The BASEDIR environment variable is not defined correctly
- 【TOMCAT启动异常】The BASEDIR environment variable is not defined correctly
- TOMCAT-报错The BASEDIR environment variable is not defined correctly
- TOMCAT-报错The BASEDIR environment variable is not defined correctly
- Tomcat启动报The BASEDIR environment variable is not defined correctly
- Linux下tomcat启动BASEDIR environment variable问题
- TOMCAT-报错The BASEDIR environment variable is not defined correctly
- linux下tomcat出现The BASEDIR environment variable is not defined correctly
- 【Linux】启动Tomcat遇到Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- tomcat 启动 报错Neither the JAVA_HOME nor the JRE_HOME environment variable is definedtemp