Details of error reporting:
ERROR | wrapper | 2021/08/15 10:21:36 | Startup failed: Timed out waiting for a signal from the JVM.
ERROR | wrapper | 2021/08/15 10:21:36 | JVM did not exit on request, terminated
Description:
the newly installed MYCAT starts with MYCAT start and directly reports an error. The environment is CentOS 7.6. I don’t have this error on CentOS 7.5 for the same operation. I’m blinded. I read it on the Internet. At first, I said that the memory of the virtual machine was too small. After trying, I still reported this error.
The solution is as follows:
[root@db02 conf]# vim wrapper.conf #Modify the startup configuration file with the following parameter
wrapper.startup.timeout=300
[root@db02 logs]# vim /etc/hosts #Modify the correspondence between hostname and IP address
10.0.0.52 db02
[root@db02 conf]# mycat start # Restart it (may take more than a few seconds)
[root@db02 logs]# tailf wrapper.log # Check the logs again and see that it started successfully
INFO | jvm 1 | 2021/08/15 10:24:24 | OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=64M; support was removed in 8.0
INFO | jvm 1 | 2021/08/15 10:24:50 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2021/08/15 10:24:50 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
INFO | jvm 1 | 2021/08/15 10:24:50 |
INFO | jvm 1 | 2021/08/15 10:25:16 | MyCAT Server startup successfully. see logs in logs/mycat.log
[root@db02 logs]# netstat -anptul |grep java #Check port is also up
tcp 0 0 127.0.0.1:32000 0.0.0.0:* LISTEN 8217/java
tcp6 0 0 :::9066 :::* LISTEN 8217/java
tcp6 0 0 :::10579 :::* LISTEN 8217/java
tcp6 0 0 :::1984 :::* LISTEN 8217/java
tcp6 0 0 :::8066 :::* LISTEN 8217/java
tcp6 0 0 :::10310 :::* LISTEN 8217/java
tcp6 0 0 127.0.0.1:31000 127.0.0.1:32000 ESTABLISHED 8217/java
Read More:
- [Solved] Kubeadm join Timeout error execution phase kubelet-start: error uploading crisocket: timed out waiting
- [Solved] JIRA startup error: JIRA startup failed, JIRA has been locked.
- [Solved] kafka Startup Error: Fatal error during KafkaServer startup
- [Solved] Win10: Failed to connect to github.com port 443 Timed out
- NFS startup error: restart failed [How to Solve]
- Gog cannot link PSN: the connection to the server timed out
- Cube.js TimeoutError: ResourceRequest timed out problem
- Tomcat startup error: Failed to start component [StandardServer[8005]] solution
- [Solved] Swagger Startup Error: Failed to start bean ‘documentationPluginsBootstrapper‘
- SpringBoot startup error Failed to determine a suitable driver class
- [Solved] ElasticSearch startup error: bootstrap checks failed
- [Solved] Elasticsearch 7.10 Startup Error: bootstrap checks failed
- Wildfly (JBoss) startup error: ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation (“add”) failed
- IDEA generates Spring Boot project error: error: read timed out
- [Solved] Elasticsearch-7.2.1 startup error: ERROR: [1] bootstrap checks failed
- [Solved] Canal 1.1.5 Startup Error: caching_sha2_password Auth failed
- Hbase Shell startup error: [ERROR] Terminal initialization failed; falling back to unsupported
- [Solved] Failed update hbase:meta table descriptor HBase Startup Error
- New Spring boot startup error Failed to auto-configure a DataSource
- [Solved] jedis Connect redis Error: connect timed out