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. 基于335X平台Linux交换芯片驱动开发

    基于335X平台Linux交换芯片驱动开发   一.软硬件平台资料 1.开发板:创龙AM3359核心板,网口采用RMII形式. 2.Kernel版本:4.4.12,采用FDT 3.交换芯片MARVEL ...

  2. c# BufferedStream 类

  3. requests-html模块(下)

    render方法 我们先理一下关系requests和的作者是同一个人,pyppeteer是nodejs中puppeteer的非官方实现 requests-html调用的pyppeteer与浏览器进行交 ...

  4. HTML&CSS基础-伪元素选择器

    HTML&CSS基础-伪元素选择器 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 一.html源代码 <!DOCTYPE html> <html> ...

  5. linux-秘钥生成

    服务器sshd配置 #vim /etc/ssh/sshd_conf PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys # ...

  6. ubuntu---对比工具Meld

    Beyond Compare是商业软件,下载地址:http://www.scootersoftware.com/download.php.下载完直接运行或者通过dpkg安装即可. 其实Linux下文本 ...

  7. 如何设置CentOS 7获取动态IP和静态IP

    自动获取动态IP地址 1.输入“ip addr”并按回车键确定,发现无法获取IP(CentOS 7默认没有ifconfig命令),记录下网卡名称(本例中为ens33). 2.输入“cd /etc/sy ...

  8. Servlet的入门

    什么是Servlet? Servlet是运行在服务端的java小程序,是sun公司提供的一套规范,用来处理客户端请求.响应给浏览器的动态资源.Servlet是JavaWeb三大组件之一(Setvlet ...

  9. 微信小程序引入Vant组件库

    前期准备 Vant Weapp组件库:https://youzan.github.io/vant-weapp/#/intro 1.先在微信开发者工具中打开项目的终端: 然后初始化一个package.j ...

  10. restful接口规范 | 基于restful的原生django接口

    restful接口规范 接口 接口:联系两个物质的媒介,完成信息交互 web程序中:联系前台页面与后台数据库的媒介 web接口组成: - url:长得像返回数据的url链接 - 请求参数:前台按照指定 ...