mmm_agent_navy2.conf is world readable! at /usr/share/perl5/MMM/Common/Config.pm line 132

这几天在研究mysql-mmm架构,我们公司的数据库都是一台服务器部署多个实例,所以也想把mmm弄成多实例的,配置文件、启动脚本文件撰写好,启动报错:

[root@db2 mysql-mmm]# /etc/init.d/mysql-mmm-agent-navy2 start
Starting MMM Agent Daemon: Configuration file /etc/mysql-mmm/mmm_agent_navy2.conf is world readable! at /usr/share/perl5/MMM/Common/Config.pm line 132
[FAILED]

百度之,解决方法:

chmod 640 /etc/mysql-mmm/*

结果,好使了:

[root@db2 mysql-mmm]# /etc/init.d/mysql-mmm-agent-navy2 start
Starting MMM Agent Daemon: [  OK  ]

 

你可能感兴趣的:(world,at,line,is,132,readable!)