Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: alex_rhys-hurn on September 01, 2008, 08:51:16 AM

Title: SOLVED - Trying to remove and re-install smeserver-cacti but all data still
Post by: alex_rhys-hurn on September 01, 2008, 08:51:16 AM
Dear All,

I am trying to remove and re-install cacti in order to flush out all configs and data for cacti.

I do a:

Code: [Select]
yum remove smeserver-cacti-0.8.7a-1
as per the wiki article here  http://wiki.contribs.org/Cacti (http://wiki.contribs.org/Cacti)

but when I re-install Cacti all the data and configs remain.

So I then went and manually removed all the folders and data in /opt/cacti and then removed /opt/cacti directory itself.

Still when I re-install cacti all the data comes back.

Where is this data and how do I flush / purge all files and data that pertain to it? Is it stored in sql? Any tips?

Help appreciated.

Regards

Alex
Title: Re: Trying to remove and re-install smeserver-cacti but all data still remains
Post by: MasterSleepy on September 01, 2008, 10:59:11 AM
Hello,

After removing the contribs, drop the database.
Code: [Select]
mysqladmin drop cacti_smeas root.

After reinstall it, that should be good.

Regards,
Title: Re: SOLVED - Trying to remove and re-install smeserver-cacti but all data still
Post by: alex_rhys-hurn on September 01, 2008, 02:23:11 PM
Thank you for the tip mastersleepy. Worked a treat.

Can I suggest that you add the note about dropping the database to the WIki Article under the relevant section?

Now that I have removed and reinstalled cacti I see that it has not solved the problem I was having.

Going to make a new thread.....

Rgds

Alex