Hi!
While installing cacti under openpkg i found several problems.
First - Cacti poller executed through apache using this command from
cacti-cron.sh
"/openpkg/bin/wget -qO /dev/null http://$server/cacti/poller.php ||
true"
actually poller.php not work from web server and return:
"<br><strong>This script is only meant to run at the command
line.</strong>"
This problem very easy to solve - comment this string and add
/openpkg/bin/php /openpkg/share/cacti/poller.php > /dev/null 2>&1
But next problem that poller.php return
sh: /usr/local/php/bin/php: not found
sh: /usr/local/php/bin/rrdtool: not found
Last time i correct this using bad hack - put copy of "php" and "rrdtool" into "/usr/local//php/bin/". Now i try to find
real problem, but without any suspect.
Anyone using cacti under openpkg? Are there better way to correct this problem?
Forgot to note that i got this problem under Solaris 10 (Sparc) and FreeBSD 6.2
on x86.
P.S. while installed cacti under openpkg last time (6 month ago) all this
problems exists, but i forgot to wright about it
______________________________________________________________________
OpenPKG http://openpkg.org
User Communication List openpkg-users@openpkg.org