On Mon, Jan 14, 2008, Victor G. Bolshakov wrote: > Ralf S. Engelschall wrote: >> On Mon, Jan 14, 2008, Victor G. Bolshakov wrote: >> >>> Ralf S. Engelschall wrote: >>>> On Sun, Jan 13, 2008, Victor G. Bolshakov wrote: >>>> >>>>> Ralf S. Engelschall wrote: >>>>>> On Sat, Jan 12, 2008, Victor G. Bolshakov wrote: >>>>>> >>>>>>> Victor G. Bolshakov wrote: >>>>>>>> Ralf S. Engelschall wrote: >>>>>>>> >> 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. >>>>>>>>>> >>>>>>>> No, problem not with default search path in installer - it save several >>>>>>>> seconds, but it can be changed by hands while installing. Problem that >>>>>>>> something in cacti scripts try to use very strange path as location for >>>>>>>> php and rrdtool >>>>>>>> >>>>>>>> sh: /usr/local/php/bin/php: not found >>>>>>>> sh: /usr/local/php/bin/rrdtool: not found >>>>>>> i solve this problem with "safe_mode = off" in ./etc/php/php.ini >>>>>> I tried to fix it by adding -d "safe_mode=off" to the php(1) call in >>>>>> cacti-cron now. Hopefully the stuff now works out-of-the-box and without >>>>>> any manual intervention... >>>>> I completely forgot about command line params for php... >>>>> >>>>> And there is only one small thing - for smooth graphics cacti-cron >>>>> need to be run every 5 minutes or even every minute. May be we can use >>>>> dcron as internal openpkg cron for cacti? >>>> Ok, now also implemented. dcron is now used. Please check the latest >>>> "cacti" from scratch and tell us if there is still something we has to >>>> fix or adjust... >>> not working. >>> need to move /openpkg/etc/dcron/crontabs/cacti to >>> /openpkg/var/dcron/crontabs/root >> >> Are you sure you are using the latest "dcron" package? >> I had to fix the "dcron" package first yesterday... > > bash-3.00# /openpkg/bin/openpkg rpm -qavi dcron > Name: dcron Source RPM: dcron-3.2-20080113.src.rpm > Version: 3.2 Signature: > md5:58d573475468dfaa55445040f6198bb6 > Release: 20080113 Build Host: y.belpak.by > Group: System Build System: sparc64-solaris10 > Class: PLUS Build Time: Sun Jan 13 20:14:12 2008 > Distrib: OpenPKG Community Install Time: Sun Jan 13 20:14:43 2008 > License: GPL Install Size: 42694 bytes > Packager: OpenPKG Foundation e.V. Relocations: /openpkg > Vendor: Matthew Dillon > Summary: Dillon's Cron Daemon > URL: http://apollo.backplane.com/FreeSrc/ > Description: > A multiuser cron written from scratch, dcron is follows concepts of > vixie-cron but has significant differences. Less attention is paid > to feature development in favor of usability and reliability. > Provides: > dcron = 3.2-20080113
Then something is broken in "dcron" and we have to fix it. It really should work if one saves a file into /openpkg/etc/dcron/crontabs/... Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ OpenPKG http://openpkg.org User Communication List openpkg-users@openpkg.org