[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#211249: default /etc/cron.d/cacti does not work



Package: cacti
Version: 0.6.8a-13.1
Severity: normal

By default there is in /etc/cron.d/cacti:
*/5 * * * * www-data php4 /usr/share/cacti/cmd.php > /dev/null 2>&1

This doesn't work, because php4 is not startet in the right directory.
To succeed I had to change it like this:
*/5 * * * * www-data cd /usr/share/cacti && php4 cmd.php > /dev/null 2>&1

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux testix 2.4.20 #2 SMP Wed Jan 29 14:10:21 CET 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages cacti depends on:
ii  apache                     1.3.27.1-3    Versatile, high-performance HTTP s
ii  debconf                    1.3.14        Debian configuration management sy
ii  mysql-client               4.0.14-1      mysql database client binaries
ii  php4-cgi                   4:4.3.2+rc3-6 A server-side, HTML-embedded scrip
ii  php4-mysql                 4:4.3.2+rc3-6 MySQL module for php4
ii  rrdtool                    1.0.42-2      Time-series data storage and displ
ii  snmp                       5.0.7-1.1     NET SNMP (Simple Network Managemen
ii  wwwconfig-common           0.0.30        Debian web auto configuration

-- debconf information excluded




Reply to: