From b0aa1decd059a5c26673a150dbb000c4e5deac46 Mon Sep 17 00:00:00 2001 From: Mike McGrath Date: Wed, 22 Feb 2006 08:34:48 +0000 Subject: [PATCH] Fixing bug #182033 - cron job fails when database is not configured --- cacti.README.Fedora | 7 +++++++ cacti.spec | 7 +++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/cacti.README.Fedora b/cacti.README.Fedora index 97bf64a..3b5e35d 100644 --- a/cacti.README.Fedora +++ b/cacti.README.Fedora @@ -1,3 +1,10 @@ +In order for Cacti to function properly please properly edit /etc/cacti/db.php +and enable the crontab script in /etc/cron.d/cacti For more information about +setting up the database please read: + +docs/INSTALL + + As of Feb. 6, 2006 Cacti does not work correctly with SELinux. This will change in the future. If you're having issues getting Cacti to work properly and SELinux is enabled, please run the following commands after installing diff --git a/cacti.spec b/cacti.spec index eb9db99..79adbf1 100644 --- a/cacti.spec +++ b/cacti.spec @@ -1,6 +1,6 @@ Name: cacti Version: 0.8.6h -Release: 5 +Release: 6 Summary: An rrd based graphing tool Group: Applications/System @@ -40,7 +40,7 @@ used to creating traffic graphs with MRTG. %patch4 -p1 %patch5 -p1 -echo "*/5 * * * * cacti %{_bindir}/php %{_datadir}/%{name}/poller.php > /dev/null 2>&1" >cacti.cron +echo "#*/5 * * * * cacti %{_bindir}/php %{_datadir}/%{name}/poller.php > /dev/null 2>&1" >cacti.cron %install rm -rf %{buildroot} @@ -106,6 +106,9 @@ fi %attr(0644,root,root) %{_localstatedir}/lib/%{name}/scripts/*php %changelog +* Wed Feb 22 2006 Mike McGrath - 0.8.6h-6 +- Disabled Cron job by default + * Tue Feb 14 2006 Mike McGrath - 0.8.6h-5 - Rebuild for Fedora Extras 5