Hide Forgot
Description of problem: The install directory has changed! From /var/www/cacti to /usr/share/cacti, which has broke my setup.
Cacti has used %{_datadir}/%{name} (eg /usr/share/cacti) since the RPM was first created in 2006. See http://pkgs.fedoraproject.org/gitweb/?p=cacti.git;a=blob;f=cacti.spec;hb=97f04d33369dd1a9a11f2aef8ef654c226a3e636 Perhaps you migrated from a plain tarball installation? Or maybe you were using another repository's RPM, and EPEL overwrote this?
Ok, fair enough. So now how can I fix my RRA directory and everything linked to /var/www/cacti.
I'm sorry that your RPMs conflicted, but I'm going to mark this as NOTABUG because it is technically not a bug in EPEL's package. Did this come from another third-party repo? You might want to use "yum-priorities" in the future. EPEL follows Fedora's packaging guidelines, but not all repositories are as strict about following the guidelines. You're pretty much beyond "supported" territory at this point, but I can try to offer you a few pointers. I've tried moving a tarball installation, but it didn't go well. I ended up just wiping my cacti database and starting from scratch. If you're dead set on migrating, you'll probably want to: 1) move /var/www/cacti/rra/* to /var/lib/cacti/rra 2) Log into your cacti web console as an admin, and under "Configuration", "Settings" -> "Paths" tab, ensure that the paths are all correct, and none of them refer to /var/www/cacti anymore. In particular the log file should now be /usr/share/cacti/log/cacti.log (or /var/log/cacti/cacti.log, it doesn't matter because they're symlinks.) 3) There's probably more paths that you'll need to change in the MySQL "settings" table. Looking at my install I see "/usr/share/cacti" is stored at "path_webroot", and there may be more like that, I don't know. Don't take my word for it. You may find more help by Googling "move cacti" or something.