| Summary: | cacti-0.8.7i-2.el5 install directory changed | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Karol Perkowski <karol.perkowski> |
| Component: | cacti | Assignee: | Gwyn Ciesla <gwync> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | el5 | CC: | gwync, ktdreyer |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-13 21:39:40 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Karol Perkowski
2012-01-13 19:39:40 UTC
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. |