错误如下: [root@RSP-DEVWEB03 bin]#sh startup.sh Cannot find /usr/local/tomcat8081/bin/setclasspath.sh This file is needed to run this program 执行语句: [root@RSP-DEVWEB03 bin]#unset CATALINA_HOME2 [root@RSP-DEVWEB03 bin]#unset CATALINA_BASE2 即可解决错误.…
在linux启动startup命令报Cannot find /usr/local/tomcat/bin/setclasspath.sh  使用: unset CATALINA_HOME命令得以解决   再次启动即可,问题解决…
首先看下报错代码: Cannot find /usr/local/tomcat1/bin/setclasspath.sh This file is needed to run this program 这个可能是没有在 /etc/profile 中配置环境,这是第一种可能:如果是这种情况的话,可以这样做: vi /etc/profile 并在文件末尾加上 export CATALINA_HOME=/usr/local/tomcat export CATALINA_BASE=/usr/local/…
1.查找文件放在哪里 sudo find / -name libevent-2.1.so.6 发现放在/usr/local/lib/libevent-2.1.so.6下. 2.创建软链接 sudo ln -s /usr/local/lib/libevent-2.1.so.6 /usr/lib/libevent-2.1.so.6 参考: https://my.oschina.net/itblog/blog/633074…
报错(如下),但是使用mysqld直接启动没有问题. 150718 00:03:38 mysqld_safe Logging to '/var/log/mysqld.log'. 150718 00:03:38 mysqld_safe The file /usr/local/mysql/bin/mysqld does not exist or is not executable. Please cd to the mysql installation directory and restart t…
mysqldumpslow报错:Died at /usr/local/mysql/bin/mysqldumpslow line 161, <> chunk 236. 总结:是由于top数目太多了.mysqldumpslow遍历只是来的缘故. /usr/local/mysql/bin/mysqldumpslow -s -t 15 /root/db01-102-slow.log 1.把r去掉试试,还是报错,參数不识别. [root@slave ]# /usr/local/mysql/bin/mys…
安装mysql在初始化的时候,出现/usr/local/mysql/bin/mysqld:error while loading shared libraries:libaio.so.1 :cannot open shared object file:NO such file or directory 解决方法: <P>type the following</P> <P>apt-get install libaio1 libaio-dev</P> <P…
这是由于tomcat/bin/catalina.sh文件中有一个设置变量的方法 $CATALINA_HOME 有的tomcat中需要默认此值 $CATALINA_HOME=tomcat地址…
centos7.5 安装mysql数据库报错 问题: [root@db04-54 scripts]# /etc/init.d/mysqld start /etc/init.d/mysqld: line 244: my_print_defaults: command not found /etc/init.d/mysqld: line 264: cd: /usr/local/mysql: No such file or directory Starting MySQL ERROR! Couldn'…
一.报以下错误: ./startup.sh Using CATALINA_BASE: /usr/local/tomcat702 Using CATALINA_HOME: /usr/local/tomcat702 Using CATALINA_TMPDIR: /usr/local/tomcat702/temp Using JRE_HOME: /usr/java/jdk1.6.0_24 Using CLASSPATH: /usr/local/tomcat702/bin/bootstrap.jar:/…