An MMM Bug_MySQL

Source: Internet
Author: User
A Bug in MMM bitsCN.com recently triggered a bug in mmm because the stable version of the Net: ARP package on CPAN has been upgraded from 1.0 to 1.0.8.
Bug: The agent cannot attach the VIP to the local machine.The following error is reported in the agent log: 06:26:47 FATAL Couldn't configure IP '10. 1.1.2 'on interface 'eth0': undef
Cause of bug:Line 1 in the MMM/Agent/Helpers/Network. pm file uses the following statement: If ($ Net: ARP: VERSION <1.0 ){Because the original Version is 1.0, the Version can be automatically converted to the floating point type for comparison. After the Version is upgraded to 1.0.8, the Version is a string type. when compared with <, a syntax error is reported. Argument "1.0.8" isn' t numeric in numeric lt (<) at/usr/lib/perl5/vendor_perl/5.8.8/MMM/Agent/Helpers/Network. pm line 136.
Bug Fix:Directly modify line 136 in the MMM/Agent/Helpers/Network. pm file and change <to lt, as follows: if ($ Net: ARP: VERSION lt 1.0 ){
BitsCN.com

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.