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)【转】的更多相关文章

  1. VM虚拟机启动报错Reason Failed to lock the file怎么办

    VMware启动报错Reason: Failed to lock the file的解决方法 症状:  启动VMware虚拟机的时候出现了Cannot open the disk '*.vmdk' o ...

  2. python/shell脚本报异常^M: bad interpreter: No such file or directory

    问题:在Windows写了一python脚本,上传Linux服务器执行,报异常*****^M: bad interpreter: No such file or directory 原因:window ...

  3. node 报错 env: node\r: No such file or directory

    最近在编写一个命令行工具.使用 npm link 时可以正常运行.但是 ctrl+s 保存后, 再运行则报错 env: node\r: No such file or directory ,需要再 n ...

  4. 使用nsenter进入docker容器后端报错 mesg: ttyname failed: No such file or directory

    通过nsenter 进入到docker容器的后端总是报下面的错,, [root@devdtt ~]# docker inspect -f {{.State.Pid}} mynginx411950 [r ...

  5. 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 ...

  6. 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 ...

  7. 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 ...

  8. 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 ...

  9. 安装apr-1.6.3报错[cannot remove `libtoolT’: No such file or directory]解决方法

    发现有这个提示:cannot remove `libtoolT’: No such file or directory , 编辑 configure文件,查找 $RM "$cfgfile&q ...

随机推荐

  1. UEditor 在 Layer 模态框中无法使用问题

    问题: 解决方法: 在 使用  ueditor 的页面顶部加入js代码: window.UEDITOR_HOME_URL = "__STATIC__/path/to/ueditor/&quo ...

  2. 专心学LINUX:CentOS关闭屏幕自动锁定和睡眠

    在VMware中学习CentOS总免不了一直测试.调试,加上看书.刨坛,再转回到CentOS界面时已经被锁定了.看看怎么将这定时锁定取消以免麻烦.虽然可以使用字符终端,但字符终端不便于翻看前面已经发出 ...

  3. cpio命令

    RPM包中文件提取 cpio命令主要有三种基本模式:"-o"模式指的是copy-out模式,就是把数据备份到文件库中:"-i"模式指的是copy-in模式,就是 ...

  4. 利用 Create React Native App 创建 React Native 应用

    $ npm i -g create-react-native-app $ create-react-native-app my-project $ cd my-project $ npm start

  5. openstack创建实例时aborted: Block Device Mapping is Invalid

    问题产生原因: 直接先不创建新卷,点击否,待实例创建完毕后再分配卷.

  6. MINST样例数据的神经网络学习

    标准的入门学习示例, 比一年前看的那书,更有感觉了. # coding: utf-8 try: import urllib.request except ImportError: raise Impo ...

  7. springboot搭建环境之使用@Slf4j注解方式,进行日志管理

    如果不想每次都写private  final Logger logger = LoggerFactory.getLogger(XXX.class); 可以用注解@Slf4j 需要引入依赖为: < ...

  8. 拉格朗日插值matlab实现

    已给sin0.32=0.314567,sin0.34=0.333487,sin0.36=0.352274,用线性插值及抛物插值计算sin0.3367的值并估计截断误差. 1. 线性插值 clc;cle ...

  9. java spring boot 导出/下载文本文件操作(包含写文本文件)

    内容简介 本文主要内容为使用java把内容写入文本文件,并实现下载/导出的功能. 实现步骤 1. controller层 @ResponseBody @RequestMapping(value = & ...

  10. commons-dbutils使用介绍,commons-dbutils是JDBC的替代品

    commons-dbutils是Apache开源组织提供的用于操作数据库的工具包.今天为大家介绍一下该包的常用方法. 对于数据库的操作无外乎增删改查,而增删改本质上可以归为一类,操作方式相同,只是SQ ...