Uninstalling CACTI

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
CuBe
Posts: 3
Joined: Tue Jan 16, 2007 6:31 pm

Uninstalling CACTI

Post by CuBe »

Hi all...

I want to start cacti ALL the way from scratch without any data to cacti to remain on my system...

But it seems that is more difficult then it would seem...

'apt-get remove cacti' or even 'apt-get remove --purge cacti' fail...

Can anyone tell me please how to remove everything that belongs to cacti?
CuBe
Posts: 3
Joined: Tue Jan 16, 2007 6:31 pm

Post by CuBe »

What it looks like is you had a previous cacti installation, and deleted /etc/cacti/debian.php. Installing the package will not create a new file in this location, because apt knows that it should already be there, and apt is never wrong, right?

To completely and utterly remove all traces of any old cacti installations (that were installed via apt), run 'dpkg --purge cacti', and then reinstall cacti via apt.
Worked! so np. Thanks though
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I suppose you will additionally have to delete the cacti tables from mysql; perhaps check that crontab was cleared. You may even want to check if cactid is removed and cactid.conf as well. (/usr/bin/cactid, /etc/cactid.conf or the like)
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests