Linux下Tomcat出现“cannot touch ‘xx/tomcat/logs/catalina.out”
安装完tomcat8.x后,进入其目录/usr/local/tomcat/bin/,运行startup.sh,出现错误:
touch: cannot touch ‘/usr/local/tomcat8/logs/catalina.out’:No such file or directory
其解决办法如下:
1.自己建立目录
mkdir /usr/local/tomcat/logs
2.若存在logs目录,删除logs里的内容
rm -rf /usr/local/tomcat/logs/*
好了,试试上述的两种办法吧。
相关推荐:
根据报错信息“configure: error: off_t undefined; check your library […]
这是源码安装软件时配置环境用的,根据你的配置选项和你的系统情况生成makefile文件,为make 做准备。 最常用的参 […]
PureFTP是目前很多Linux平台流行的FTP服务端之一,最近配置服务器使用到了PureFTP,中间也出现了各种连接 […]
谷歌发布了针对ARM优化的新算法,但是如果要使用 salsa20 或 chacha20 或 chacha20-ietf […]
源码安装软件时一直make不了,后来重新./configure了下,发现后面出现错误:error: mbed TLS l […]
拿起手机扫一扫即可带走我!