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...
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to