PDA

View Full Version : Duplicate tags after reinstall - how do I get rid of them?


aepps@schoolspecialty.com
2nd April 2008, 18:18
All,

Good day. I was totally clueless and while installing Centreon in a couple of development hosts I deleted the working install centreon directory on one of the other working hosts we are experimenting with. I thought "no worries, all the important stuff is in the mysql database, I will just re-install, keeping the same database names, and reusing the existing /etc/oreon.conf file, and all will be ok."

Unfortunately the hope wasn't matched with reality - now in the web browser looking at the re-installed centreon site I see duplicates of all the tabs across the top of the window, all the links in the left-hand pane, and the status bar at the top of the window.

Does anyone know where the pointers to these features are so I can delete them and clean up the mess I made? I will dump out the mysql database and walk through it if I have to, as well as dig through all the php, but I am hoping one of you folks can give me a quick hint and save me a huge amount of digging.

Thanks in advance,

Alan

DonKiShoot
2nd April 2008, 20:26
drop duplicate entry in topology table :wink:

aepps@schoolspecialty.com
2nd April 2008, 23:02
drop duplicate entry in topology table :wink:
Thank you for your suggestion, I do appreciate it. Could you provide some hints as to 1) How to find the duplicates within the topology table? and 2) How to delete them once I have found them?

I have built something that dumps the tables out of the database, but when grep'ing through the tables I am not finding any obvious duplicates.

Thanks again for your help.

DonKiShoot
3rd April 2008, 20:46
use a mysql frontend, i just give you a way to search for your bug, i never do that myself.

aepps@schoolspecialty.com
11th April 2008, 20:56
Thank for the suggestion. To solve the problem I created a new Centreon install on another server, exported the config from the duplicated server, imported it onto the new one and all was good. I deleted all the configuration and databases on the old server, reinstalled Centreon, then exported the now clean config from the interim box, imported the configs into the rebuilt box, and all is good with the world.

Thanks again for the suggestion.