【linux】centreon 双重菜单 (已解决)
百度这个问题,有几个帖子未完结,本来想回复,注册了一个不够资格,未回复成功,所以记录在自己的网站了,希望能帮助到大家http://bbs.chinaunix.net/forum.php?mod=viewthread&tid=3673277&page=1#pid21913981
google了这个问题,原因是centreon重新装了,导致出现两个标题头,所以解决方法如下:
参考:http://forum.centreon.com/showthread.php/6356-Double-Menu-s
【问题】centreon页面双重菜单
哎错误伴我成长,出现双重菜单了
http://blog.运维网.com/attachment/201307/083922581.png
网上说是因为之前安装的centreon没有卸载完全,所以卸载掉重新来吧
【卸载centreon手册】
# service httpd stop
# service ndo2db stop
# service nagios stop
-Drop centreon databases in MySQL
mysql>drop database centreon;
mysql>drop database centstatus;
mysql>drop database centstorage;
mysql>drop database ndo;
-Drop user centreon in mysql database in MySQL
mysql>drop user ndouser@'localhost';
mysql>drop user centreon@'localhost';
-Modify the file /etc/sudoers to delete Centreon's lines
# vim /etc/sudoers
最后有一段注释的nagios的内容,十几行内容,删除
-Delete /etc/oreon.conf or /etc/centreon.conf
# find / -name centreon.conf
/etc/httpd/conf.d/centreon.conf
# rm -rf /etc/httpd/conf.d/centreon.conf
-Delete file centreon.conf in nagios/libexec directory
# rm -rf /usr/local/nagios/libexec/centreon.conf
-Modify nagios's crontab to remove centreon's commands
是这个吗?
# su - nagios
$ crontab -l
nocrontab for nagios
-Delete the ods init script
?
# rm -rf /etc/init.d/cent*
-Deletecentreon file
# rm -rf centreon-2.1.8
按照原来的方法从新来过一遍(7、安装centreon最新版本,2.4.3),好使了,菜单栏重复问题解决了,看来今天人品不错,找到的内容都有帮助。
http://blog.运维网.com/attachment/201307/083923924.png
页:
[1]