ERROR: Can not connect to monitor daemon! Problems

Source: Internet
Author: User

Use yum install mysql-mmm for installation.

After the mmm software is installed, the configuration is completed, but the following error is reported when the/usr/sbin/mmm_control show command is executed:

ERROR: Can not connect to monitor daemon!

1. Check that the agent on db1 and db2 is enabled.

2. Check iptables. It is also good. No filtering is performed.

3. Check the mmm log report and report that the socket connecting to port 9988 of 127.0.0.1 is not created successfully. Ask for help from colleagues to analyze the following two situations:

(1): the socket in mmm_common.conf is not set. You need to add the following Configuration:

<Socket>

Type plain

Cert_file/etc/mysql-mmm/ssl_crt.pem

Key_file/etc/mysql-mmm/ssl_key.pem

Ca_file/etc/mysql-mmm/ca_crt.pem

</Socket>

Then restart the monitor service. check/usr/sbin/mmm_control show.

(2): The original debug monitor is not completely stopped, so starting a new monitor will fail, use netstat-tupln | grep 9988 or netstat-anp | grep 9988 to check whether the port is enabled.

[PS]: in linux, chown like mmm_control should be granted the mmmd account permission.

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.