Troubleshooting tomcat not booting and MySQL unreachable for cloning machines

Source: Internet
Author: User

In the process of cloning a server into a test environment during a production, it is found that the relevant network configuration after cloning has been modified to the test environment, but it is reported that the following error occurred after Tomcat startup:

Severity: standardserver.await:create[localhost:8021]:

By troubleshooting Discovery/etc/hosts, the original IP address is bound, and the test address is modified to start normally.

When Tomcat starts, it gets all the IP addresses according to the configuration and binds them one by one, triggering the above exception when it finds that the IP address that needs to be bound does not exist, causing the failure to start normally.

In addition, MySQL appeared on the native password on the wrong, very strange, must be configured in the/ETC/MY.CNF "mysqld" configuration skip-grant-tables, and then change the password to normal, modify the password statement reference as follows: update user set password=password (' newpassword ')  where user= ' root ';  flush privileges; 

Different versions have errors.

This article from "It Technology" blog, declined reprint!

Troubleshooting tomcat not booting and MySQL unreachable for cloning machines

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.