进入mycat的bin目录下:./mycat start | status | stop
查看是否启动成功:./mycat console
或者进入logs目录下查看wrapper.log日志
STATUS | wrapper | 2019/07/07 18:09:04 | TERM trapped. Shutting down.
STATUS | wrapper | 2019/07/07 18:09:06 | <-- Wrapper Stopped
STATUS | wrapper | 2019/07/07 18:09:10 | --> Wrapper Started as Daemon
STATUS | wrapper | 2019/07/07 18:09:10 | Launching a JVM...
INFO | jvm 1 | 2019/07/07 18:09:11 | Wrapper (Version 3.2.3) http://wrapper.
INFO | jvm 1 | 2019/07/07 18:09:11 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
INFO | jvm 1 | 2019/07/07 18:09:11 |
INFO | jvm 1 | 2019/07/07 18:09:11 | Java HotSpot(TM) Server VM warning: You have loaded library /usr/local/mycat/lib/libwrapper-linux-x86-32.so which might have disabled stack guard. The VM will try to fix the stack guard now.
INFO | jvm 1 | 2019/07/07 18:09:11 | It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
INFO | jvm 1 | 2019/07/07 18:09:11 | log4j 2019-07-07 18:09:11 [./conf/log4j.xml] load completed.
INFO | jvm 1 | 2019/07/07 18:09:11 | MyCAT Server startup successfully. see logs in logs/mycat.log
MyCAT Server startup successfully. see logs in logs/mycat.log
说明启动成功了.就可以使用不同权限的账号进行登录操作
wrapper | Launching a JVM...
wrapper | JVM exited while loading the application.
jvm 1 | Invalid maximum heap size: -Xmx4G
jvm 1 | The specified size exceeds the maximum representable size.
jvm 1 | Error: Could not create the Java Virtual Machine.
jvm 1 | Error: A fatal exception has occurred. Program will exit.
wrapper | Launching a JVM...