Fixing bug #182033 - cron job fails when database is not configured

This commit is contained in:
Mike McGrath 2006-02-22 08:34:48 +00:00
parent ed5236e642
commit b0aa1decd0
2 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -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 <imlinux@gmail.com> - 0.8.6h-6
- Disabled Cron job by default
* Tue Feb 14 2006 Mike McGrath <imlinux@gmail.com> - 0.8.6h-5
- Rebuild for Fedora Extras 5