Home > Database > Mysql Tutorial > MMM的一个Bug_MySQL

MMM的一个Bug_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:30:18
Original
1088 people have browsed it

bitsCN.com 最近由于 CPAN上 Net::ARP 这个包的稳定版本从 1.0 升级到了 1.0.8, 导致触发了mmm的一个bug。 

bug的现象:agent没有办法将VIP附着在本机上。agent日志中报错如下:2013/08/13 06:26:47 FATAL Couldn't configure IP '10.1.1.2' on interface 'eth0': undef
 
bug原因:MMM/Agent/Helpers/Network.pm 文件中136行,使用了如下语句:if ($Net::ARP::VERSION 原来版本是1.0 导致Version能自动转换成浮点型进行比较。而版本升级到 1.0.8后导致Version是字符串型,用 
bug的Fix:直接修改 MMM/Agent/Helpers/Network.pm 文件中136行把        bitsCN.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template