mycat启动报Unable to start JVM: No such file or directory (2)【转】
mycat启动失败,查看日志 /mycat/logs/wrapper.log发现如下信息
1 STATUS | wrapper | 2017/11/22 16:15:17 | --> Wrapper Started as Daemon
2 STATUS | wrapper | 2017/11/22 16:15:17 | Launching a JVM...
3 ERROR | wrapper | 2017/11/22 16:15:17 | Unable to start JVM: No such file or directory (2)
4 ERROR | wrapper | 2017/11/22 16:15:17 | JVM exited while loading the application.
5 STATUS | wrapper | 2017/11/22 16:15:22 | Launching a JVM...
6 ERROR | wrapper | 2017/11/22 16:15:22 | Unable to start JVM: No such file or directory (2)
7 ERROR | wrapper | 2017/11/22 16:15:22 | JVM exited while loading the application.
8 STATUS | wrapper | 2017/11/22 16:15:26 | Launching a JVM...
9 ERROR | wrapper | 2017/11/22 16:15:26 | Unable to start JVM: No such file or directory (2)
10 ERROR | wrapper | 2017/11/22 16:15:26 | JVM exited while loading the application.
11 STATUS | wrapper | 2017/11/22 16:15:30 | Launching a JVM...
12 ERROR | wrapper | 2017/11/22 16:15:30 | Unable to start JVM: No such file or directory (2)
13 ERROR | wrapper | 2017/11/22 16:15:30 | JVM exited while loading the application.
14 STATUS | wrapper | 2017/11/22 16:15:34 | Launching a JVM...
15 ERROR | wrapper | 2017/11/22 16:15:34 | Unable to start JVM: No such file or directory (2)
16 ERROR | wrapper | 2017/11/22 16:15:34 | JVM exited while loading the application.
17 FATAL | wrapper | 2017/11/22 16:15:34 | There were 5 failed
launches in a row, each lasting less than 300 seconds. Giving up.
18 FATAL | wrapper | 2017/11/22 16:15:34 | There may be a configuration problem: please check the logs.
19 STATUS | wrapper | 2017/11/22 16:15:34 | <-- Wrapper Stopped
解决方法:
原因可能是JVM参数没有配置或者配置错误
处理方案:
在mycat/conf/wrapper.conf 下增加:
wrapper.java.command=java安装目录/bin/java
例如:
wrapper.java.command=/home/hadoop/software/jdk1.8.0_181/bin/java
参考:https://blog.csdn.net/leisure_life/article/details/78612256?locationNum=3&fps=1
mycat启动报Unable to start JVM: No such file or directory (2)【转】的更多相关文章
- VM虚拟机启动报错Reason Failed to lock the file怎么办
VMware启动报错Reason: Failed to lock the file的解决方法 症状: 启动VMware虚拟机的时候出现了Cannot open the disk '*.vmdk' o ...
- python/shell脚本报异常^M: bad interpreter: No such file or directory
问题:在Windows写了一python脚本,上传Linux服务器执行,报异常*****^M: bad interpreter: No such file or directory 原因:window ...
- node 报错 env: node\r: No such file or directory
最近在编写一个命令行工具.使用 npm link 时可以正常运行.但是 ctrl+s 保存后, 再运行则报错 env: node\r: No such file or directory ,需要再 n ...
- 使用nsenter进入docker容器后端报错 mesg: ttyname failed: No such file or directory
通过nsenter 进入到docker容器的后端总是报下面的错,, [root@devdtt ~]# docker inspect -f {{.State.Pid}} mynginx411950 [r ...
- mycat启动报错UnknownHostException(Temporary failure in name resolution)解决方法
重启命令 ./mycat restart 查看日志 cd logs tail -f wrapper.log 报错信息 INFO | jvm 2 | 2018/05/09 11:28:28 | Erro ...
- IDEA项目启动报Unable to open debugger port (127.0.0.1:51554): java.net.SocketException "socket closed"
启动报错: Unable to open debugger port (127.0.0.1:51554): java.net.SocketException "socket closed&q ...
- Linux 格式化分区 报错Could not stat --- No such file or directory 和 partprobe 命令
分区的过程正常: [root@db1 /]# fdisk -l Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/tr ...
- Gitlab 备份迁移恢复报错gtar: .: Cannot mkdir: No such file or directory
1. 版本信息 OS: centos 6.9 Gitlab: gitlab-ce.10.7.4 gitlab-ce.10.8.0 gitlab-ce.10.8.3 gitlab-ce.10.8.4 2 ...
- 安装apr-1.6.3报错[cannot remove `libtoolT’: No such file or directory]解决方法
发现有这个提示:cannot remove `libtoolT’: No such file or directory , 编辑 configure文件,查找 $RM "$cfgfile&q ...
随机推荐
- python两则99乘法表
分别应用while和for的嵌套循环,适用于初学的人看看 x = 1 while x <= 9: y = 1 while y <= x: print (y,'*',x,'=',x*y,en ...
- /sys 和 /dev 区别
参考:What's the “/sys” directory for? Directory - /sys in linux 前言 各种Linux发行版下面似乎都有/sys目录,tree查看下面内容,会 ...
- Keras实现Self-Attention
本文转载自:https://blog.csdn.net/xiaosongshine/article/details/90600028 一.Self-Attention概念详解 对于self-atten ...
- ISCC之misc复现-High起来!
题目是赛后经高人指点,跳过坑的,各位看官看看就好 文件下载下来是一张png图片,但是无法打开,估计要修复一下,文件头修复一下,png格式文件头89504EE7 打开是一张二维码,经过扫描后,得到一串中 ...
- Random Forest(sklearn参数详解)
2016年08月17日 10:32:42 铭霏 阅读数:36874 版权声明:本文为博主原创文章,博主转载请附加原文链接并声明. https://blog.csdn.net/u012102306/ ...
- Alluxio : 开源分布式内存文件系统
Alluxio : 开源分布式内存文件系统 Alluxio is a memory speed virtual distributed storage system.Alluxio是一个开源的基于内存 ...
- python的简介(解释器、变量、用户交互、if语句)
一.python的起源 python是吉多·范罗苏姆(Guido van Rossum)在1989年的圣诞节期间因为无聊打发时间所开发的一个脚本解释程序. python是一门解释型.弱类型的编程语言. ...
- [牛客网 -leetcode在线编程 -01] max-points-on-a-line -穷举
题目及题目来源 链接:https://www.nowcoder.com/questionTerminal/bfc691e0100441cdb8ec153f32540be2 来源:牛客网 首页 > ...
- 题解 洛谷P4872 【OIer们的东方梦】
一道码量比较大的广搜题,但让我这个辣鸡小学生自闭了一天呜呜呜. 一开始看数据\(n,m \leq 1000\)也并不是特别大,于是用就开始用广搜乱水了. 由于这道题每走一步的代价不是\(1\),所以并 ...
- 4.1 vue-resource
全局拦截器.配置全局地址等: