30选5玩法|福彩30选5开奖结果321|

ERROR: cannot add user parameter 解决

来源:本站原创 Linux 超过4,178 views围观 0条评论

ERROR: cannot add user parameter  一般只有种可能 就是参数重复了

 

[[email protected] zabbix_agentd.d]# !g
grep -r mysql *
m_mysql.conf:UserParameter=mmysql_discovery[*],/opt/zabbixscript/mysqlzabbix/discovery_mysql.sh
m_mysql.conf:UserParameter=mmysql.status[*],/opt/zabbixscript/mysqlzabbix/check_Mmysql.sh $1 $2
m_mysql.conf:UserParameter=mmysql.status[*],/opt/zabbixscript/mysqlzabbix/check_Mmysql.sh ping $1 —重复了。所以无法启动

 

[[email protected]  zabbix_agentd.d]# journalctl -xel
Dec 20 19:33:06   systemd[1]: zabbix-agent.service: control process exited, code=exited status=1
Dec 20 19:33:06   systemd[1]: Failed to start Zabbix Agent.
— Subject: Unit zabbix-agent.service has failed
— Defined-By: systemd
— Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

— Unit zabbix-agent.service has failed.

— The result is failed.
Dec 20 19:33:06   systemd[1]: Unit zabbix-agent.service entered failed state.
Dec 20 19:33:06   systemd[1]: zabbix-agent.service failed.
Dec 20 19:33:16   systemd[1]: zabbix-agent.service holdoff time over, scheduling restart.
Dec 20 19:33:16   systemd[1]: Starting Zabbix Agent…
— Subject: Unit zabbix-agent.service has begun start-up
— Defined-By: systemd
— Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

— Unit zabbix-agent.service has begun starting up.
Dec 20 19:33:16   zabbix_agentd[27552]: zabbix_agentd [27552]: ERROR: cannot add user parameter "mmysql.status[*],/opt/zabbixscript/mysqlzabbix/check_Mmysql.
Dec 20 19:33:16   systemd[1]: zabbix-agent.service: control process exited, code=exited status=1
Dec 20 19:33:16   systemd[1]: Failed to start Zabbix Agent.
— Subject: Unit zabbix-agent.service has failed

 

 

配置完重启报错
ERROR: cannot add user parameter  一般只有种可能 就是参数重复
[[email protected] mysqlcheck]# systemctl restart zabbix-agent
Job for zabbix-agent.service failed because the control process exited with error code. See "systemctl status zabbix-agent.service" and "journalctl -xe" for details.
[[email protected] mysqlcheck]#

解决方案 一样是参数重复
[[email protected] ~]# cd /etc/zabbix/zabbix_agentd.d/
[[email protected] zabbix_agentd.d]# ll
-rw-r–r–. 1 root root 1531 Mar  2 09:55 userparameter_mysql.conf
[[email protected] zabbix_agentd.d]# mv userparameter_mysql.conf userparameter_mysql.conf.bak
重启agent后解决

文章出自:CCIE那点事 http://www.rygqfb.tw/ 版权所有。本站文章除注明出处外,皆为作者原创文章,可自由引用,但请注明来源。 禁止全文转载。
本文链接:http://www.rygqfb.tw/?p=3642转载请注明转自CCIE那点事
如果喜欢:点此订阅本站
?
?
30选5玩法
快三湖北开奖结果查询 微乐长春麻将手机版 云南星悦麻将丽江卡星五 山东十一选五在线杀 新快3最新开奖定 2019股票配资平台哪个最好 中原河南麻将苹果版 安徽省快三开奖结果 快乐十分云南开奖结 夺宝幸运星5